The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Feature #3746

puppetd --tags should support logical not

Added by Anonymous almost 6 years ago. Updated over 3 years ago.

Status:DuplicateStart date:05/07/2010
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Affected Puppet version:0.25.4 Branch:
Keywords:tags inversion filter workflow

We've Moved!

Ticket tracking is now hosted in JIRA:


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.

Related issues

Related to Puppet - Feature #3771: There should be a general way to select subsets of the ca... Accepted 05/14/2010
Duplicates Puppet - Feature #1107: Allow exclusion in tags specified on the command line Accepted


#1 Updated by James Turnbull almost 6 years ago

  • Status changed from Unreviewed to Needs Decision
  • Assignee set to Luke Kanies

+1 from me.

#2 Updated by Luke Kanies almost 6 years ago

  • Status changed from Needs Decision to Accepted
  • Assignee deleted (Luke Kanies)

Good idea, but I still think there’s a general “select subset of catalog” option we should be thinking.

#3 Updated by Nan Liu over 5 years ago

+1 Customer requested this functionality during the last onsite audit.

#4 Updated by Kristian Kostecky about 4 years ago

What is the update on what version is to get this feature? This is extremely useful.

#5 Updated by Nigel Kersten about 4 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.

#6 Updated by Luke Kanies about 4 years ago

Yeah, I’d love to see a ‘select’ face or something similar with a mini language on the CLI for picking what you want to run. That seems much easier than building boolean logic into a single argument to both the agent and apply faces.

#7 Updated by Nick Fagerlund over 3 years ago

  • Status changed from Accepted to Duplicate

Also available in: Atom PDF