summaryrefslogtreecommitdiff
path: root/lib/chef/resource/apt_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/apt_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/apt_package.rb')
-rw-r--r--lib/chef/resource/apt_package.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/chef/resource/apt_package.rb b/lib/chef/resource/apt_package.rb
index dace0add45..b94c480a29 100644
--- a/lib/chef/resource/apt_package.rb
+++ b/lib/chef/resource/apt_package.rb
@@ -28,21 +28,21 @@ class Chef
description "Use the apt_package resource to manage packages on Debian and Ubuntu platforms."
property :default_release, String,
- description: "The default release. For example: stable.",
- desired_state: false
+ description: "The default release. For example: stable.",
+ desired_state: false
property :overwrite_config_files, [TrueClass, FalseClass],
- introduced: "14.0",
- description: "Overwrite existing configuration files with those supplied by the package, if prompted by APT.",
- default: false
+ introduced: "14.0",
+ description: "Overwrite existing configuration files with those supplied by the package, if prompted by APT.",
+ default: false
property :response_file, String,
- description: "The direct path to the file used to pre-seed a package.",
- desired_state: false
+ description: "The direct path to the file used to pre-seed a package.",
+ desired_state: false
property :response_file_variables, Hash,
- description: "A Hash of response file variables in the form of {'VARIABLE' => 'VALUE'}.",
- default: lazy { Hash.new }, desired_state: false
+ description: "A Hash of response file variables in the form of {'VARIABLE' => 'VALUE'}.",
+ default: lazy { Hash.new }, desired_state: false
end
end