From a4cbf7920727b4328da9a44f8af5480d9a30039e Mon Sep 17 00:00:00 2001 From: Nigel Gibbs Date: Wed, 21 Jan 2015 22:32:30 +0000 Subject: [PATCH] Quoted params to versioncmp in mod/alias.pp to avoid type error --- manifests/mod/alias.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/mod/alias.pp b/manifests/mod/alias.pp index 0e019abbd..40480c3d4 100644 --- a/manifests/mod/alias.pp +++ b/manifests/mod/alias.pp @@ -1,7 +1,7 @@ class apache::mod::alias( $apache_version = $apache::apache_version ) { - $ver24 = versioncmp($apache_version, 2.4) >= 0 + $ver24 = versioncmp($apache_version, '2.4') >= 0 $icons_path = $::osfamily ? { 'debian' => '/usr/share/apache2/icons',