Skip to content

Commit

Permalink
(maint) Switch to ubuntu agent for network stability
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Rhodes committed May 3, 2019
1 parent b0f9360 commit c52cfd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gem/lib/pupperware/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def run_agent(agent_name, network, server = get_container_hostname(get_service_c
# setting up a Windows TTY is difficult, so we don't
# allocating a TTY will show container pull output on Linux, but that's not good for tests
STDOUT.puts("running agent #{agent_name} in network #{network} against #{server}")
result = run_command("docker run --rm --network #{network} --name #{agent_name} --hostname #{agent_name} puppet/puppet-agent-alpine agent --verbose --onetime --no-daemonize --summarize --server #{server} --ca_server #{ca}")
result = run_command("docker run --rm --network #{network} --name #{agent_name} --hostname #{agent_name} puppet/puppet-agent-ubuntu agent --verbose --onetime --no-daemonize --summarize --server #{server} --ca_server #{ca}")
return result[:status].exitstatus
end

Expand Down

0 comments on commit c52cfd8

Please sign in to comment.