Sha256: bd72d8533cd22ebdd90e60e2bac08c38e371094579b4519360e503766e2b4d49
Contents?: true
Size: 434 Bytes
Versions: 1
Compression:
Stored size: 434 Bytes
Contents
# Set up a chef 0.10 dna.json file (for stack-v1 + stack-v2) # TODO does this run on non-app-master/solo? custom_json = node.dup custom_json['run_list'] = 'recipe[main]' File.open("/etc/chef-custom/dna.json", 'w') do |f| f.puts JSON.pretty_generate(custom_json) f.chmod(0600) end # Runs application cookbooks run "cd #{latest_release}; sudo bundle exec chef-solo -c #{latest_release}/deploy/solo.rb -j /etc/chef-custom/dna.json"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
engineyard-recipes-0.5.0 | lib/engineyard-recipes/generators/init_bundled_chef_generator/templates/deploy/before_migrate.rb |