Thanks Dan. I have something very similar that's not working for
me... i.e,
class basic::service_accounts {
@user { 'user1':
tag => 'test',
home => '/home/user1',
shell => '/bin/bash',
ensure => 'present'
}
class testgroup {
require basic::service_accounts
User <<| tag == 'test' |>>
}
The account doesn't get realized ("debug: Scope(Class[testgroup]):
Collected 0 User resources in 0.00 seconds") Can you spot anything
wrong with this code? I've been going around in circles trying to
figure it out.
Thanks,
On Sep 17, 1:23 pm, Dan Bode <[email protected]> wrote:
> On Fri, Sep 17, 2010 at 9:57 AM, CraftyTech <[email protected]> wrote:
> > Hello All,
>
> > Can someone share their syntax on how they'd realize users based
> > on tags?
>
> User<| tag == 'foo' |>
>
>
>
> > Thanks,
>
> > Henry
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Puppet Users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<puppet-users%2bunsubscr...@google
> > groups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/puppet-users?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
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.