Closed reidmv closed 3 years ago
@WhatsARanjit care to review?
@WhatsARanjit does anyone else have merge access to this repo? If not, would you be open to designating a few people?
@reidmv Sorry for being absent. This is fine with me, but can you whip up some corresponding tests for purging in different scenarios? Thanks.
Sure, I'll take a stab at some basic tests. Will push an update when I have them.
@WhatsARanjit a base set of tests implemented and pushed to PR. Waiting for Travis to complete; had to change the Gemfile to get a modern puppetlabs_spec_helper, waiting to see if it broke any of the other tests.
@WhatsARanjit latest commit should fix the tests. I went through and updated the syntax of the small number of existing tests to use rspec mocks, rather than mocha, and unpinned some ancient gem versions. Tests should now pass.
@WhatsARanjit thanks!! Do you think we could get a new module release with this feature? 🙂
@WhatsARanjit ping
Btw, there's some neat Forge publish automation a colleague did a short bit ago that lets you auto-update the metadata.json
file with a new version number, commit it, update the release tag, and push to the Forge all through a Github Action. Details here. It makes releasing a new version as easy as creating a new release in the Github UI.
Good to go! Thanks @reidmv
https://forge.puppet.com/modules/WhatsARanjit/node_manager/0.7.4
W00t!!! Awesome, thanks @WhatsARanjit!! 😄
This allows for specifying classes or data keys that should be present or have defined values, without removing or modifying other data already present in the node group.