Dear all
I am looking for a solution for a module to define alle possible user and
then install the one or more user from that module if needed on a server,
but not all of them.
My idea is something like this. Can I define a user in the nodes.pp at a
special Server to install that user?
Have a look at virtual resources. When needed, you can realize them.
The puppet cookbook has a chapter explaining this
On 10/08/2013 01:15 PM, Andreas Dvorak wrote:
Dear all
I am looking for a solution for a module to define alle possible user
and then install the one or more user from that
Hi Johan,
thank you for the hint with virtual resources.
Here is my solution
cat init.pp
class accounts {
@accounts::virtual {'test1':
comment = test1,
uid = 1056,
gid = 880,
group = baader,
shell = /bin/bash,
password = '$1$6hsRON8i7w5JncJDROnjh51',