Switching off of NFS on beta cluster causes puppet on deployment-bastion to fail with:
Error: Cannot create /home/l10nupdate/.ssh; parent directory /home/l10nupdate does not exist Error: /Stage[main]/Scap::L10nupdate/File[/home/l10nupdate/.ssh]/ensure: change from absent to directory failed: Cannot create /home/l10nupdate/.ssh; parent directory /home/l10nupdate does not exist
The user is defined in LDAP:
$ getent passwd l10nupdate l10nupdate:x:10002:10002:l10nupdate:/home/l10nupdate:/bin/bash $ grep l10nupdate /etc/passwd $ $ ldaplist -l passwd l10nupdate dn: uid=l10nupdate,ou=people,dc=wikimedia,dc=org uid: l10nupdate objectClass: person objectClass: organizationalPerson objectClass: inetorgperson objectClass: ldappublickey objectClass: shadowaccount objectClass: posixaccount objectClass: top loginShell: /bin/bash uidNumber: 10002 gidNumber: 10002 sn: l10nupdate homeDirectory: /home/l10nupdate cn: l10nupdate $
The user is defined in puppet modules/mediawiki/manifests/users.pp
user { 'l10nupdate':
ensure => present,
gid => 10002,
shell => '/bin/bash',
home => '/home/l10nupdate',
managehome => true,
}Seems the manage home is not executed because puppet find the user via LDAP.