Skip to content

Commit

Permalink
Merge pull request #1 from Renelast/fix/windows_masterless
Browse files Browse the repository at this point in the history
Fixes windows masterless installation
  • Loading branch information
kevpl committed May 18, 2016
2 parents aa56665 + f1a96fb commit ef4be9a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/beaker-pe/install/pe_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,12 @@ def do_install hosts, opts = {}

# 1 since no certificate found and waitforcert disabled
acceptable_exit_codes = 1
setup_defaults_and_config_helper_on(host, master, acceptable_exit_codes)
if masterless
configure_type_defaults_on(host)
on host, puppet_agent('-t'), :acceptable_exit_codes => acceptable_exit_codes
else
setup_defaults_and_config_helper_on(host, master, acceptable_exit_codes)
end
else
# We only need answers if we're using the classic installer
version = host['pe_ver'] || opts[:pe_ver]
Expand Down

0 comments on commit ef4be9a

Please sign in to comment.