Skip to content

Commit

Permalink
Merge pull request #4 from ev0ldave/ev0ldave
Browse files Browse the repository at this point in the history
add chef_environment to tags
  • Loading branch information
pcross616 committed Nov 12, 2013
2 parents b92a3f1 + 9a087d9 commit 809ddbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef-rundeck.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def build_project (pattern="*:*", username=ChefRundeck.username, hostname="fqdn"
osFamily="#{xml_escape(os_family)}"
osName="#{xml_escape(node[:platform])}"
osVersion="#{xml_escape(node[:platform_version])}"
tags="#{xml_escape(node.run_list.roles.concat(node.run_list.recipes).join(','))}"
tags="#{xml_escape(node.run_list.roles.concat(node.run_list.recipes).join(',') + ',' + node.chef_environment)}"
username="#{xml_escape(username)}"
hostname="#{xml_escape(node[hostname])}"
editUrl="#{xml_escape(ChefRundeck.web_ui_url)}/nodes/#{xml_escape(node.name)}/edit"/>
Expand Down

0 comments on commit 809ddbf

Please sign in to comment.