HI All, Im trying vagrant and puppet, i would like to be able to launch an VM on virtualbox then call puppet for installing packages and configuration. I would be using this for all developers and loaded on their local machine's Virtualbox.
so on vagrant i launch a machine and set hostname to dev.mybox.com then configure it to connect to my puppetmaster e.g. puppet agent --server puppetmaster.mybox.com --test --verbose on my puppet master, i added *.mybox.com on autosign.conf. initial vagrant up works since o cert yet on master for dev.mybox.com. but after i destroy vm and launch again i see the error: err: Could not request certificate: The certificate retrieved from the master does not match the agent's private key. Certificate fingerprint: 2B:E9:77:64:B7:B4:98:DD:75:8D:0F:B5:53:ED:3B:46 To fix this, remove the certificate from both the master and the agent and then start a puppet run, which will automatically regenerate a certficate. On the master: puppet cert clean dev.mybox.com On the agent: rm -f /var/lib/puppet/ssl/certs/dev.mybox.com.pem puppet agent -t is there a way to bypass this or set a fix cert so that i can destroy and launch instance using vagrant without this issue? any help would be appreciated. thank you. Regards, Nhadie -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/73dc2a83-ed2a-464d-b7e8-d20f3c0f59a7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
