Is puppet.conf the best way to upgrade VMs?

asked 2015-07-02 15:47:52 -0500

Kam gravatar image

I'm working on a project that installs 11 Virtual Machines with different configurations and files and I'm doing that via puppet and fuel (osnailyfacter) interfaces. It basically starts off with a puppet.conf of


# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN 
ssl_client_verify_header = SSL_CLIENT_VERIFY

manifest = $confdir/$environment/manifests/site.pp

and having the corresponding site.pp and a puppet agent call of

puppet agent -tvd --pluginsync --waitforcert=120 --configtimeout=360 --no-report --server --environment deploy

Basically, my question is: If I need to make changes in the future (modify config files, load new packages, <you know="" -="" puppet="" stuff="">) is it OK / best practice to modify the puppet.conf to add on ...

manifest = $confdir/$environment/manifests/site.pp
manifest = $confdir/$environment/manifests/site.pp
manifest = $confdir/$environment/manifests/site.pp

and create new site.pp files just with the updates or is there a better way to supply changes. (and BTW, we can't re-run the original 'deploy' run again - it doesn't work twice (DRBD and OpenStack break)

Thanks, Kevin

edit retag flag offensive close merge delete