Handle groups and users along with their dotfiles
released Dec 7th 2015
This version is compatible with:
- Gentoo, , , , ,
Start using this module
Add this module to your Puppetfile:
Learn more about managing modules with a Puppetfilemod 'tampakrap-account', '0.1.0'
tampakrap/account — version 0.1.0 Dec 7th 2015
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_keysthrough ssh_authorized_key resource
~/.ssh/known_hoststhrough sshkey resource
- private and public ssh key pair through
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'
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.