puppet-accounts icon indicating copy to clipboard operation
puppet-accounts copied to clipboard

Users not being assigned to groups as specified in heira

Open jamierasmussen opened this issue 7 years ago • 3 comments

Users are created as expected, however any groups added to the array are ignored. Appears to silently fail, with no errors logged.

Example hiera:

accounts::users:
  john:
    comment: "John Doe"
    groups:
      - "wheel"
      - "users"

I've tried formatting as above, as well as: groups: ["wheel", "users"]

jamierasmussen avatar Feb 23 '18 18:02 jamierasmussen

I should add, I'm on RHEL 6, for the node, and Puppet version 2017.2.

Thanks!

jamierasmussen avatar Feb 23 '18 19:02 jamierasmussen

I have exactly the same problem. @jamierasmussen have you found a workaround?

cdrews avatar May 02 '18 22:05 cdrews

In case it helps, I saw someone else mention this, you might just be missing another required module: https://github.com/deric/puppet-accounts/blob/master/Puppetfile#L6

james-portman avatar May 21 '18 14:05 james-portman