diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-01-20 11:14:20 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-01-20 11:33:58 -0800 |
commit | 947ca116dd23cea2023cb9def5fd068e4220a2e5 (patch) | |
tree | c782989e5f8ca3caf9581c0b38f9765524959c0f /lib/chef/provider | |
parent | 46bda1acef603842ab50d2a54e6f70177367a512 (diff) | |
download | chef-947ca116dd23cea2023cb9def5fd068e4220a2e5.tar.gz |
Modified dsc_script resource provider to use the imports hash
Diffstat (limited to 'lib/chef/provider')
-rw-r--r-- | lib/chef/provider/dsc_script.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/dsc_script.rb b/lib/chef/provider/dsc_script.rb index 5db50e74b3..a5bca0d6b8 100644 --- a/lib/chef/provider/dsc_script.rb +++ b/lib/chef/provider/dsc_script.rb @@ -123,7 +123,7 @@ class Chef else # If code is also not provided, we mimic what the other script resources do (execute nothing) Chef::Log.warn("Neither code or command were provided for dsc_resource[#{@dsc_resource.name}].") unless @dsc_resource.code - generator.configuration_document_from_script_code(@dsc_resource.code || '', configuration_flags, shellout_flags) + generator.configuration_document_from_script_code(@dsc_resource.code || '', configuration_flags, @dsc_resource.imports, shellout_flags) end end |