Fixed manifest generation in user module for Puppet 2.6
This commit is contained in:
parent
bb0b107a07
commit
004854101a
2 changed files with 35 additions and 34 deletions
|
@ -59,7 +59,7 @@ conn.search(basedn, LDAP::LDAP_SCOPE_SUBTREE, 'objectClass=posixAccount',
|
|||
# create user class
|
||||
if entry['uid'][0] !~ /.*\$.*/
|
||||
print "class user::" + entry['uid'][0] + " inherits user::virtual {\n"
|
||||
print " realize(Newuser['" + entry['uid'][0] + "'])\n"
|
||||
print " realize(User::Newuser['" + entry['uid'][0] + "'])\n"
|
||||
groups.each do |group|
|
||||
print " realize(Group['" + group + "'])\n"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue