Forge Home


Create local users


7,348 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.5.1 (latest)
  • 0.5.0
released Mar 8th 2016
This version is compatible with:
  • , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'thbe-local_users', '0.5.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add thbe-local_users
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install thbe-local_users --version 0.5.1

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.



thbe/local_users — version 0.5.1 Mar 8th 2016


Build Status Puppet Forge Coverage Status

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with local_users
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module


This module manage local user accounts.

Module Description

With this module you can manage your local users as well as the root account.


What local_users affects

  • Create specified users.

Beginning with local_users

Simply include the class and specify one ore more users that should be created.


class { 'local_users':
  users => {
    'john' => { 'comment' => 'John Doe', 'shell' => '/bin/bash',  'password' => '!!' },
    'jane' => { 'comment' => 'Jane Doe', 'home'  => '/home/jane', 'groups'   => 'wheel' }



This module has been built on and tested against Puppet 4.0 and higher.

The module has been tested on:

  • RedHat Enterprise Linux 5/6/7
  • Scientific Linux 5/6/7
  • CentOS Linux 5/6/7
  • Oracle Enterprise Linux 5/6/7

Testing on other platforms has been light and cannot be guaranteed.


If you like to add or improve this module, feel free to fork the module and send me a merge request with the modification.