Sha256: b8f15eb1b44ff327a7704f628e13d7c0f5fc250d8a4b3a9aa7fc4a162cd65934

Contents?: true

Size: 179 Bytes

Versions: 17

Compression:

Stored size: 179 Bytes

Contents

hook_name = "before_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_before_restart_hook.rb.erb
cuken-0.1.21 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.20 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.19 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.18 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.17 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.16 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.15 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.13 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.12 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.11 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.10 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.9 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.8 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.7 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.4 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb
cuken-0.1.2 features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb