Hi,
On 12/29/2011 11:29 PM, Ola wrote:> Hello
> So i used this guide
http://itand.me/using-puppet-to-manage-users-passwords-and-ss
> to set it up similar. Now want to do small modification. What i want
> is to have all the users defined in a speciall file or a folder where
> all the users are created, and then import the users into the nodes.
> Any ideas how to manage that?
>
you may want to look at extlookup or rather its heir, hiera.
If you don''t want to adopt additional technologies, you might be able
to
cobble something up using the generate() and split() functions, and most
likely also create_resources(), but it *will* be ugly if you get it
working at all.
HTH,
Felix
--
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.