From 9a6bdaaa41d109e7a83a05a8a0f9f232e4c02838 Mon Sep 17 00:00:00 2001 From: davejrt <2067825+davejrt@users.noreply.github.com> Date: Tue, 24 Jul 2018 10:19:49 +1000 Subject: [PATCH] Regex fix (#292) * fixes issue #255 * whitespace --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 90d8425e..5f69edfc 100755 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -569,8 +569,8 @@ } } - if ( $version == undef ) or ( $version !~ /^(17[.]0[0-5][.]\d(~|-|\.)ce|1.\d+)/ ) { - if ( $docker_ee) { +if ( $version == undef ) or ( $version !~ /^(17[.]0[0-5][.][0-1](~|-|\.)ce|1.\d+)/ ) { + if ( $docker_ee) { $package_location = $docker::docker_ee_source_location $package_key_source = $docker::docker_ee_key_source $package_key_check_source = true