No description or website provided.
Puppet Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
manifests
spec/acceptance
.fixtures.yml
.gitignore
.puppet-lintrc
Modulefile
Puppetfile
README.rdoc
Rakefile

README.rdoc

puppet-users module

Use this module to create users and/or groups and to distribute the public key you normally use to authenticate to a remote machine.

Recommended use

The definitions in this module are most efficiently used when combined with virtual resources, that can be realized when needed:

class mysite::users {
  @users::localgroup { 'admins':
    gid => '5000'
  }

  @users::localuser { 'foo':
    uid        => '5000',
    logingroup => 'admins'
  }

  @users::localuser { 'bar':
    uid        => '5001',
    logingroup => 'admins',
    shell      => '/bin/ksh'
  }
}

You can now easily realize the virtual users as you see fit.

class mysite::myserver {
  include mysite::users

  Users::Localgroup <| title == 'admins' |>
  Users::Localuser <| title == 'foo' |>
}

This enables you to consolidate your users and still be flexible.