Puppet – What is RSpec

RSpec is a BDD unit testing framework that is designed for testing ruby code. When we run a RSpec test scripts against our puppet code we are working on, the following takes place: RSpec temporarily generates it’s own site.pp file, and then instructs the puppetmaster to use make use of […]

Read More

Puppet – Setting up RSpec

Install RVM and Bundler RSpec tests needs to be run in a tightly controlled environment. This will help ensure that the RSpec tests that you write/run in on your machine will also run on other people’s machine too. The environment has to be controlled in the in the following context: […]

Read More

Puppet – Unit Testing with RSpec Beaker:

Read More