Hello all,

I am having a strange problem matching a hierarchy of nodes like the
following one:

node basenode {
node /^diaspora(?:-\d+)?$/ inherits basenode {
node /^diaspora15(?:-\d+)?$/ inherits diaspora {

When I try to instantiate a node that should match the last one (for
example diaspora15 or diaspora15-4433) I find that puppet matches that node
but is not able to match the parent node. From my knowledge of regular
expressions (and checking though rubular), diaspora matches my first
regular expression so the inheritance should be complete.

I get the following message:

Could not find parent resource type 'diaspora' of type node in production
at /tmp/vagrant-puppet/manifests/diaspora.pp:14 on node diaspora15.scytl.net

Also, when I instantiate a node named diaspora that works..

Any idea of what I am doing wrong? I think that puppet allows that kind of

You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/UV7hjMfzBAAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
grouppuppet-users @
postedMay 10, '12 at 5:54p
activeMay 11, '12 at 12:56p

2 users in discussion

David Campos: 2 posts Jcbollinger: 1 post



site design / logo © 2023 Grokbase