Revert "Update 3rdparty rabbitmq module"
[mirror/dsa-puppet.git] / 3rdparty / modules / rabbitmq / templates / rabbitmq-env.conf.erb
index dabeef0..0c6b5d1 100644 (file)
@@ -1,5 +1,5 @@
-<% @environment_variables.sort.each do |key, value| -%>
-  <%- unless value.nil? -%>
-<%= key %>=<%= value %>
-  <%- end -%>
-<% end -%>
+<%- @environment_variables.keys.sort.each do |key| -%>
+<%- if @environment_variables[key] != 'UNSET' -%>
+<%= key %>=<%= @environment_variables[key] %>
+<%- end -%>
+<%- end -%>