The bootstrap method was previously terminating nodes, even if everything was successful.
This fix removes the destroy server at exit signal from the bootstrap method. Server termination should not be effected in case of failure, because the same signal is still specified in the create and init methods. Reviewed-by: Jeff McCune Signed-off-by: Dan Bode <[email protected]> --- lib/puppet/cloudpack.rb | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/lib/puppet/cloudpack.rb b/lib/puppet/cloudpack.rb index b2d27b8..38c1796 100644 --- a/lib/puppet/cloudpack.rb +++ b/lib/puppet/cloudpack.rb @@ -302,10 +302,8 @@ module Puppet::CloudPack def bootstrap(options) - options[:_destroy_server_at_exit] = :bootstrap server = self.create(options) self.init(server, options) - options.delete(:_destroy_server_at_exit) return nil end -- 1.7.5.4 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
