Sha256: e33bc995e6974804dd155a90418e915219f7c970fbb6e74345ca822f8f31d9de
Contents?: true
Size: 872 Bytes
Versions: 1
Compression:
Stored size: 872 Bytes
Contents
class Chef module Provisioning class ConvergenceStrategy # convergence_options - a freeform hash of options to the converger. # config - a Chef::Config-like object with global config like :log_level def initialize(convergence_options, config) @convergence_options = convergence_options || {} @config = config end attr_reader :convergence_options attr_reader :config # Get the machine ready to converge, but do not converge. def setup_convergence(action_handler, machine) raise "setup_convergence not overridden on #{self.class}" end def converge(action_handler, machine) raise "converge not overridden on #{self.class}" end def cleanup_convergence(action_handler, machine_spec) raise "cleanup_convergence not overridden on #{self.class}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chef-provisioning-2.0.1 | lib/chef/provisioning/convergence_strategy.rb |