I am experimenting with Puppet scripts for deployment.
I believe that the most difficult part of writing these scripts is iterative testing.
I donโt want puppet apply
on my local development machine that can screw things up. I have a remote box with a clean list where I want to apply. I also do not see how a puppeteer can help me; I may be using the puppeteer at a later location for production deployments, but for now I just want my code to work.
So, I put together a quick shell script that will rsync different directories from my local puppet module path to / tmp on the remote machine, and then run puppet apply
. This is terribly uncomfortable. This is slow, especially if we are talking about a syntax error.
I think I really want something like a puppeteer-puppet mix, where the puppet machine on the remote machine receives an already compiled manifest. Just adhoc-one over an SSH connection, without actually setting up Puppetmaster, dealing with certificates, etc. puppet apply user@host
.
There seems to be nothing like this, but how do other people deal with this? It seems to me that the experience with the puppet script is incredibly frustrating to me, as it is.
source share