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.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/resource/dsc_script.rb b/lib/chef/resource/dsc_script.rb
index 7682c7e778..cea52e422b 100644
--- a/lib/chef/resource/dsc_script.rb
+++ b/lib/chef/resource/dsc_script.rb
@@ -21,6 +21,11 @@ require "chef/dsl/powershell"
class Chef
class Resource
+ # Many DSC resources are comparable to built-in Chef resources. For example, both DSC and Chef have file, package,
+ # and service resources. The dsc_script resource is most useful for those DSC resources that do not have a direct
+ # comparison to a resource in Chef, such as the Archive resource, a custom DSC resource, an existing DSC script
+ # that performs an important task, and so on. Use the dsc_script resource to embed the code that defines a DSC
+ # configuration directly within a Chef recipe.
class DscScript < Chef::Resource
include Chef::DSL::Powershell