diff --git a/manifests/init.pp b/manifests/init.pp index f10d6151..cede8b91 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -39,10 +39,10 @@ validate_re($repo_url_suffix, '^0\.1[02]$', $suffix_error_msg) } elsif $::operatingsystemrelease =~ /^15\.04$/ { - validate_re($repo_url_suffix, '^(0\.1[02]|[45]\.x)x$', $suffix_error_msg) + validate_re($repo_url_suffix, '^(0\.1[02]|[45]\.x)$', $suffix_error_msg) } elsif $::operatingsystemrelease =~ /^15\.10$/ { - validate_re($repo_url_suffix, '^(0\.1[02]|[456]\.x)x$', $suffix_error_msg) + validate_re($repo_url_suffix, '^(0\.1[02]|[456]\.x)$', $suffix_error_msg) } elsif $::operatingsystemrelease =~ /^1[246]\.04$/ { #LTS validate_re($repo_url_suffix, '^(0\.1[02]|[456]\.x)$', $suffix_error_msg)