templates/munin/config/rubber/role/munin/munin-plugins.conf in rubber-2.0.0.pre1 vs templates/munin/config/rubber/role/munin/munin-plugins.conf in rubber-2.0.0.pre2
- old
+ new
@@ -3,9 +3,9 @@
%>
# munin-node clears out enviroment variables, so we need to add these in
# to make sure we are running the correct ruby (rvm env vars, plus paths)
[*]
-<%- ENV.select {|k, v| k =~ /rvm|ruby|bundler|gem|path/i }.each do |k, v| -%>
+<%- ENV.select {|k, v| k =~ /rvm|ruby|bundler|gem|path/i; v != "" }.each do |k, v| -%>
env.<%= k %> <%= v %>
<%- end -%>
env.RUBYOPT rubygems