Skip to content

Commit

Permalink
expand node roles if not partial search
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolijd committed Mar 5, 2015
1 parent 722885c commit 4e21ac9
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 @@ -224,7 +224,7 @@ def convert_results(results, hostname, custom_attributes)
n['chef_environment'] = node.chef_environment
n['run_list'] = node.run_list
n['recipes'] = !node.run_list.nil? ? node.run_list.recipes : nil
n['roles'] = !node.run_list.nil? ? node.run_list.roles : nil
n['roles'] = !node.run_list.nil? ? node.roles : nil
n['fqdn'] = node['fqdn']
n['hostname'] = node[hostname.to_sym]
n['kernel_machine'] = !node['kernel'].nil? ? node['kernel']['machine'] : nil
Expand Down

0 comments on commit 4e21ac9

Please sign in to comment.