I've got something similar I built a while ago (and need to update again 
since I'm back in the Puppet world).

Magnum: https://github.com/tehmaspc/magnum

It will help you create a new module dir with a bunch of puppet tools setup 
for you - including rspec-puppet for spec testing and serverspec for 
integration spec testing w/ virtualbox/vagrant.

On Wednesday, August 5, 2015 at 1:51:45 AM UTC-6, garethr wrote:
>
> On 4 August 2015 at 20:37, Peter Berghold <salty....@gmail.com 
> <javascript:>> wrote: 
> > Is there a newer set of documents on doing Spec testing of Puppet 
> modules 
> > than this link? 
> > https://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing 
> > 
> > I am running into a brick wall getting this to work so I have to assume 
> I'm 
> > doing something wrong... 
> > 
>
> If you could post a test case I'd be happy to take a look. 
>
> My experience is starting from a working example is useful, shameless 
> self promotion I know but, the puppet module skeleton should run a set 
> of unit tests out of the box: 
> https://github.com/garethr/puppet-module-skeleton 
>
> Even if you don't use the skeleton you should be able to get the tests 
> running at least and then port to your own module. 
>
> Gareth 
>
>
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Puppet Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to puppet-users...@googlegroups.com <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/puppet-users/CAArvnv14GJ0v6Ef0rS4KAcrOf1C%3DUiu%3DpM%2BsnJcxjsptqeipCQ%40mail.gmail.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Gareth Rushgrove 
> @garethr 
>
> devopsweekly.com 
> morethanseven.net 
> garethrushgrove.com 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1c3e2d0e-a483-4c43-b985-2d90c5f0c91d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to