Skip to content

Commit

Permalink
same for recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolijd committed Mar 5, 2015
1 parent 4e21ac9 commit c95098b
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 @@ -223,7 +223,7 @@ def convert_results(results, hostname, custom_attributes)
n['name'] = node.name
n['chef_environment'] = node.chef_environment
n['run_list'] = node.run_list
n['recipes'] = !node.run_list.nil? ? node.run_list.recipes : nil
n['recipes'] = !node.run_list.nil? ? node.recipes : nil
n['roles'] = !node.run_list.nil? ? node.roles : nil
n['fqdn'] = node['fqdn']
n['hostname'] = node[hostname.to_sym]
Expand Down

0 comments on commit c95098b

Please sign in to comment.