My definition looks something like:
class virtual_users {
@user { fred : uid => 500 ... }
@user { derf : uid => 501 ... }
}
node base-node {
include virtual_users
}
node "testnode.domain.local" inherits base-node {
realize User[fred]
}
puppetd throws an error of:
err: Could not retrieve configuration: Failed to find virtual
resources User[fred]
Do I have to realize fred in another class instead, and then include
that class in the node definition? (Bit of a pain if that is indeed
the case.)