I assume you have Rakefile, spec/spec_helper.rb and .fixtures.yml in place as
well?
On 27 Nov 2015, at 21:23, Peter Berghold wrote:
> So,
>
> Now that my schedule has some slack in it I've turned my attention back to
> doing spec testing of my Puppet modules.
Hi Peter
On 27 November 2015 at 20:23, Peter Berghold wrote:
> So,
>
> Now that my schedule has some slack in it I've turned my attention back to
> doing spec testing of my Puppet modules. Taking a really really simple
> module that I wrote as an example I started in
+1 for Gareth's skeleton, it's a great way to get started with testing. It
comes with rspec-puppet and Beaker set up.
I ended up updating some modules recently to use the latest version of it
and I was very happy with it.
Rich
On Sat, Nov 28, 2015 at 10:29 AM Gareth Rushgrove
So,
Now that my schedule has some slack in it I've turned my attention back to
doing spec testing of my Puppet modules. Taking a really really simple
module that I wrote as an example I started in again.
Here is the one and only file making up the class.
-- init.pp