Re: [Puppet Users] testing puppet manifests

2013-01-28 Thread Gareth Rushgrove
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

[Puppet Users] testing puppet manifests

2013-01-28 Thread Scott Anderson
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 hav

Re: [Puppet Users] Testing Puppet Manifests?

2010-12-29 Thread Nikolay Sturm
* Dustin J. Mitchell [2010-12-28]: > I'm having a hard time figuring out how best to develop and test > changes to Puppet manifests. Depending on the meaning of "test changes to Puppet manifests", cucumber-puppet might be of interest. It allows you to specify test cases and verifies catalog behavi

Re: [Puppet Users] Testing Puppet Manifests?

2010-12-29 Thread Felix Frank
On 12/28/2010 09:04 PM, Patrick wrote: > > On Dec 28, 2010, at 9:45 AM, Dustin J. Mitchell wrote: > >> Second, I'm working on refactoring our puppet configuration, and in so >> doing it would be best to ensure I haven't unexpectedly changed any >> resources. Is there any machine-parsable way of

Re: [Puppet Users] Testing Puppet Manifests?

2010-12-28 Thread Patrick
On Dec 28, 2010, at 9:45 AM, Dustin J. Mitchell wrote: > Second, I'm working on refactoring our puppet configuration, and in so > doing it would be best to ensure I haven't unexpectedly changed any > resources. Is there any machine-parsable way of seeing the set of > resources that result from a

Re: [Puppet Users] Testing Puppet Manifests?

2010-12-28 Thread Nigel Kersten
On Tue, Dec 28, 2010 at 9:45 AM, Dustin J. Mitchell wrote: > First, apologies if this is a FAQ: a few weeks of searching and reading > hasn't uncovered anything particularly helpful.  I'll be happy to > summarize the results in a blog post or some more official place. > > I'm having a hard time fi

[Puppet Users] Testing Puppet Manifests?

2010-12-28 Thread Dustin J. Mitchell
First, apologies if this is a FAQ: a few weeks of searching and reading hasn't uncovered anything particularly helpful. I'll be happy to summarize the results in a blog post or some more official place. I'm having a hard time figuring out how best to develop and test changes to Puppet manifests.

[Puppet Users] Testing puppet manifests

2009-01-07 Thread Matt
HI all, First thing - I've been keeping the puppet manifest, configs, functions etc. in svn, but due to a few dodgy checkouts to the puppetmaster (non production) i'd like to get a better process in place. Are people using anything to test the puppet deployments? preferably in a continuous envir