diff options
Diffstat (limited to 'lib/chef/resource/windows_auto_run.rb')
-rw-r--r-- | lib/chef/resource/windows_auto_run.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/chef/resource/windows_auto_run.rb b/lib/chef/resource/windows_auto_run.rb index c349529e6c..c0d0910e5f 100644 --- a/lib/chef/resource/windows_auto_run.rb +++ b/lib/chef/resource/windows_auto_run.rb @@ -28,20 +28,20 @@ class Chef introduced "14.0" property :program_name, String, - description: "The name of the program to run at login if it differs from the resource block's name.", - name_property: true + description: "The name of the program to run at login if it differs from the resource block's name.", + name_property: true property :path, String, - coerce: proc { |x| x.tr("/", "\\") }, # make sure we have windows paths for the registry - description: "The path to the program that will run at login. " + coerce: proc { |x| x.tr("/", "\\") }, # make sure we have windows paths for the registry + description: "The path to the program that will run at login. " property :args, String, - description: "Any arguments to be used with the program." + description: "Any arguments to be used with the program." property :root, Symbol, - description: "The registry root key to put the entry under.", - equal_to: %i{machine user}, - default: :machine + description: "The registry root key to put the entry under.", + equal_to: %i{machine user}, + default: :machine alias_method :program, :path |