Feature #525
wishlist: ability to exclude an inherited class within a node
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | - | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
While developing my recipes, I came across something that I think will majorly increase readability of the recipes: Puppet is missing the ability to exclude. It can include, but that’s kind of meaningless, since there’s no way to exclude, except by actually not including it.
Consider this syntax:
node dom0base {
include aptsource
include xendom0
include nullmailer
}
node blade01-dom0, blade02-dom0, blade03-dom0, blade04-dom0, blade05-dom0, blade06-dom0, blade07-dom0, blade08-dom0, blade09-dom0 inherits dom0base {}
node blade10-dom0 inherits dom0base {
exclude nullmailer
include postfix
}
I think this can really improve the writing of recipes for, in particular, large number of nodes.
History
Updated by Luke Kanies about 5 years ago
- Status changed from 1 to Closed
- 7 set to wontfix
This problem will be solved by the external node mapping tool, not in Puppet’s language.
Updated by Anonymous about 5 years ago
Milestone unplanned deleted