Skip to content

Instantly share code, notes, and snippets.

@amitsaha
Created April 13, 2018 02:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitsaha/afd3bd04521f25abce48259e42933616 to your computer and use it in GitHub Desktop.
Save amitsaha/afd3bd04521f25abce48259e42933616 to your computer and use it in GitHub Desktop.
https://tickets.puppetlabs.com/browse/PDK-460
Update gemfile based on http://razorconsulting.com.au/setting-up-puppet-module-testing-from-scratch-part-ii-beaker-for-module-testing.html
http://www.xkyle.com/getting-started-puppet-acceptance-tests-with-beaker/
pdk bundle install
pdk bundle update
pdk bundle --exec rake beaker
pdk bundle -- exec rake beaker:sets
BEAKER_set=ubuntu-server-1604-x64 pdk bundle -- exec rake beaker
BEAKER_set=ubuntu-server-1604-x64 pdk bundle -- exec rake beaker -- preserve-hosts=onfail
BEAKER_destroy=no BEAKER_set=ubuntu-server-1604-x64 pdk bundle -- exec rake beaker
http://www.rubydoc.info/gems/beaker-rspec/6.0.0
https://voxpupuli.org/blog/2014/04/22/modern-testing-of-modules/
http://www.rubydoc.info/gems/rspec-retry/0.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment