Issue #4335 has been reported by Anandha Krishnan.
----------------------------------------
Bug #4335: Managing home directory
http://projects.puppetlabs.com/issues/4335
Author: Anandha Krishnan
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.4
Keywords:
Branch:
I'm not sure if this is a bug when managing an existing user through puppet
doesn't seem to update the home directory permissions. Does it use usermod to
update UID/GID if they are different? Usermod on Unix should change the
owner/group for the home directory too. Please help.
Here my user resource and the user existed with different UID/GID and puppet
updated the correct IDs but didn't change the permission on the home directory
with the new UID/GID. I'm aware that I can use a file resource to make this
happen but it would be nice to have a fix. I'm running puppet 0.25.4 on Cent OS
5.4.
user { 'abc':
allowdupe => false,
ensure => present,
gid => '10000',
uid => '1000',
home => '/home/abc',
shell => '/bin/bash',
comment => 'ABC User',
managehome => 'true',
}
Anandha
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" 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-bugs?hl=en.