userskel

contributions requested
Manage the skeleton used by `useradd` for user creation

9,693 downloads

9,693 latest version

2.8 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.0.1 (latest)
released Oct 10th 2014
This version is compatible with:
  • ArchLinux, Debian, Fedora, Ubuntu

Start using this module

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

Add this module to your Puppetfile:

mod 'carlasouza-userskel', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add carlasouza-userskel
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install carlasouza-userskel --version 0.0.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.

Download

Documentation

carlasouza/userskel — version 0.0.1 Oct 10th 2014

userskel

Manage the skeleton used by useradd for user creation.

It already comes with default content for .bashrc, .bash_logout, .gemrc, .gitignore_global and .profile files inside files/default/ directory of this module.

Modify, remove or add more files at files/default as desired, or create new collections by creating a subfolder at files/. It will look for files/$name as skel source. If non existent, the default directory will be used as source.

Examples

Prevent any created user to ssh to your server

userskel { 'server':
  shell             => '/bin/nologin',
  create_mail_spool => 'yes'
}

Change the default shell to zsh

userskel { 'desktop':
  shell => '/bin/zsh',
  group => '1001'
}

Support

Please log tickets and issues at the Project site

Author

Carla Souza contact@carlasouza.com

License

Copyright 2014 Carla Souza. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.