diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-10-21 10:49:56 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-10-23 18:06:05 -0700 |
commit | 9c531a840ae86dbdd90565ed1c3bd3b93be47146 (patch) | |
tree | caabff5cc8cf04602f3ddff7df05066c9ab1c94d /lib | |
parent | ac1e1dca7133b359315610f98c0375e6351b9e3a (diff) | |
download | chef-9c531a840ae86dbdd90565ed1c3bd3b93be47146.tar.gz |
Aliased compare_value to requires_modify_or_create?
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/env.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/provider/env.rb b/lib/chef/provider/env.rb index dac34e7d9c..fc28a94f78 100644 --- a/lib/chef/provider/env.rb +++ b/lib/chef/provider/env.rb @@ -69,6 +69,8 @@ class Chef end end + alias_method :compare_value, :requires_modify_or_create? + def action_create if @key_exists if requires_modify_or_create? |