From 1eef6f70c0b3096be24954bfd23306cf82a0d316 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 18 Apr 2012 14:41:13 -0400 Subject: put single quotes around the password to guard against exclamation points in passwords --- manifests/service/mysql.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/service/mysql.pp b/manifests/service/mysql.pp index 53f1461..4a9c81a 100644 --- a/manifests/service/mysql.pp +++ b/manifests/service/mysql.pp @@ -54,6 +54,6 @@ define nagios::service::mysql( nagios::service { "mysql_health_${name}": ensure => $ensure, - check_command => "check_mysql_health!${real_check_host}!${check_port}!${check_username}!${check_password}!${check_health_mode}!${check_database}${real_check_name}${real_check_warning}${real_check_critical}", + check_command => "check_mysql_health!${real_check_host}!${check_port}!${check_username}!'${check_password}'!${check_health_mode}!${check_database}${real_check_name}${real_check_warning}${real_check_critical}", } } -- cgit v1.2.3