summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-03-04 17:32:52 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2015-03-20 14:38:03 -0700
commit56020f7d7229802e6c21011330f92197bfcca399 (patch)
tree2affba95ada69b10b735854930a09767eb912cb4 /lib/chef/resource
parentb7676b756a5b19ec3641b6a05ddfbb17b5d02f8c (diff)
downloadchef-56020f7d7229802e6c21011330f92197bfcca399.tar.gz
Make things work
Diffstat (limited to 'lib/chef/resource')
-rw-r--r--lib/chef/resource/dsc_resource.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/dsc_resource.rb b/lib/chef/resource/dsc_resource.rb
index c0cf1d0315..67d7ae3b82 100644
--- a/lib/chef/resource/dsc_resource.rb
+++ b/lib/chef/resource/dsc_resource.rb
@@ -19,15 +19,15 @@ class Chef
class Resource
class DscResource < Chef::Resource
- provides :dsc_resource, platform: "windows"
+ provides :dsc_resource, os: "windows"
def initialize(name, run_context)
super
@properties = {}
@resource_name = :dsc_resource
@resource = nil
- @allowed_actions.push(:set)
- @action = :set
+ @allowed_actions.push(:run)
+ @action = :run
end
def resource(value=nil)