natemccurdy / puppet-purge_node

A Puppet Task to purge nodes
Apache License 2.0
5 stars 5 forks source link

Add ability to supply a JSON array as input #8

Closed ragnarkon closed 4 years ago

ragnarkon commented 4 years ago

Adds the ability to allow a user to supply a JSON array as input.

Was also able to implement using environment as the input method, but had to use a rescue block to make it happen. Stdin seems cleaner, so went with that.