common
Version information
This version is compatible with:
- Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >=3.6.0 <5.0.0
- ,
Start using this module
Add this module to your Puppetfile:
mod 'evenup-common', '1.1.3'
Learn more about managing modules with a PuppetfileDocumentation
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with common
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
- Changelog/Contributors
Overview
Puppet module to manage packages and services not worth an entire module. It can also remove files, users, and groups as well as configure a backup user.
Module Description
There are a wide range of packages, services, users, and groups that are installed as part of a distribution's installation that are not relevant to your configuration and should be cleaned up.
Many installations also use a centralized directory server for authentication and authorization. If there is a configuration issue on an individual server it may no longer be able to validate credentials with the centralized directory server. This module also supports installing a backup user which can be used in that eventuality.
Setup
What common affects
By default, this module only installs a slightly updated command prompt and secures the console for cloud machines.
Beginning with common
This module can be installed with
puppet module install evenup-common
Usage
Ensure the wget and curl packages are installed:
class { 'common':
install_packages => [ 'wget', 'curl' ],
}
Ensure the telnet package is absent:
class { 'common':
absent_packages => 'telnet',
}
Ensure the tape group is absent
class { 'common::users':
absent_groups => 'tape'
}
Reference
Classes
Public Classes
common
: Manages packages and servicescommon::users
: Manages users and groups
Limitations
Only tested on CentOS/RHEL
Development
Improvements and bug fixes are greatly appreciated. See the contributing guide for information on adding and validating tests for PRs.
Changelog / Contributors
20150506 - v1.1.3 Ensure backup user's group created before user 20150505 - v1.1.2 only install root ssh key if present 20150505 - v1.1.1 set root home directory 20150505 - v1.1.0 remove unmaintained torrancew/account 20150203 - v1.0.1 tmpclean only emails on error 20150105 - v1.0.0 Add pre_fw and post_fw classes for puppetlabs/firewall Remove common::line Remove hard-coded package, service, and file install/remove 20140604 - v0.6.0 Add (optional) script to clean tmp dirs 20140120 - v0.5.1 Fix for account and common::users declaring /root/.ssh 20140120 - v0.5.0 Allow setting root's ssh key (public and private) 20140120 - v0.4.0 Remove dirname function (conflicts with stdlib) Add puppet 3.4 to travis 20140113 - v0.4.0 Remove setting the root device params v0.3.1 Lint fixes v0.3.0: Add root FS mount option Add option to set root mail alias v0.2.0: Secure RH init scripts Add option for beaver log shipping Add ability to set root PW and create an "ohshit" user Cleanup unused users from default install v0.1.11: Add default bash PS1 prompt v0.1.10: Add bash-completion package v0.1.9: Initial public release
Dependencies
- evenup/beaver (>= 1.3.0 <2.0.0)
- puppetlabs/stdlib (>=4.2.0 <5.0.0)
- puppetlabs/firewall (>= 1.2.0 <2.0.0)
Copyright 2013 EvenUp Inc 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.