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 <[email protected]> wrote: > Hi, > > On 19 Feb 2014, at 07:44, Johan De Wit <[email protected]> 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 spec files to test module functionality or modifications to existing > modules such as the HPUX user management. > >> > >> > > There is not that much documentation available. > > > > I did a talk on cfgmgmtcamp.eu about TDD and puppet. Yoiu can find a > little blog at the BPUG website : puppet-be.github.io. (there are some > references in the slides) > > > > I look mostly at the puppet code for examples for writing rspec files. > Some interesting links I also have to look at : > > > > > http://www.morethanseven.net/2014/01/25/code-coverage-for-puppet-modules/ > > > http://hajee.github.io/2014/01/18/testing-your-system-installation-with-rspec > > > > > https://github.com/ghoneycutt/puppet-module-nfs/blob/v1.6.2/spec/classes/init_spec.rb#L58-186 > > > Maybe you want to attend Extending Puppet using Ruby classes ( > https://puppetlabs.com/services/training/extending-puppet) > > Besides this I also did a small module with spec examples ( > https://github.com/tuxmea/tuxmea-stdmodule) > > hth, > > Martin > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Puppet Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/puppet-users/187mS-NiiyE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/259F6EBC-480E-460B-9070-47682B78A344%40gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAO0AM%3Dr3Jo1X%3DqG1n5z5z0iMqJgaUHT-UedeD6jX8%3DBAT8sepQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
