Hello,
I'm a puppet newbie and I'm having trouble getting my virtual user
setup to work. Can someone please tell me what's wrong with this
setup?
# virtual.pp
#
class virtual_users::virtual {
@group { "users":
gid => "100",
ensure => present
}
@user { "lmoore":
password => "$1$WLx?v4oo#ajnxqrNG?ECT?00fh?P?H1",
uid => "8050",
comment => "Lucy Moore",
gid => "100",
home => "/home/lmoore",
ensure => "present",
shell => "/usr/bin/bash",
managehome => true,
}
}
# unixadmins.pp
#
# Realize the members of the Unix team and include any contractors
class virtual_users::unixadmins inherits virtual_users::virtual {
# Realize our team members
realize(
Group["users"],
)
realize(
User["lmoore"],
)
}
#init.pp
#virtual_users modules
include "virtual"
include "unixadmins"
# modules.pp
# Import all modules to initialize naming scope.
# (funny thing is I can include classes contained in these
# even if I did not import them previously)
import "virtual_users"
# /etc/puppet/manifests/nodes.pp
node /sl11lab0[123]-vhost/ {
# puppet lab nodes
include "common::suse"
include "git"
#include "user_login"
include "virtual_users::unixadmins"
}
Thanks,
Maria
--
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.