rundeck-plugins / rundeck-puppetenterprise-nodes-plugin

Get resource node data from Puppet Enterprise
3 stars 9 forks source link

Add Conditional Attributes #12

Closed jasonschwab closed 7 years ago

jasonschwab commented 7 years ago

Sometimes it's necessary to add information to a node definition that doesn't relate to the information in Puppet.

This modification allows such conditional attributes to be added to the node definitions based on if a regex is matched with the value in a specified path.

This could be used to specify a specific executor if the Puppet node is a specific OS (for example).