diff options
Diffstat (limited to 'chef-utils/lib/chef-utils/dsl/cloud.rb')
-rw-r--r-- | chef-utils/lib/chef-utils/dsl/cloud.rb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chef-utils/lib/chef-utils/dsl/cloud.rb b/chef-utils/lib/chef-utils/dsl/cloud.rb index 9d4de55656..a232563709 100644 --- a/chef-utils/lib/chef-utils/dsl/cloud.rb +++ b/chef-utils/lib/chef-utils/dsl/cloud.rb @@ -23,7 +23,7 @@ module ChefUtils module Cloud include Internal - # Determine if the current node is "in the cloud". + # Determine if the current node is running in a known cloud. # # @param [Chef::Node] node the node to check # @since 15.8 @@ -35,7 +35,7 @@ module ChefUtils !node["cloud"].nil? end - # Return true if the current current node is in EC2. + # Determine if the current node is running in AWS EC2. # # @param [Chef::Node] node the node to check # @since 15.8 @@ -46,7 +46,7 @@ module ChefUtils node.key?("ec2") end - # Return true if the current current node is in GCE. + # Determine if the current node running in Google Compute Engine (GCE). # # @param [Chef::Node] node the node to check # @since 15.8 @@ -57,7 +57,7 @@ module ChefUtils node.key?("gce") end - # Return true if the current current node is in Rackspace. + # Determine if the current node is running in Rackspace. # # @param [Chef::Node] node the node to check # @since 15.8 @@ -68,7 +68,7 @@ module ChefUtils node.key?("rackspace") end - # Return true if the current current node is in Eucalyptus. + # Determine if the current node is running in Eucalyptus. # # @param [Chef::Node] node the node to check # @since 15.8 @@ -81,7 +81,7 @@ module ChefUtils # chef-sugar backcompat method alias_method :euca?, :eucalyptus? - # Return true if the current current node is in Linode. + # Determine if the current node is running in Linode. # # @param [Chef::Node] node the node to check # @since 15.8 @@ -92,7 +92,7 @@ module ChefUtils node.key?("linode") end - # Return true if the current current node is in OpenStack. + # Determine if the current node is running in OpenStack. # # @param [Chef::Node] node the node to check # @since 15.8 @@ -103,7 +103,7 @@ module ChefUtils node.key?("openstack") end - # Return true if the current current node is in Azure. + # Determine if the current node is running in Microsoft Azure. # # @param [Chef::Node] node the node to check # @since 15.8 @@ -114,7 +114,7 @@ module ChefUtils node.key?("azure") end - # Return true if the current current node is in DigitalOcean. + # Determine if the current node is running in DigitalOcean. # # @param [Chef::Node] node the node to check # @since 15.8 @@ -127,7 +127,7 @@ module ChefUtils # chef-sugar backcompat method alias_method :digitalocean?, :digital_ocean? - # Return true if the current current node is in SoftLayer. + # Determine if the current node is running in SoftLayer (IBM Cloud). # # @param [Chef::Node] node the node to check # @since 15.8 |