Hi,
I have setup Vagrant to provision with puppet_server. I have an independent VM in VirtualBox that acts as the puppet server and my puppet code is on that machine.
When I vagrant up a client VM, it runs puppet fine and executes my puppet code and provisions as expected my client VM.
But if I vagrant destroy the client VM and then vagrant it up again, puppet does not run detect that it has to rerun the puppet code to reproviosion it. Even if I run puppet agent test manually, it just runs puppet with no error, but it does not detect it has to process the puppet code to provision the VM.
To make it happen, I have to restart the puppetserver service on the puppet server.
Why is that? Does any body know?
Thanx!