Class: VagrantPlugins::Ohai::ActionConfigureChef

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/vagrant-ohai/action_configure_chef.rb

Instance Method Summary collapse

Methods included from Helpers

#chef_provisioners

Constructor Details

#initialize(app, env) ⇒ ActionConfigureChef

Returns a new instance of ActionConfigureChef.



8
9
10
11
12
13
# File 'lib/vagrant-ohai/action_configure_chef.rb', line 8

def initialize(app, env)
  @app = app
  @env = env
  @machine = env[:machine]
  register_custom_chef_config
end

Instance Method Details

#call(env) ⇒ Object



15
16
17
# File 'lib/vagrant-ohai/action_configure_chef.rb', line 15

def call(env)
  @app.call(env)
end