Skip to content

Instantly share code, notes, and snippets.

@dLobatog
Created July 28, 2016 18:46
Show Gist options
  • Save dLobatog/a573481138ced85cefd96ff0508e98c9 to your computer and use it in GitHub Desktop.
Save dLobatog/a573481138ced85cefd96ff0508e98c9 to your computer and use it in GitHub Desktop.
puppet cert clean `hostname -f`
# this might be /var/lib/puppetlabs because of Puppet 4, not sure
rm -f /var/lib/puppet/ssl/certs/`hostname -f`.pem
rm /etc/httpd/conf.d/foreman.conf
service foreman-proxy stop
puppet agent -t
# now try again to run foreman-installer with whatever options
foreman-installer #whateveroptions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment