diff options
-rw-r--r-- | .rubocop.yml | 3 | ||||
-rw-r--r-- | lib/chef/resource/execute.rb | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 9730861155..c3eba7db55 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -29,3 +29,6 @@ Lint/IneffectiveAccessModifier: Enabled: false Lint/ShadowedException: Enabled: false +Layout/AlignHash: + Enabled: true + EnforcedLastArgumentHashStyle: ignore_implicit diff --git a/lib/chef/resource/execute.rb b/lib/chef/resource/execute.rb index 07daa1727f..f9165ee487 100644 --- a/lib/chef/resource/execute.rb +++ b/lib/chef/resource/execute.rb @@ -65,7 +65,8 @@ class Chef property :group, [ String, Integer ] property :live_stream, [ TrueClass, FalseClass ], default: false # internal defaults to `false` so that the command execution more exactly matches what the user gets on the command line without magic - property :internal, [ TrueClass, FalseClass ], desired_state: false, default: false + property :internal, [ TrueClass, FalseClass ], desired_state: false, default: false, + description: "When true this enables ENV magic to add path_sanity to the PATH and force the locale to English+UTF-8 for parsing output" property :returns, [ Integer, Array ], default: 0 property :timeout, [ Integer, Float ] property :user, [ String, Integer ] |