diff options
author | adamedx <adamedx@gmail.com> | 2016-02-15 08:39:32 -0800 |
---|---|---|
committer | nimisha <nimisha.sharad@msystechnologies.com> | 2017-02-02 18:00:33 +0530 |
commit | b9dfe0489447bc7b86daf26abf93cfef0c17140e (patch) | |
tree | 41f407a6aea0749f7a0f31848c123304f663aeaf /lib/chef | |
parent | aa155445b92e87baf1895ce092da3ae4c93117e6 (diff) | |
download | chef-b9dfe0489447bc7b86daf26abf93cfef0c17140e.tar.gz |
Additional rubocop for execute resource default arguments
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/resource/execute.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/execute.rb b/lib/chef/resource/execute.rb index 08664e9a7a..d0e4d958f6 100644 --- a/lib/chef/resource/execute.rb +++ b/lib/chef/resource/execute.rb @@ -143,7 +143,7 @@ class Chef ) end - def domain(arg=nil) + def domain(arg = nil) set_or_return( :domain, arg, @@ -151,7 +151,7 @@ class Chef ) end - def password(arg=nil) + def password(arg = nil) set_or_return( :password, arg, @@ -159,7 +159,7 @@ class Chef ) end - def sensitive(args=nil) + def sensitive(args = nil) if ! password.nil? true else |