On Tue, 2013-04-30 at 06:45 -0700, Schofield wrote:
> Given a class that defines multiple virtual users with common properties 
> defined in the User class:
> 
> class users{
>   User{
>     gid => 2000,
>     shell => "/bin/bash",
>     managehome => "true",
>     password => 'XrU4ZYu0nwk7s',
>     require => Group['mygroup'],
>   }
> 
>   @user{ 'user1':
>     uid => 1690,
>   }
>   @user{ 'user2':
>     uid => 1691,
>   }
> }
> 
> Realizing user1 and 2 fails when matching on a property defined as a 
> default.
> 
> class some_other_class{
>   include users
>   User <| gid == 2000 |>
> }
> 
> Is this expected?  Or should it be considered a bug?  Running puppet 
> version 3.0.0.

I've seen 
http://projects.puppetlabs.com/issues/9655 which looks related, but I'm
not sure if it's the same issue. It would probably be a good idea to
open a bug specifically for the issue you're seeing.

I would expect this to work :)

-- 
Calvin Walton <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to