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
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
* 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
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
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
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
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.
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