Commit d7345c06 authored by varac's avatar varac

NOPASSWD: for nagios check

parent 59b07951
......@@ -28,7 +28,7 @@ class backupninja::nagios_plugin::duplicity {
ensure => present,
users => 'nagios',
hosts => 'ALL',
commands => "sudo ${::nagios::nrpe::nagios_plugin_dir}/check_backupninja_duplicity.py";
commands => "NOPASSWD: ${::nagios::nrpe::nagios_plugin_dir}/check_backupninja_duplicity.py";
}
nagios::service { "Backupninja Duplicity $::fqdn":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment