aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-01-24 18:11:42 +0100
committervarac <varacanero@zeromail.org>2013-01-24 18:11:42 +0100
commitd7345c06a7bb9f1b76ec57496ad99f68c6b0c5f4 (patch)
treec6570a9b7b9d3ea166773d99a287cdcee83417cc
parent59b07951b7ad39d9422bdd94fd5c7ea4362b0878 (diff)
downloadpuppet-backupninja-d7345c06a7bb9f1b76ec57496ad99f68c6b0c5f4.tar.gz
puppet-backupninja-d7345c06a7bb9f1b76ec57496ad99f68c6b0c5f4.tar.bz2
NOPASSWD: for nagios check
-rw-r--r--manifests/nagios_plugin/duplicity.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/nagios_plugin/duplicity.pp b/manifests/nagios_plugin/duplicity.pp
index d24aab2..7dbd263 100644
--- a/manifests/nagios_plugin/duplicity.pp
+++ b/manifests/nagios_plugin/duplicity.pp
@@ -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":