On 28.09.19 12:15, Martin Alfke wrote:
> Hi Dirk,
> 
> you are including class accounts within node default classification.
> The accounts module does not do anything unless you add data to it.
> 
> Please look at https://github.com/puppetlabs/puppetlabs-accounts and check if 
> the following example is working:

It doesn't look like Dan is using the puppetlabs-accounts module. His
accounts module just creates a user and a group (copy/pasting the code
from the initial post):

# more
/etc/puppetlabs/code/environments/production/modules/accounts/manifests/init.pp
class accounts {

  include accounts::groups

  user { 'djc72uk':
    ensure      => present,
    home        => '/home/djc72uk',
    shell       => '/bin/bash',
    managehome  => true,
    gid         => 'djc72uk',
  }

}

# more
/etc/puppetlabs/code/environments/production/modules/accounts/manifests/groups.pp
class accounts::groups {

  group { 'djc72uk':
    ensure  => present,
  }
}

Andreas

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/f8268645-38fd-16c9-9485-60ca93debfaa%40ptmx.org.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to