Class: Chef::Recipe
- Inherits:
-
Object
- Object
- Chef::Recipe
- Defined in:
- lib/chef_metal_fog.rb
Instance Method Summary collapse
- #with_fog_ec2_provisioner(options = {}, &block) ⇒ Object
- #with_fog_openstack_provisioner(options = {}, &block) ⇒ Object
- #with_fog_provisioner(options = {}, &block) ⇒ Object
Instance Method Details
#with_fog_ec2_provisioner(options = {}, &block) ⇒ Object
12 13 14 |
# File 'lib/chef_metal_fog.rb', line 12 def with_fog_ec2_provisioner( = {}, &block) with_fog_provisioner({ :provider => 'AWS' }.merge(), &block) end |
#with_fog_openstack_provisioner(options = {}, &block) ⇒ Object
16 17 18 |
# File 'lib/chef_metal_fog.rb', line 16 def with_fog_openstack_provisioner( = {}, &block) with_fog_provisioner({ :provider => 'OpenStack' }.merge(), &block) end |
#with_fog_provisioner(options = {}, &block) ⇒ Object
8 9 10 |
# File 'lib/chef_metal_fog.rb', line 8 def with_fog_provisioner( = {}, &block) ChefMetal.with_provisioner(ChefMetalFog::FogProvisioner.new(), &block) end |