diff options
-rw-r--r-- | lib/chef/node.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb index f6c7d68f74..cb486f8d09 100644 --- a/lib/chef/node.rb +++ b/lib/chef/node.rb @@ -550,7 +550,7 @@ class Chef if o.has_key?("run_list") node.run_list.reset!(o["run_list"]) - else + elsif o.has_key?("recipes") o["recipes"].each { |r| node.recipes << r } end |