On May 10, 12:54 pm, David Campos <
noymn.the.archan...@gmail.com>
wrote:
Evidently, you are mistaken. Puppet is not matching the parent node
name against your regex nodes; instead it is looking for a node
definition bearing exactly that name. Frankly, I don't find that
surprising.
You should be able to resolve the problem with a slight juggling of
your node definitions:
node basenode {
...
}
node diaspora inherits basenode {
...
}
node /^diaspora-\d+$/ inherits diaspora {
# empty
}
node /^diaspora15(?:-\d+)?$/ inherits diaspora {
...
}
There are other variations and altogether different approaches, too,
but that's probably the closest to what you already have.
John