The best starting point is probably rspec-puppet. The tutorial is a good starting point and you'll find a growing number of modules available with small test suites. These are good for testing logic based on passed parameters, or template rendering.
http://rspec-puppet.com/tutorial/ Gareth On 28 January 2013 14:43, Scott Anderson <s...@torand.org> wrote: > The information I can find is somewhat spotty.. but is there a good way to > test puppet manifests. > > It seems that using 'puppet apply --noop' only really tests the syntax. I am > looking for more functional tests for things like templates before they go > into a prod environment. Right now the way I have been testing is to put > some test code on the puppetmaster and watch the logs very closely. this is > not ideal, any suggestions? > > -- > 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+unsubscr...@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Gareth Rushgrove @garethr devopsweekly.com morethanseven.net garethrushgrove.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.