Hi
Is this a good idea:
In the users module:
class users::db {
@group { dba:
gid => 200,
ensure => present,
}
@user { oracle:
ensure => present,
uid => 200,
gid => 200,
comment => "Oracle User",
home => "/home/oracle",
require => Group["dba"],
shell => "/bin/ksh",
}
@user { sybase:
ensure => present,
uid => 300,
gid => 300,
comment => "Sybase User",
home => "/home/sybase",
shell => "/bin/bash",
}
}
and when I want to put the user on a system:
case $db {
oracle: {
# Users and groups
realize Group["dba"]
realize User["oracle"]
...
or should I create a module groups with virtual groups in it?
BR, Rene
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---