Skip to content

Commit

Permalink
(PE-14271) Do not try to sign certificate for meep core hosts
Browse files Browse the repository at this point in the history
Certificate is generated by meep.  Step is redundant and produces failed
puppet agent run and puppet cert sign in log.
  • Loading branch information
jpartlow committed May 26, 2016
1 parent 7ef0347 commit e485c42
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/beaker-pe/install/pe_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,15 @@ def do_install hosts, opts = {}
end
end

# On each agent, we ensure the certificate is signed then shut down the agent
sign_certificate_for(host) unless masterless
# On each agent, we ensure the certificate is signed
if !masterless
if [master, database, dashboard].include?(host) && use_meep?(host['pe_ver'])
# This step is not necessary for the core pe nodes when using meep
else
sign_certificate_for(host)
end
end
# then shut down the agent
stop_agent_on(host)
end

Expand Down

0 comments on commit e485c42

Please sign in to comment.