diff options
author | Lamont Granquist <lamont@chef.io> | 2020-02-05 09:48:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-05 09:48:53 -0800 |
commit | 4cb46c9a0a66ff1916c73f6403db6f90eb558095 (patch) | |
tree | 70f301c137a06727eff77d91ceee1104b5f75ba7 /chef-utils/lib/chef-utils/dsl/cloud.rb | |
parent | 9add9b2d2d84ffe04364917872b22072952c6cf7 (diff) | |
parent | d1361a3b50331d10beeac0de906f9d4bb47dea45 (diff) | |
download | chef-4cb46c9a0a66ff1916c73f6403db6f90eb558095.tar.gz |
Merge pull request #9327 from chef/chef_utils_yard
Swap the methods and the aliases in the chef-utils platforms
Diffstat (limited to 'chef-utils/lib/chef-utils/dsl/cloud.rb')
-rw-r--r-- | chef-utils/lib/chef-utils/dsl/cloud.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chef-utils/lib/chef-utils/dsl/cloud.rb b/chef-utils/lib/chef-utils/dsl/cloud.rb index 32911609cc..734c7412aa 100644 --- a/chef-utils/lib/chef-utils/dsl/cloud.rb +++ b/chef-utils/lib/chef-utils/dsl/cloud.rb @@ -76,6 +76,7 @@ module ChefUtils def eucalyptus?(node = __getnode) node.key?("eucalyptus") end + # chef-sugar backcompat method alias_method :euca?, :eucalyptus? # Return true if the current current node is in Linode. @@ -121,6 +122,7 @@ module ChefUtils def digital_ocean?(node = __getnode) node.key?("digital_ocean") end + # chef-sugar backcompat method alias_method :digitalocean?, :digital_ocean? # Return true if the current current node is in SoftLayer. |