Replace debbackup with parameterized username in most places
[mirror/dsa-puppet.git] / modules / postgres / templates / backup_server / sudoers.erb
index de633ca..3b31cbf 100644 (file)
@@ -1,3 +1,3 @@
 # edit with visudo!
 
-nagios         ALL=(debbackup)         NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg ""
+nagios         ALL=(<%= @backup_unix_user %>)          NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg ""