Hide Forgot
Steps to Reproduce: 1) Create Vm Machine in vmware with Red hat 6 or 7. 2) Then register and subscribe the vm to Satellite 3) Download the packages, puppet 4) populate the /etc/puppet.conf Other Details and certificate_revocation = false 5) Run puppet agent -t -o 6) Sign the certificate with (because we have no autosign) puppet cert sign --all 7) Then run puppet-agent -t -o ( we have to run puppet agent again to get environment) Getting error: Exiting; no certificate found and waitforcert is disabled We found workaround, but this requires extra steps, ######################################## 1) Create Vm Machine in vmware with Red hat 6 or 7. 2) Then register and subscribe the vm to Satellite 3) Download the packages, puppet 4) populate the /etc/puppet.conf Other Details and certificate_revocation = false 5) Run puppet agent -t -o 6) Sign the certificate with (because we have no autosign) puppet cert sign --all 7) From Satellite Master, run : puppet cert clean hostname, 8) from puppet agent(host) rm -rf /var/lib/puppet/ssl/* 9) Then run puppet-agent -t -o ( we have to run puppet agent again to get environment) 10) Go to Satellite and assign the puppet environment 11) it now works How can we get this working without the extra steps?
this can be closed, issue was resolved by: The issue was resolved by signing the certificate before puppet agent was run. This was resolved by running adding a timer to puppet with -w option. We also added certificate_revocation = false however not confirmed if this fix helped the issue. In addition to that, the order of enabling and puppet was changed.