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 #1035

"all" in tagmail.conf should allow exclusions

Added by kbrede - almost 8 years ago. Updated over 2 years ago.

Status:InvestigatingStart date:
Priority:NormalDue date:
Assignee:Nigel Kersten% Done:


Target version:-
Affected Puppet version:0.24.8 Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


For example the following line in tagmail.conf

all, !test_class:

still reports test_class.


#1 Updated by kbrede - almost 8 years ago

Here’s the class I’m using that isn’t excluded by “!trim_reports.”

class trim_reports {
    tidy { "/var/lib/puppet/reports":
        recurse => true,
        backup  => false,
        type    => ctime,
        age     => '5d';

I did some testing and found the class name (trim_reports) does not appear to be picked up as a tag.

  message: Tidying, older than 432000 seconds
  objectsource: true
  source: //Node[]/trim_reports/Tidy[/var/lib/puppet/reports/]/ensure

  - :tidy
  - :ensure

After adding “tag => trim_reports” to the class the tag was picked up and excluded from the email properly.

  message: Tidying, older than 432000 seconds
  objectsource: true
  source: //Node[]/trim_reports/Tidy[/var/lib/puppet/reports/]/ensure

  - :tidy
  - :trim_reports
  - :ensure

#2 Updated by Redmine Admin over 7 years ago

  • Status changed from 1 to Accepted

#3 Updated by James Turnbull about 7 years ago

  • Assignee changed from Puppet Community to AJ Christensen
  • Affected Puppet version set to 0.24.4

AJ – you fancy throwing your eyes over this?

#4 Updated by Luke Schierer about 6 years ago

  • Affected Puppet version changed from 0.24.4 to 0.24.8

This is still happening in running on RHEL5.

#5 Updated by James Turnbull almost 6 years ago

  • Assignee deleted (AJ Christensen)

#6 Updated by Nigel Kersten almost 5 years ago

  • Status changed from Accepted to Investigating
  • Assignee set to Nigel Kersten

Does anyone still care about this?

#7 Updated by James Turnbull over 4 years ago

  • Target version deleted (4)

#8 Updated by Paul Barton over 2 years ago

Yes this would be a good feature to have. I am currently affected by and have nodes reporting on each run after implmenting the MCollective+Facter recipe at It seems like adding a tag ‘no_tagmail’ to that recipe would allow something like:

all, !no_tagmail:

But it doesn’t work.

Also available in: Atom PDF