From 1738d15d07d0b3ffee7276401f88020d6e8f23a5 Mon Sep 17 00:00:00 2001 From: "Dan R. K. Ports" Date: Sun, 10 Jul 2016 02:08:24 -0700 Subject: [PATCH] Fix repo validation regexps for Ubuntu 15.04/15.10 (#238) --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)