Jira (PUP-10921) Puppet assumes gid of user needs to be corrected

2 views
Skip to first unread message

Oswald Knoppers (Jira)

unread,
Feb 15, 2021, 3:00:04 AM2/15/21
to puppe...@googlegroups.com
Oswald Knoppers created an issue
 
Puppet / Bug PUP-10921
Puppet assumes gid of user needs to be corrected
Issue Type: Bug Bug
Affects Versions: PUP 6.21.0
Assignee: Unassigned
Components: Types and Providers
Created: 2021/02/14 11:59 PM
Priority: Normal Normal
Reporter: Oswald Knoppers

Puppet Version: 6.21.0
Puppet Server Version: 6.15.1
OS Name/Version: Centos 7 / ubuntu 20.04

Desired Behavior:

Do not correct users if not needed

Actual Behavior:

 

Each puppet run I get the message 

Notice: /Stage[main]/Sbt::Users/User[oswaldk]/gid: gid changed '100' to 'users' (corrective)

This user's gid is 100 which is the users group.

For every user we manage we get this message on each puppet run. The user resource has the forcelocal parameter set as true.

We get this message since the 6.21 update. Puppet agent 6.20 did not do this.

Apparently this changed in 6.21:

https://puppet.com/docs/puppet/6.21/release_notes_puppet.html#release_notes_puppet_x-19-0

The puppet resource for user oswaldk:

user

{ oswaldk:   ensure => present,   home => '/home/oswaldk',     uid => '2000',   comment => 'Oswald Knoppers',   password => 'xxx',   managehome => true,   forcelocal => true,   gid => 'users',   shell => '/bin/bash',   groups => 'ssh_users',   require => Group['ssh_users'], }

It looks like this problem was introduced with version 6.21

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Oswald Knoppers (Jira)

unread,
Feb 15, 2021, 5:38:03 AM2/15/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages