The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
puppetd --tags should support logical not
|Affected Puppet version:||0.25.4||Branch:|
|Keywords:||tags inversion filter workflow|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.
Impact Data: This request was brought up by a customer in the Boston training session in May. This feature will potentially allow the customer to replace func and use puppet in it’s place.
Problem Statement: Puppetd —tags supports filtering by inclusion but does not support filtering by exclusion. The customer would like to apply everything except certain tags.
Expected Behavior: The —tags option should support logical not through something like —tags !mytag
Actual Behavior: Specifying puppet —tags !mytag results in an “invalid tag” error.
#5 Updated by Nigel Kersten over 2 years ago
It’s not actively planned for any version, which is why it doesn’t have one assigned, but we believe there’s general utility here, and so would take code to solve this specific problem.
As Luke said earlier though, we do think there is a more general method of selecting subsets of a catalog that is the better bet in the long term.