summaryrefslogtreecommitdiff
path: root/lib/chef/provider/env.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/env.rb')
-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 815a19bc0c..cf75ff7d85 100644
--- a/lib/chef/provider/env.rb
+++ b/lib/chef/provider/env.rb
@@ -26,6 +26,8 @@ class Chef
include Chef::Mixin::Command
attr_accessor :key_exists
+ provides :env, os: "!windows"
+
def initialize(new_resource, run_context)
super
@key_exists = true