On Tuesday, December 29, 2015 at 9:30:08 AM UTC-6, [email protected] 
wrote:
>
> Hi,
>
> I am new to puppet and I am trying to write a module to manage user 
> .bashrc files. I managed to place the file to the desired location with 
> following code for 1 user because the username is hardcoded. However, I 
> tried different ways to manage the file for 10 different users using 
> variables which fails. Can someone please help me with the same.
>


Your subject suggests that you hope to solve your problem by creating a 
defined type, and that is indeed a reasonable direction in which to 
proceed.  I am uncertain how to answer your question in any detail, 
however.  The Puppet manual has a section on defined types 
<https://docs.puppetlabs.com/puppet/4.3/reference/lang_defined_types.html>.  
Have you read it?  Do you have specific questions?


John

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/650e38fc-1ded-48e9-8c1b-2917fa870030%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to