summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/provider/env.rb2
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?