diff options
Diffstat (limited to 'lib/chef/resource/dsc_script.rb')
-rw-r--r-- | lib/chef/resource/dsc_script.rb | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/chef/resource/dsc_script.rb b/lib/chef/resource/dsc_script.rb index cea52e422b..45372c091a 100644 --- a/lib/chef/resource/dsc_script.rb +++ b/lib/chef/resource/dsc_script.rb @@ -21,17 +21,21 @@ 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 resource_name :dsc_script provides :dsc_script, os: "windows" + description "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." + default_action :run def initialize(name, run_context = nil) |