Sha256: 16ed42f5be9c9008853042f6f72f3550e5153318d36462c7fade09ab4c5b1534

Contents?: true

Size: 178 Bytes

Versions: 17

Compression:

Stored size: 178 Bytes

Contents

hook_name = "after_restart"
::File.open(@release_path + "/app/#{hook_name}", "a+") do |fd|
	fd.puts( {:hook_name => hook_name, :env => @configuration[:environment]}.to_json )
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
cuken-0.1.22 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.21 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.20 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.19 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.18 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.17 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.16 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.15 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.13 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.12 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.11 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.10 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.9 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.8 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.7 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.4 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb
cuken-0.1.2 features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb