Ask Your Question

Help on rspec

asked 2015-06-04 09:26:10 -0500

Chutki gravatar image


I am working on ttd rspec-puppet. can some one refer me a good book or any url.

Actuall I am referring some url, but wanna understand from the ground and advaced level. Wanna know the syntax, it would help better.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-06-05 03:38:18 -0500

If you want to know everything about rspec testing, I would recommend two urls:

  1. : Rspec itself
  2. : Rspec specific for Puppet modules

After that, look at Puppetlabs supported and approved modules on the forge. They have a rspec testing, learning by example is always a good idea.

edit flag offensive delete link more

answered 2015-06-05 04:32:24 -0500

updated 2015-06-05 04:32:59 -0500

There's a brief section on this in Pro Puppet 2.0. I think most people end up figuring this stuff out just by looking at examples in the code of others. I'd look at the examples in some of the Puppet Labs supported modules at the Puppet Forge. I think there's a bit of a documentation problem in general when in comes to rspec-puppet. Maybe when you become an expert, you can write a book on this for everyone else. :)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-06-04 09:26:10 -0500

Seen: 124 times

Last updated: Jun 05 '15