patternMinor
What Puppet modules do include best practices regarding CI and rspec-puppet like Geerlingguy's Ansible roles?
Viewed 0 times
moduleswhatrolesincluderegardinggeerlingguylikepuppetpracticesand
Problem
It is possible to test Puppet code using rspec-puppet, but modules that are supported by the community like NTP do not seem to run test regularly like is done for all Geerlingguy's Ansible roles, e.g. Apache.
The aim is to find a Puppet module on Github that shows the best practices regarding testing using rspec-puppet on build using a CI like Travis. When such a module is found one could read and understand the .travis.yml and apply it to custom modules.
The aim is to find a Puppet module on Github that shows the best practices regarding testing using rspec-puppet on build using a CI like Travis. When such a module is found one could read and understand the .travis.yml and apply it to custom modules.
Solution
Go to https://forge.puppet.com and look for modules with a high "Quality Score"
For example https://forge.puppet.com/puppetlabs/stdlib/scores.
Then you can take a look at the Project URL and view it's .travis.yml and the tests in spec/
For example https://forge.puppet.com/puppetlabs/stdlib/scores.
Then you can take a look at the Project URL and view it's .travis.yml and the tests in spec/
Context
StackExchange DevOps Q#1182, answer score: 2
Revisions (0)
No revisions yet.