summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_pagefile.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/windows_pagefile.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/windows_pagefile.rb')
-rw-r--r--lib/chef/resource/windows_pagefile.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/chef/resource/windows_pagefile.rb b/lib/chef/resource/windows_pagefile.rb
index 964aeaaf95..8249436144 100644
--- a/lib/chef/resource/windows_pagefile.rb
+++ b/lib/chef/resource/windows_pagefile.rb
@@ -27,22 +27,22 @@ class Chef
introduced "14.0"
property :path, String,
- coerce: proc { |x| x.tr("/", '\\') },
- description: "An optional property to set the pagefile name if it differs from the resource block's name.",
- name_property: true
+ coerce: proc { |x| x.tr("/", '\\') },
+ description: "An optional property to set the pagefile name if it differs from the resource block's name.",
+ name_property: true
property :system_managed, [TrueClass, FalseClass],
- description: "Configures whether the system manages the pagefile size."
+ description: "Configures whether the system manages the pagefile size."
property :automatic_managed, [TrueClass, FalseClass],
- description: "Enable automatic management of pagefile initial and maximum size. Setting this to true ignores 'initial_size' and 'maximum_size' properties.",
- default: false
+ description: "Enable automatic management of pagefile initial and maximum size. Setting this to true ignores 'initial_size' and 'maximum_size' properties.",
+ default: false
property :initial_size, Integer,
- description: "Initial size of the pagefile in megabytes."
+ description: "Initial size of the pagefile in megabytes."
property :maximum_size, Integer,
- description: "Maximum size of the pagefile in megabytes."
+ description: "Maximum size of the pagefile in megabytes."
action :set do
description "Configures the default pagefile, creating if it doesn't exist."