Brian Troutwine
2011-Oct-27 00:46 UTC
[Puppet Users] Recommendation for module-level and full integration testing puppet configuration.
All, I''ve been using puppet in production for some time now, using a staging environment duplicate to my production setup for developing and testing puppet modules. Not, however, in an automated fashion: I write, I run ''puppet agent --test'' and I repeat until satisfied. Sometimes, owing to partial application of a faulty configuration, I''ll sneak bad puppet modules into production but not often. (If puppet could grow transaction support, even up to a point, that would be a very useful feature.) While this setup works I hate it. It''s tedious, not automated and error prone. I wonder, what are the puppet configuration testing experiences of other on this list? What have you gotten cobbled together, what works and what does not? I''m especially interested in experiences using Jenkins/Hudson, as we''re already using that for our internal projects. -- Brian L. Troutwine -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nikolay Sturm
2011-Nov-04 07:31 UTC
Re: [Puppet Users] Recommendation for module-level and full integration testing puppet configuration.
* Brian Troutwine [2011-10-27]:> While this setup works I hate it. It''s tedious, not automated and > error prone. I wonder, what are the puppet configuration testing > experiences of other on this list? What have you gotten cobbled > together, what works and what does not? I''m especially interested in > experiences using Jenkins/Hudson, as we''re already using that for our > internal projects.I have a description of the setup I used at my former job at http://blog.nistu.de/2010/01/18/continuous-integration-for-puppet/ Since then I wrote cucumber-puppet and integrated it into the mix. This doesn''t address the issue of spinning up VMs and actually applying catalogs, but still helped find bugs before manifests went into production. Please let me know if you have any questions regarding the setup. cheers, Nikolay -- "It''s all part of my Can''t-Do approach to life." Wally -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.