You can see inline docs for every stdlib function by reading the code: 

https://github.com/puppetlabs/puppetlabs-stdlib/tree/master/lib/puppet/parser/functions

Install the module with:

$ sudo puppet module install puppetlabs-stdlib

And probably use unique and flatten to do what you're trying to do. Like 
this.

$server = unique( flatten( [$sys_server, $usr_server] ) )

On Wednesday, August 22, 2012 10:29:27 AM UTC-7, iamauser wrote:
>
> Any example, for this case ? I didn't find any on the web...
>
> thanks
>
>
> Use the unique and join function from stdlib. 
>>
>> Nan 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/8wnGyx85eiIJ.
To post to this group, send email to puppet-users@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