summaryrefslogtreecommitdiff
path: root/chef-server-webui
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2011-01-20 12:15:14 -0800
committerDaniel DeLeo <dan@opscode.com>2011-01-20 12:15:14 -0800
commitbd611b42820d17188d5c1b12e56fb8984af13ac5 (patch)
tree921a9a8d85e65101dc620c578a80391f4a2aef39 /chef-server-webui
parente30dc059ba4484afa481170101ff10923e49d4e1 (diff)
downloadchef-bd611b42820d17188d5c1b12e56fb8984af13ac5.tar.gz
fix run list expansion in view code to use correct environment
of course, it seems fair to ask if we should be expanding run lists in views...
Diffstat (limited to 'chef-server-webui')
-rw-r--r--chef-server-webui/app/views/nodes/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-server-webui/app/views/nodes/show.html.haml b/chef-server-webui/app/views/nodes/show.html.haml
index f68405ad2e..6fdd928956 100644
--- a/chef-server-webui/app/views/nodes/show.html.haml
+++ b/chef-server-webui/app/views/nodes/show.html.haml
@@ -28,7 +28,7 @@
%td= run_list_item.type
.left.accordion
%h3.head= link_to("Recipes", "#")
- - recipes = @node.run_list.expand('server').recipes
+ - recipes = @node.run_list.expand('server', :environment => @node.chef_environment).recipes
%div
%span.description.form.help
This is the list of recipes, fully expanded, as they will be applied to the node in question.