cookbooks/tvdinner/templates/default/solo.rb.erb in tvd-tvdinner-0.0.9 vs cookbooks/tvdinner/templates/default/solo.rb.erb in tvd-tvdinner-0.0.11

- old
+ new

@@ -1,18 +1,37 @@ \ No newline at end of file +shome = File.expand_path("../../..", __FILE__) + +bundler_cookbooks = ( ["#{shome}/lib"] + $: ).collect do |x| + File.join(File.expand_path("..", x), "cookbooks") +end.select {|x| File.directory? x } + +cookbook_path bundler_cookbooks +sandbox_path platform_specific_path("#{shome}/var/chef/sandboxes") +checksum_path platform_specific_path("#{shome}/var/chef/checksums") +file_cache_path platform_specific_path("#{shome}/var/chef/cache") +file_backup_path platform_specific_path("#{shome}/var/chef/backup") +node_path platform_specific_path("#{shome}/var/chef/node") +role_path platform_specific_path("#{shome}/var/chef/roles") +data_bag_path platform_specific_path("#{shome}/var/chef/data_bags") +client_key platform_specific_path("/etc/chef/client.pem") +validation_key platform_specific_path("/etc/chef/validation.pem") +signing_ca_cert platform_specific_path("#{shome}/var/chef/ca/cert.pem") +signing_ca_key platform_specific_path("#{shome}/var/chef/ca/key.pem") +cache_options({ :path => platform_specific_path("#{shome}/var/chef/cache/checksums") })