summaryrefslogtreecommitdiff
path: root/lib/chef/resource/chocolatey_package.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-07-02 11:11:35 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-07-02 11:13:54 -0700
commit77f8739a4741e2370e40ec39345a92a6ea393a1a (patch)
treebcf3c9a12556ce1fd18a83cd5f68cd24d36a1180 /lib/chef/resource/chocolatey_package.rb
parent90a74a80196725c4198b6042e8485d68c70777ac (diff)
downloadchef-77f8739a4741e2370e40ec39345a92a6ea393a1a.tar.gz
fix Layout/AlignArgumentslcg/new-chefstyle
this is using: Layout/AlignArguments: Enabled: true EnforcedStyle: with_fixed_indentation the default style can use really excessive whitespace. on starting lines which are already long, it fully indents across to where the arguments start and then begins the line there. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/chocolatey_package.rb')
-rw-r--r--lib/chef/resource/chocolatey_package.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/chef/resource/chocolatey_package.rb b/lib/chef/resource/chocolatey_package.rb
index 04e5f3602c..76ef173ff5 100644
--- a/lib/chef/resource/chocolatey_package.rb
+++ b/lib/chef/resource/chocolatey_package.rb
@@ -31,20 +31,20 @@ class Chef
# windows can't take Array options yet
property :options, String,
- description: "One (or more) additional options that are passed to the command."
+ description: "One (or more) additional options that are passed to the command."
property :package_name, [String, Array],
- description: "The name of the package. Default value: the name of the resource block.",
- coerce: proc { |x| [x].flatten }
+ description: "The name of the package. Default value: the name of the resource block.",
+ coerce: proc { |x| [x].flatten }
property :version, [String, Array],
- description: "The version of a package to be installed or upgraded.",
- coerce: proc { |x| [x].flatten }
+ description: "The version of a package to be installed or upgraded.",
+ coerce: proc { |x| [x].flatten }
property :returns, [Integer, Array],
- description: "The exit code(s) returned a chocolatey package that indicate success.",
- default: [ 0 ], desired_state: false,
- introduced: "12.18"
+ description: "The exit code(s) returned a chocolatey package that indicate success.",
+ default: [ 0 ], desired_state: false,
+ introduced: "12.18"
end
end
end