diff options
author | nimisha <nimisha.sharad@msystechnologies.com> | 2017-12-19 18:55:55 +0530 |
---|---|---|
committer | nimisha <nimisha.sharad@msystechnologies.com> | 2018-01-24 15:00:39 +0530 |
commit | 85e0c15d15425978de490bdce7fa7692690e6dc4 (patch) | |
tree | 46f0791f15673bd157bd9cba3d628f40e2e183b7 /lib/chef/util | |
parent | cc9766bd0a98b733eef3e9d40f3eac85a25f7e93 (diff) | |
download | chef-85e0c15d15425978de490bdce7fa7692690e6dc4.tar.gz |
Fixed/added specs for LogonSession changes
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Diffstat (limited to 'lib/chef/util')
-rw-r--r-- | lib/chef/util/windows/logon_session.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/windows/logon_session.rb b/lib/chef/util/windows/logon_session.rb index 5a126f0c4a..20c49cfd27 100644 --- a/lib/chef/util/windows/logon_session.rb +++ b/lib/chef/util/windows/logon_session.rb @@ -25,7 +25,7 @@ class Chef class LogonSession include Chef::Mixin::WideString - def initialize(username, password, domain = nil, logon_type) + def initialize(username, password, domain = nil, logon_type = :remote) if username.nil? || password.nil? raise ArgumentError, "The logon session must be initialize with non-nil user name and password parameters" end |