summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Filion <lelutin@gmail.com>2013-02-18 16:16:35 -0500
committerGabriel Filion <lelutin@gmail.com>2013-02-18 16:16:35 -0500
commitfc1210bea8931648e7600c5d55d252fed4b17cc2 (patch)
treed2055841098191425c2b260ff13c548e4ffef707
parentd456d0280fa2e38439ac2c7bdd15a2b36eb645e8 (diff)
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 <lelutin@gmail.com>
-rw-r--r--manifests/server.pp4
1 files 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')
}