lint mysql::server

This commit is contained in:
Gabriel Filion 2013-01-16 03:30:44 +01:00
parent 9c455bb3a1
commit d456d0280f

View file

@ -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
}