diff options
author | Micah Anderson <micah@riseup.net> | 2012-04-18 14:41:13 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-04-18 14:41:13 -0400 |
commit | 1eef6f70c0b3096be24954bfd23306cf82a0d316 (patch) | |
tree | 4c8bf39b638d72d1e9aba9488940a51517787494 /manifests | |
parent | 1159fd799dcf85bedbe0bb9ce44971263250ee46 (diff) |
put single quotes around the password to guard against exclamation points in passwords
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/service/mysql.pp | 2 |
1 files changed, 1 insertions, 1 deletions
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}", } } |