puppet ressources user and group not doing anything
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi,
just ran my old puppet tree (working with each ubuntu-version since 12.04) under 18.04 and found, that puppet does not modify /etc/passwd and /etc/group, but does not issue any error messages either. I.e. it says
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
but then the entry is still
danisch:
as before. Group changes also not happening. With every run it notices to change the entries, but does not do anything.
regards
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: puppet 5.4.0-2ubuntu3
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: LXDE
Date: Thu May 3 16:26:45 2018
InstallationDate: Installed on 2018-04-30 (3 days ago)
InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitec
SourcePackage: puppet
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
modified.
mtime.conffile.
mtime.conffile.
mtime.conffile.
# id puppet
uid=112(puppet) gid=119(puppet) groups=119(puppet)
$ puppet resource -e user danisch
user { 'danisch':
ensure => present,
uid => '1015',
gid => '119',
comment => 'Hadmut Danisch',
shell => '/bin/bash',
home => '/home/danisch'
}
When saving that on a bionic tree I get: main]/Main/ User[danisch] /ensure: created
# puppet resource -e user danisch
Notice: Compiled catalog for b.lxd in environment production in 0.03 seconds
Info: Applying configuration version '1525418020'
Notice: /Stage[
Notice: Applied catalog in 0.13 seconds
Entries in passwd is x:1015: 119:Hadmut Danisch: /home/danisch: /bin/bash
danisch:
Shouldn't that run the same backend code, but it works just fine?
What kind of configuration do you use exactly, could it be that upstream changed to no more support an old format?
Can you reduce your config to try just the user management and then check what the differences are to my example above?
Ubuntu makes no delta to upstream puppet in regard to the functionality discussed here which is why I assume it is due to the newer version, but maybe we can find the difference and resolve this for you.