Forge Home

account

Handle groups and users along with their dotfiles

7,873 downloads

7,873 latest version

5.0 quality score

Version information

  • 0.1.0 (latest)
released Dec 7th 2015
This version is compatible with:
  • , Gentoo, , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'tampakrap-account', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add tampakrap-account
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install tampakrap-account --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
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'