lib/chef/knife/kitchen.rb in knife-solo-0.0.3 vs lib/chef/knife/kitchen.rb in knife-solo-0.0.4
- old
+ new
@@ -14,14 +14,15 @@
mkdir name + "/roles"
mkdir name + "/data_bags"
mkdir name + "/site-cookbooks"
mkdir name + "/cookbooks"
File.open(name + "/solo.rb", 'w') do |f|
- f << <<-RUBY.gsub(/^\s+/, '')
+ f << <<-RUBY.gsub(/^ {12}/, '')
file_cache_path "/tmp/chef-solo"
data_bag_path "/tmp/chef-solo/data_bags"
cookbook_path [ "/tmp/chef-solo/site-cookbooks",
"/tmp/chef-solo/cookbooks" ]
+ role_path "/tmp/chef-solo/roles"
RUBY
end
end
end
end