ReleaseEngineering/PuppetAgain/Modules/users

From MozillaWiki
Jump to navigation Jump to search

This module handles login accounts on the system. It has two classes that can be included. These are generally included high in the toplevel hierarchy.

users::global

This sets up some global (/etc) defaults for user configuration, e.g. PATH.

users::root

This sets up the root user (or, on Windows, Administrator). This provides the following easy-to-use variables, per bug 776641:

  • $users::root::username
  • $users::root::group
  • $users::root::home

users::builder

Installs the builder user (cltbld for releng, although this can be adjusted in manifests/settings.pp). This provides the following easy-to-use variables, per bug 776641:

  • $users::root::username
  • $users::root::group
  • $users::root::home

This class also sets up the builder user's dotfiles appropriately, including SSH configuration, and performs some basic cleanup.