Use template variable from the correct scope
[mirror/dsa-puppet.git] / modules / postgres / templates / backup_server / sudoers.erb
index 3b31cbf..8dd41e6 100644 (file)
@@ -1,3 +1,3 @@
 # edit with visudo!
 
-nagios         ALL=(<%= @backup_unix_user %>)          NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg ""
+nagios         ALL=(<%= scope['postgres::backup_server::globals::backup_unix_user'] %>)                NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg ""