account

Handle groups and users along with their dotfiles

Theo Chatzimichos

tampakrap

6,947 downloads

6,947 latest version

5.0 quality score

Version information

  • 0.1.0 (latest)
released Dec 7th 2015
This version is compatible with:
  • Debian
    , Gentoo,
    openSUSE
    ,
    RedHat
    ,
    SLES
    ,
    Ubuntu

Start using this module

Tags: user, group

Documentation

tampakrap/account — version 0.1.0 Dec 7th 2015

puppet-account

Build Status Puppet Forge

Wrapper around the user resource and various other modules, in order to handle a user plus various of his dotfiles. More specifically, it handles:

Usage

Below is an example using hiera:

account::groups:
  ssh:
    ensure: 'present'
account::users:
  realperson:
    ensure: 'present'
    groups:
      - 'ssh'
      - 'wheel'
    ssh_authorized_keys:
      realperson@home:
        type: 'ssh-rsa'
        key: 'key_contents_here'
    uid: '2001'
  git:
    ensure: 'present'
    gid: 'git'
    groups:
      - 'ssh'
    purge_ssh_keys: false
    system: true
  root:
    ensure: 'present'
    gid: '0'
    groups:
      - 'root'
    home: '/root'
    home_mode: '0750'
    password: '!'
    system: true
    uid: '0'
account::users_defaults:
  gid: '100'