Skip to content

Commit

Permalink
Adds type defaults and runs puppet agent on masterless windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Rene Last committed Mar 17, 2016
1 parent 9ff5426 commit e7d06a3
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 @@ -409,7 +409,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) unless masterless
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 e7d06a3

Please sign in to comment.