diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-04 17:32:52 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-20 14:38:03 -0700 |
commit | 56020f7d7229802e6c21011330f92197bfcca399 (patch) | |
tree | 2affba95ada69b10b735854930a09767eb912cb4 /lib/chef/resource | |
parent | b7676b756a5b19ec3641b6a05ddfbb17b5d02f8c (diff) | |
download | chef-56020f7d7229802e6c21011330f92197bfcca399.tar.gz |
Make things work
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/dsc_resource.rb | 6 |
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)
|