diff options
author | Gabriel Filion <lelutin@gmail.com> | 2013-01-16 03:30:44 +0100 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2013-01-16 03:30:44 +0100 |
commit | d456d0280fa2e38439ac2c7bdd15a2b36eb645e8 (patch) | |
tree | e1420561290d35aa3f6dd74f3972b58d551779eb | |
parent | 9c455bb3a1f2159da8d5f8d5e23d7c16e053ff18 (diff) |
lint mysql::server
-rw-r--r-- | manifests/server.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index 83ef7e2..4b5d28e 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -19,9 +19,9 @@ 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") + fail('need to set the munin password') } case $::operatingsystem { debian: { include mysql::server::munin::debian } @@ -29,9 +29,9 @@ 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") + fail('need to set the nagios password hash') } include mysql::server::nagios } |