lib/knife-solo/resources/solo.rb.erb in knife-solo-0.3.0 vs lib/knife-solo/resources/solo.rb.erb in knife-solo-0.4.0
- old
+ new
@@ -2,9 +2,11 @@
nodes_path File.join(base, 'nodes')
role_path File.join(base, 'roles')
data_bag_path File.join(base, 'data_bags')
encrypted_data_bag_secret File.join(base, 'data_bag_key')
+environment_path File.join(base, 'environments')
+environment <%= node_environment.inspect %>
cookbook_path []
<% cookbook_paths.each_with_index do |path, i| -%>
cookbook_path << File.join(base, 'cookbooks-<%= i+1 %>') # <%= path %>
<% end -%>