Re: [Puppet Users] Virtual Resources with variables

2012-08-21 Thread Douglas Brancaglion
Tks! Work fine now. Hugs, 2012/8/21 Walter Heck > Realize add_user instead of user.. > > Sent from my galaxy tab > On Aug 22, 2012 3:01 AM, "Douglas Brancaglion" > wrote: > > > realize > } > On Aug 22, 2012 3:01 AM, "Douglas Brancaglion" > wrote: > >> Hi! >> >> I am facing difficulties in u

Re: [Puppet Users] Virtual Resources with variables

2012-08-21 Thread Walter Heck
Realize add_user instead of user.. Sent from my galaxy tab On Aug 22, 2012 3:01 AM, "Douglas Brancaglion" wrote: > realize > } On Aug 22, 2012 3:01 AM, "Douglas Brancaglion" wrote: > Hi! > > I am facing difficulties in using the virtual resource types in resorce > custom, I have a definition

[Puppet Users] Virtual Resources with variables

2012-08-21 Thread Douglas Brancaglion
Hi! I am facing difficulties in using the virtual resource types in resorce custom, I have a definition of user creation as shown below: define add_user ( $email, $uid, $key, $groups ) { $username = $title user { $username: comment=> "$email",

[Puppet Users] Virtual Resources with Variables

2010-06-15 Thread Doug Warner
I've seen the workarounds to use the concatenated file resource to fake this, but is it possible to use something like virtual resources to realize an array? My pseudo-classes would be like this: class foo { @$arr = ['a', 'b'] realize($arr) } class foo::c inherits foo { $arr += ['c'] } c