Issue #22070 has been updated by Justin Honold.

1.6.18.  I don't intend to upgrade it promptly as no other issues are noted, 
but if you're confident that it's already resolved, feel free to resolve this 
ticket as well.  Thanks!

----------------------------------------
Bug #22070: Puppet managing home directories on Amazon Linux (RHEL-derived) 
whether I want it or not
https://projects.puppetlabs.com/issues/22070#change-97169

* Author: Justin Honold
* Status: Needs More Information
* Priority: Normal
* Assignee: Justin Honold
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
First, I set up a user account along these lines:

    user { 'myuser':
      ensure => 'present',
      comment => 'My User',
      password => '!!',
      shell => '/usr/sbin/nologin',
      home => '/home/myuser',
    }

except I had a typo and used '/hoome/myuser'.  It failed because it said it 
couldn't create the dir, which I thought was odd, because Puppet didn't manage 
dirs by default as per 
http://docs.puppetlabs.com/references/stable/type.html#user .  I corrected the 
typo, explicitly set managehome to false (the claimed default), and it still 
created the dir.  Then I tried removing the home entry entirely, and it still 
defaulted to /home/myuser and created it.  It also copied skelfiles each time, 
and there isn't an apparent option to include or exclude that behavior.

What is happening here?  Is managehome mandatory with useradd-based systems on 
newer versions of Puppet?





-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to