Class: VagrantPlugins::ChefZero::Plugin
- Inherits:
-
Object
- Object
- VagrantPlugins::ChefZero::Plugin
- Defined in:
- lib/vagrant-chef-zero/plugin.rb
Class Method Summary collapse
Class Method Details
.destroy(hook) ⇒ Object
23 24 25 |
# File 'lib/vagrant-chef-zero/plugin.rb', line 23 def destroy(hook) hook.after(::Vagrant::Action::Builtin::ConfigValidate, VagrantPlugins::ChefZero::Action.chef_zero_destroy) end |
.provision(hook) ⇒ Object
19 20 21 |
# File 'lib/vagrant-chef-zero/plugin.rb', line 19 def provision(hook) hook.before(::Vagrant::Action::Builtin::Provision, VagrantPlugins::ChefZero::Action.chef_zero_provision) end |
.reconfig(hook) ⇒ Object
14 15 16 17 |
# File 'lib/vagrant-chef-zero/plugin.rb', line 14 def reconfig(hook) hook.before(::Vagrant::Action::Builtin::ConfigValidate, VagrantPlugins::ChefZero::Action.chef_zero_ui_setup) hook.before(::Vagrant::Action::Builtin::ConfigValidate, VagrantPlugins::ChefZero::Action.chef_zero_reconfig) end |