Class: Chef::Resource::OneImage
- Inherits:
-
LWRPBase
- Object
- LWRPBase
- Chef::Resource::OneImage
- Defined in:
- lib/chef/resource/one_image.rb
Overview
Implementation of Resource class.
Instance Method Summary collapse
-
#initialize(*args) ⇒ OneImage
constructor
A new instance of OneImage.
Constructor Details
#initialize(*args) ⇒ OneImage
Returns a new instance of OneImage.
58 59 60 61 62 63 |
# File 'lib/chef/resource/one_image.rb', line 58 def initialize(*args) super @chef_environment = run_context.cheffish.current_environment @chef_server = run_context.cheffish.current_chef_server @driver = run_context.chef_provisioning.current_driver end |