Feature #1107
Allow exclusion in tags specified on the command line
| Status: | Accepted | Start date: | ||
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | executables | |||
| Target version: | - | |||
| Affected Puppet version: | 0.24.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 9 |
Description
Tags should allow exclusions, i.e. all,!test That’s probably the most common case you would want to use tags, so that rather than tagging everything as production, you can just tag those items you are playing with.
Related issues
History
Updated by James Turnbull about 4 years ago
I think you’ll find this works – at least in does in the tagmail report…?
Updated by James Turnbull about 4 years ago
See http://reductivelabs.com/projects/puppet/reference/reports.html
Updated by Martha Greenberg about 4 years ago
I don’t mean tagmail, I mean manifest tags. I want to run puppetd -tags all,!test and get all objects for the node that are not tagged test.
Updated by James Turnbull about 4 years ago
Martha – I know you meant —tags but was suggesting that this might already be possible? Have you tested it? If it isn’t possible then that’s fine and I’d say this is an excellent enhancement.
Updated by Luke Kanies about 4 years ago
This does work in tagmail, but it doesn’t work in transactions, as Martha is indicating.
Updated by Redmine Admin almost 4 years ago
- Status changed from 1 to Accepted
Updated by TIago Cruz over 3 years ago
- Affected Puppet version set to 0.24.4
Hello Guys,
With this feature I’ll be able to do some like this?
node default {
include dst
include aide
include cfg2html
include tcpwrappers
include shorewall
}
node exclusion host5001, host5002, host5003 {
exclude tcpwrappers
}
Thanks!
Updated by Luke Kanies over 3 years ago
No, the subject specifies command-line exclusion, not in the language.
Updated by TIago Cruz over 3 years ago
Hum… nice :–)
So, today its possible do what I want to do? (exclude some host from default)? =)
Updated by Luke Kanies over 3 years ago
No, it’s not possible; just that this ticket is unrelated.
Updated by James Turnbull almost 3 years ago
- Assignee deleted (
Puppet Community)
Updated by Nick Lewis almost 2 years ago
What is the status of this ticket? The mailing list has a patch that seems to relate but isn’t merged:
http://groups.google.com/group/puppet-dev/browse_thread/thread/77b5fd6f791dbd17/44b0f00c8c02f58a
Updated by Oliver Hookins about 1 year ago
I expect that the patch is unsuitable now that 2.6 (or even 2.7) is the expected target… anything I can do to help?
Updated by James Turnbull 9 months ago
- Target version deleted (
4)
Updated by Kristian Kostecky about 1 month ago
What is the update on what version is to get this feature? This is extremely useful.