I''m trying to work with Users and the realize function, and it''s driving me batty. Puppet is 0.23.2. 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.) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 17, 12:17 pm, "Duncan Hill" <bajand...@googlemail.com> wrote:> I''m trying to work with Users and the realize function, and it''s > driving me batty. Puppet is 0.23.2. > > My definition looks something like: > > class virtual_users { > @user { fred : uid => 500 ... } > @user { derf : uid => 501 ... } > > } > > node base-node { > include virtual_usersI''m an idiot. I had my include defined in the base server node, and was working with a workstation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---