Skip to content

Commit 9779ce0

Browse files
committed
cuke the timestamped_deploy shortcut
...reveals that I forgot to call super in TimestampedDeploy#initialize
1 parent a71c43d commit 9779ce0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

chef/lib/chef/resource/timestamped_deploy.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class Resource
2323
# deployment strategy (provider)
2424
class TimestampedDeploy < Chef::Resource::Deploy
2525
def initialize(*args, &block)
26+
super(*args, &block)
2627
@provider = Chef::Provider::Deploy::Timestamped
2728
end
2829
end

features/data/cookbooks/deploy/recipes/embedded_recipe_callbacks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
mode "0664"
3535
end
3636

37-
deploy "#{node[:tmpdir]}/deploy" do
37+
timestamped_deploy "#{node[:tmpdir]}/deploy" do
3838
repo "#{node[:tmpdir]}/gitrepo/typo/"
3939
environment "RAILS_ENV" => "production"
4040
revision "HEAD"

0 commit comments

Comments
 (0)