Ahhhh, I guess I must've been tired on Friday.  In any case, thanks
for catching that for me.  It really helped me out.  Thanks Dan.

On Sep 17, 6:12 pm, Dan Bode <d...@puppetlabs.com> wrote:
> On Fri, Sep 17, 2010 at 10:33 AM, CraftyTech <hmmed...@gmail.com> wrote:
> > Thanks Dan.  I have something very similar that's not working for
> > me... i.e,
>
> you are querying for exported resources not virtual.
>
> > 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'  |>>
>
> User<| tag == 'test' |>
>
> not the missing <>
>
> >      }
>
> > 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 <d...@puppetlabs.com> wrote:
> > > On Fri, Sep 17, 2010 at 9:57 AM, CraftyTech <hmmed...@gmail.com> 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 puppet-us...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
> > <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 puppet-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.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 puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to