Version information
released Dec 7th 2015
This version is compatible with:
- Gentoo, , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'tampakrap-account', '0.1.0'
Learn more about managing modules with a PuppetfileDocumentation
tampakrap/account — version 0.1.0 Dec 7th 2015
puppet-account
Wrapper around the user resource and various other modules, in order to handle a user plus various of his dotfiles. More specifically, it handles:
~/.ssh/authorized_keys
through ssh_authorized_key resource~/.ssh/known_hosts
through sshkey resource~/.ssh/config
throughssh::client::config::user
(saz/ssh)- private and public ssh key pair through
ssh_keygen
(maestrodev/ssh_keygen) ~/.git/config
throughgit::config
(puppetlabs/git)~/.gnupg
through throughgnupg_key
(golja/gnupg)
Usage
Below is an example using hiera:
account::groups:
ssh:
ensure: 'present'
account::users:
realperson:
ensure: 'present'
groups:
- 'ssh'
- 'wheel'
ssh_authorized_keys:
realperson@home:
type: 'ssh-rsa'
key: 'key_contents_here'
uid: '2001'
git:
ensure: 'present'
gid: 'git'
groups:
- 'ssh'
purge_ssh_keys: false
system: true
root:
ensure: 'present'
gid: '0'
groups:
- 'root'
home: '/root'
home_mode: '0750'
password: '!'
system: true
uid: '0'
account::users_defaults:
gid: '100'
Dependencies
Copyright 2013 Theo Chatzimichos Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.