Hello All, Is there a way in puppet to define a User resource with a non- unique UID? i.e, @user { ''user1'': tag => ''test'', uid => ''2222'' } @user { ''user2'': tag => ''test'', uid => ''2222'' } If I do it like this, I get an error saying that the UID is not unique.... Any ideas? -- 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.
I answered my own question from the documentation.. allowdupe => true Hope it helps someone else looking for a similar answer..... On Oct 6, 11:29 am, CraftyTech <hmmed...@gmail.com> wrote:> Hello All, > > Is there a way in puppet to define a User resource with a non- > unique UID? i.e, > @user { ''user1'': > tag => ''test'', > uid => ''2222'' > } > > @user { ''user2'': > tag => ''test'', > uid => ''2222'' > } > If I do it like this, I get an error saying that the UID is not > unique.... > > Any ideas?-- 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.
tom.russell@initforthe.com
2013-Aug-16 11:10 UTC
[Puppet Users] Re: User Resource Type | non-unique UID
3 years on, it did indeed :) Thanks! On Wednesday, 6 October 2010 16:59:14 UTC+1, CraftyTech wrote:> > I answered my own question from the documentation.. > allowdupe => true > > Hope it helps someone else looking for a similar answer..... > > On Oct 6, 11:29 am, CraftyTech <hmmed...@gmail.com> wrote: > > Hello All, > > > > Is there a way in puppet to define a User resource with a non- > > unique UID? i.e, > > @user { ''user1'': > > tag => ''test'', > > uid => ''2222'' > > } > > > > @user { ''user2'': > > tag => ''test'', > > uid => ''2222'' > > } > > If I do it like this, I get an error saying that the UID is not > > unique.... > > > > Any ideas?-- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.