From d456d0280fa2e38439ac2c7bdd15a2b36eb645e8 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Wed, 16 Jan 2013 03:30:44 +0100 Subject: lint mysql::server --- manifests/server.pp | 8 ++++---- 1 file 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 } -- cgit v1.2.3