generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger-sudoers.conf in rubber-1.7.2 vs generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger-sudoers.conf in rubber-1.8.0
- old
+ new
@@ -1,7 +1,8 @@
<%
@path = '/etc/sudoers'
@additive = ["# munin passenger start", "# munin passenger end"]
%>
+Defaults env_keep = GEM_PATH
nobody ALL=(ALL) NOPASSWD: <%= rubber_env.rvm_gem_home %>/bin/passenger-status
nobody ALL=(ALL) NOPASSWD: <%= rubber_env.rvm_gem_home %>/bin/passenger-memory-stats