puppetlabs-puppetdb
puppetlabs-puppetdb copied to clipboard
Update the module using the PDK
resubmit of #344 from the awesome @smortex
@bastelfreak please see https://github.com/puppetlabs/puppetlabs-puppetdb/compare/pdk...smortex:pdk?expand=1
I am able to run tests locally with some annoyance but I think these are related to Vagrant (since I an working on my FreeBSD laptop):
romain@zappy ~/Projects/puppetlabs/puppetlabs-puppetdb % bundle exec rake litmus:provision'[vagrant,bento/debian-11]'
romain@zappy ~/Projects/puppetlabs/puppetlabs-puppetdb % # Manual step: go into the VirtualBox machine and adjust the RAM (i.e. increase it to 4GB) and add `/opt/puppetlabs/bin` to sudo's `secure_path`
romain@zappy ~/Projects/puppetlabs/puppetlabs-puppetdb % bundle exec rake litmus:install_agent
romain@zappy ~/Projects/puppetlabs/puppetlabs-puppetdb % bundle exec rake litmus:install_module
romain@zappy ~/Projects/puppetlabs/puppetlabs-puppetdb % bundle exec rake litmus:acceptance:parallel # works on my computer \o/
romain@zappy ~/Projects/puppetlabs/puppetlabs-puppetdb % # alternative to the previous command to see what is going on:
romain@zappy ~/Projects/puppetlabs/puppetlabs-puppetdb % # bundle exec rake litmus:acceptance:127.0.0.1:2222
romain@zappy ~/Projects/puppetlabs/puppetlabs-puppetdb % bundle exec rake litmus:tear_down
2 tests are marked as pending. I can't believe they ever worked :raised_eyebrow:
closing in favour of #344