Sha256: c5cfd23baa0d5adf65a3f495bdc30ffa09f7165c98be86431c01002cae032a71
Contents?: true
Size: 1.06 KB
Versions: 4
Compression:
Stored size: 1.06 KB
Contents
module VagrantPlugins module CommandServe class Client class Provisioner < Client prepend Util::ClientSetup prepend Util::HasLogger include Util::HasSeeds::Client def cleanup_func spec = client.cleanup_spec(Empty.new) cb = proc do |args| client.cleanup(args) end [spec, cb] end def cleanup(machine, config) run_func(machine, config) end def configure_func spec = client.configure_spec(Empty.new) cb = proc do |args| client.configure(args) end [spec, cb] end def configure(machine, config, root_config) run_func(machine, config, root_config, {}) end def provision_func spec = client.provision_spec(Empty.new) cb = proc do |args| client.provision(args) end [spec, cb] end def provision(machine, config) run_func(machine, config) end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems