Version information
This version is compatible with:
- Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 3.0.0 < 5.0.0
- SLES, SLED, , , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'ghoneycutt-inittab', '2.9.2'
Learn more about managing modules with a PuppetfileDocumentation
puppet-module-inittab
===
Puppet module to manage inittab. To use this module simply include ::inittab
.
===
Compatibility
Works with Puppet v3 (with and without future parser) and Puppet v4 with
Ruby versions 1.8.7, 1.9.3, 2.0.0 and 2.1.9 on the following platforms.
See .travis.yml
for an exact matrix of Puppet and Ruby versions.
- Debian 6 (squeeze)
- EL 5
- EL 6
- EL 7
- Solaris 10
- Solaris 11
- Suse 10
- Suse 11
- Suse 12
- Ubuntu 12.04 LTS (Precise Pangolin)
===
Parameters
default_runlevel
String for default runlevel. Valid values are 0-6, S, and s.
- Default: based on OS family. (runlevel 3 except Debian 6, which uses runlevel 2)
ensure_ttys1
Optionally manage ttyS1. This will ensure that agetty spawns a tty which is needed for serial access. Valid values are 'present' and 'absent'. With undef
the resource is not managed. Only applies to EL 6.
- Default: undef
file_mode
String of file mode in four digit octal notation for inittab.
- Default: '0644'
require_single_user_mode_password
Boolean to require a password when selecting Single User Mode. EL 5 only.
- Default: false
enable_ctrlaltdel
Boolean to enable control-alt-delete. Supported on Linux systems. If set to false, the command exec logger "control-alt-delete issued"
will be triggered whenever control-alt-delete is issued.
- Default: true
ctrlaltdel_override_path
String of path to control-alt-delete.override. Only used on EL 6, which is '/etc/init/control-alt-delete.override'.
- Default: 'USE_DEFAULTS'
ctrlaltdel_override_owner
String of owner for control-alt-delete.override file. Only used on EL 6.
- Default: 'root'
ctrlaltdel_override_group
String of group for control-alt-delete.override file. Only used on EL 6.
- Default: 'root'
ctrlaltdel_override_mode
String of four digital octal mode of control-alt-delete.override file. Only used on EL 6.
- Default: '0644'
v2.9.2 - 2018-06-11
Fix for EL7
v2.9.1 - 2016-11-17
(maint) Fix ruby dependencies Explicitly support puppet-lint v2
v2.9.0 - 2016-08-31
Add support for Ruby v2.3.1 Add support for strict variable checking
v2.8.1
Documentation changes to get Approved status
- Bump year in LICENSE
- Add CHANGELOG
- Document usage of module
- Use https in fixtures for easier use behind corp firewalls
v2.8.0
Support Puppet v4 and v3 with future parser
v2.7.1
deprecate type()
v2.7.0
Add support for EL7
v2.6.0
Support Suse 12
v2.5.0
Can require password in single user mode on EL 5
v2.4.1
bugfix!
With 2.4.0 EL 6 would always disable control-alt-delete
v2.4.0
ability to disable ctrl-alt-del
v2.3.0
Add ability to specify mode of inittab
v2.2.0
manage tty for serial comms on EL 6
v2.1.3
Fix detection on EL systems
This release fixes an issue where operatingsystemmajrelease was not present and uses operatingsystemrelease with a regex to detect the major release number of the OS.
v2.1.2
simplify ubuntu support
v2.1.1
Restore support for Suse
Mike Lehner (mlehner616) switched out operatingsystemmajrelease for operatingsystemrelease and used regex to only grab the major version which works around a facter issue of operatingsystemmajrelease not working.
v2.0.0
Require Facter >= 1.7.0
v1.1.1
fix deprecation warnings in template
v1.1.0
Support Suse 10
v1.0.1
bugfix for Solaris 10
v1.0.0
First full release.
0.0.1
2013-05-16 Garrett Honeycutt code@garretthoneycutt.com - Initial release
Dependencies
- puppetlabs/stdlib (>= 4.6.0 < 6.0.0)
Copyright (C) 2010-2018 Garrett Honeycutt <code@garretthoneycutt.com> 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.