Class: Chef::Provisioning::AWSDriver::AWSProvider
- Inherits:
-
Chef::Provider::LWRPBase
- Object
- Chef::Provider::LWRPBase
- Chef::Provisioning::AWSDriver::AWSProvider
- Defined in:
- lib/chef/provisioning/aws_driver/aws_provider.rb
Direct Known Subclasses
Chef::Provider::AwsAutoScalingGroup, Chef::Provider::AwsCacheCluster, Chef::Provider::AwsCacheReplicationGroup, Chef::Provider::AwsCacheSubnetGroup, Chef::Provider::AwsDhcpOptions, Chef::Provider::AwsEbsVolume, Chef::Provider::AwsEipAddress, Chef::Provider::AwsImage, Chef::Provider::AwsInstance, Chef::Provider::AwsKeyPair, Chef::Provider::AwsLaunchConfiguration, Chef::Provider::AwsLoadBalancer, Chef::Provider::AwsNetworkAcl, Chef::Provider::AwsNetworkInterface, Chef::Provider::AwsRouteTable, Chef::Provider::AwsS3Bucket, Chef::Provider::AwsSecurityGroup, Chef::Provider::AwsSnsTopic, Chef::Provider::AwsSqsQueue, Chef::Provider::AwsSubnet, Chef::Provider::AwsVpc
Defined Under Namespace
Classes: StatusTimeoutError
Constant Summary collapse
- AWSResource =
Chef::Provisioning::AWSDriver::AWSResource
Instance Attribute Summary collapse
-
#purging ⇒ Object
readonly
Returns the value of attribute purging.
Instance Method Summary collapse
- #action_handler ⇒ Object
-
#converge_by(*args, &block) ⇒ Object
Return the damned value from the block, not whatever weirdness converge_by normally returns.
- #region ⇒ Object
-
#whyrun_supported? ⇒ Boolean
All these need to implement whyrun.
Instance Attribute Details
#purging ⇒ Object (readonly)
Returns the value of attribute purging.
146 147 148 |
# File 'lib/chef/provisioning/aws_driver/aws_provider.rb', line 146 def purging @purging end |
Instance Method Details
#action_handler ⇒ Object
20 21 22 |
# File 'lib/chef/provisioning/aws_driver/aws_provider.rb', line 20 def action_handler @action_handler ||= Chef::Provisioning::ChefProviderActionHandler.new(self) end |
#converge_by(*args, &block) ⇒ Object
Return the damned value from the block, not whatever weirdness converge_by normally returns.
37 38 39 40 41 42 43 |
# File 'lib/chef/provisioning/aws_driver/aws_provider.rb', line 37 def converge_by(*args, &block) result = nil super(*args) do result = block.call end result end |
#region ⇒ Object
29 30 31 |
# File 'lib/chef/provisioning/aws_driver/aws_provider.rb', line 29 def region new_resource.driver.aws_config.region end |
#whyrun_supported? ⇒ Boolean
All these need to implement whyrun
25 26 27 |
# File 'lib/chef/provisioning/aws_driver/aws_provider.rb', line 25 def whyrun_supported? true end |