summaryrefslogtreecommitdiff
path: root/lib/chef/resource/dsc_script.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/dsc_script.rb')
-rw-r--r--lib/chef/resource/dsc_script.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/dsc_script.rb b/lib/chef/resource/dsc_script.rb
index 4eabb92438..0ff7988d7d 100644
--- a/lib/chef/resource/dsc_script.rb
+++ b/lib/chef/resource/dsc_script.rb
@@ -25,10 +25,10 @@ class Chef
use_automatic_resource_name
provides :dsc_script, platform: "windows"
+ default_action :run
+
def initialize(name, run_context=nil)
super
- @allowed_actions.push(:run)
- @action = :run
@imports = {}
end