From fc1210bea8931648e7600c5d55d252fed4b17cc2 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Mon, 18 Feb 2013 16:16:35 -0500 Subject: Too much linting for facts ng brought a problem with my latest linting commit: facts are _always_ strings, so unquoting the value that we're testing against is actually wrong, even though puppet-lint complains. Signed-off-by: Gabriel Filion --- manifests/server.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/server.pp b/manifests/server.pp index 4b5d28e..a03dd7b 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -19,7 +19,7 @@ class mysql::server ( default: { include mysql::server::base } } - if $manage_munin and $::mysql_exists == true { + if $manage_munin and $::mysql_exists == 'true' { if $munin_password == 'absent' { fail('need to set the munin password') } @@ -29,7 +29,7 @@ class mysql::server ( } } - if $manage_nagios and $::mysql_exists == true { + if $manage_nagios and $::mysql_exists == 'true' { if $nagios_password_hash == 'absent' { fail('need to set the nagios password hash') } -- cgit v1.2.3