Sha256: 3c535c7acdea605517b44463a6b0c54332f6b0654cca2a5a3a0b458c48c246bf
Contents?: true
Size: 844 Bytes
Versions: 47
Compression:
Stored size: 844 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
47 entries across 47 versions & 1 rubygems