patrickdlee / vagrant-examples

A collection of sample Vagrant configurations using Puppet. Starting out simple and getting more complex.
895 stars 319 forks source link

How to re-use the "dynamic site" mysql.pp file in production #1

Open joshribakoff opened 11 years ago

joshribakoff commented 11 years ago

https://github.com/patrickdlee/vagrant-examples/blob/master/example5/puppet/modules/mysql/manifests/init.pp

How would you recommend the puppet files be re-used in production, but omit that last step since I obviously don't want to overwrite the production database.

In development, vagrant reload should destroy & reinflate the database In production, no databases should be altered when I use puppet appy

How is this done?