summaryrefslogtreecommitdiff
path: root/lib/chef/resource/env.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/env.rb')
-rw-r--r--lib/chef/resource/env.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/env.rb b/lib/chef/resource/env.rb
index f96db899e8..d74b4feee0 100644
--- a/lib/chef/resource/env.rb
+++ b/lib/chef/resource/env.rb
@@ -25,7 +25,7 @@ class Chef
state_attrs :value
- resource_name :env
+ use_automatic_resource_name
provides :env, os: "windows"
def initialize(name, run_context=nil)