Re: [Puppet Users] Good resources for writing rspec tests for puppet code changes?

2014-02-20 Thread Martin Alfke
On 19 Feb 2014, at 18:36, HPUX_PUPPET wrote: > > On Wednesday, February 19, 2014 9:28:55 AM UTC-5, Johan De Wit wrote: > Don't have any experience/access to hpux, but you can always show us > the code and the rspec files. > So we can have at least a look at it :) > > And multiple eyes see

Re: [Puppet Users] Good resources for writing rspec tests for puppet code changes?

2014-02-19 Thread Jim Perry
Thanks for the links, I will take a look at them. I would love to get some training on it, but the company won't spring for it. So it looks like I am hacking it out with everyone's help and Google. On Wed, Feb 19, 2014 at 4:44 AM, Martin Alfke wrote: > Hi, > > On 19 Feb 2014, at 07:44, Johan D

Re: [Puppet Users] Good resources for writing rspec tests for puppet code changes?

2014-02-19 Thread Martin Alfke
Hi, On 19 Feb 2014, at 07:44, Johan De Wit wrote: > On 02/19/2014 02:03 AM, HPUX_PUPPET wrote: >> >> Just a bit more explanation... >> >> When I was looking for references I was only finding puppet-lint and >> rspec-puppet for testing manifests, but not finding anything for writing the >> sp

[Puppet Users] Good resources for writing rspec tests for puppet code changes?

2014-02-18 Thread HPUX_PUPPET
I am trying to get puppet to support HPUX better than it does now so it can manage user accounts properly. I have already contributed changes to the HPUX module to change passwords, but writing the rspec at the time was more hack and guess than any real methodology. I did read the Learning Rsp