Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ################################################################
- ##
- ## modules/users/linux.pp
- ## Contains user configuration resources for Linux hosts.
- ##
- ################################################################
- class users::linux::install {
- }
- class users::linux::config {
- # Define admin accounts here. Standardize on UID's across all systems, finally.
- # Keep in mind that this will change all UID's for exsiting users that match the
- # below usernames. We will need to also update home directory permissions
- # to reflect the new UID's. UID's for normal users start at 300.
- user { "jbaird":
- ensure => present,
- gid => "jbaird",
- comment => "Josh Baird",
- home => "/home/jbaird",
- password => '$$BOO$$',
- shell => "/bin/bash",
- managehome => "true",
- uid => 300
- }
- group { "jbaird":
- ensure => present,
- gid => 300,
- }
- }
- class users::linux::service {
- }
- class users::linux inherits users::common {
- include users::linux::config
- }
Add Comment
Please, Sign In to add comment