Closed h4xr closed 6 years ago
@evgeni Addressed the changes in the commit. Please review :)
code LGTM :+1:
I'll give it a few test runs later today and merge afterwards, unless @sideangleside is faster ;)
So I gave it a fair spin, and it seems to work fine. However I spotted a few differences in the puppet.conf
compared to the version Foreman deploys by default:
our:
vardir = /var/lib/puppet
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
foreman:
vardir = /opt/puppetlabs/puppet/cache
logdir = /var/log/puppetlabs/puppet
rundir = /var/run/puppetlabs
ssldir = /etc/puppetlabs/puppet/ssl
I think we should align this for the Puppet4/5 case.
and with that change, we should also extend https://github.com/h4xr/katello-client-bootstrap/blob/2a9f0662d26b90042141a79cda9d216eb3118079/bootstrap.py#L384 to wipe /opt/puppetlabs/puppet/cache
and /etc/puppetlabs/puppet/ssl
LGTM 👍
Thanks for the PR @h4xr
Fixes #229
Signed-off-by: Saurabh Badhwar sbadhwar@redhat.com