puppetlabs-puppetdb icon indicating copy to clipboard operation
puppetlabs-puppetdb copied to clipboard

Update the module using the PDK

Open bastelfreak opened this issue 3 years ago • 1 comments

resubmit of #344 from the awesome @smortex

bastelfreak avatar Feb 09 '22 20:02 bastelfreak

@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:

smortex avatar Feb 13 '22 03:02 smortex

closing in favour of #344

bastelfreak avatar Oct 10 '23 19:10 bastelfreak