- 15 Dec, 2020 1 commit
-
-
Thomas Bellman authored
In order for numeric file modes to still be properly interpreted as octal modes in Puppet version 4 and later, they need to be specified as strings, not as integers. There was one instance where we had missed that. Fix it.
-
- 10 May, 2020 1 commit
-
-
Thomas Bellman authored
-
- 04 May, 2020 1 commit
-
-
Thomas Bellman authored
We used some definitions, resource types and facts from the module nsc-puppet-utils. That module has been refactored, renamed to "nscutils", and split into multiple modules, so we need to track those changes. We use resource types and definitions for editing config files, which have been moved to the new module "cfgfile", and the custom fact 'initsystem', which at the moment is still left in the "nscutils" module.
-
- 17 Sep, 2019 1 commit
-
-
Thomas Bellman authored
-
- 16 Aug, 2019 1 commit
-
-
Thomas Bellman authored
Previously, on RHEL-6, we always disabled the automatic starting of getty on serial port consoles, to avoid conflicts with explicit configuration of the same port. This had the disadvantage that even if logins were not explicit configured for, e.g, ttyS17, and you booted the system with console=ttyS17, you would not get a login prompt there. That is probably not what most users would want. We here make use of the 'stop on' event handling in Upstart job definitions, to force the automatic getty job to be stopped, if an explicit getty job for that port is started. This assumes that such jobs are named "serial-$DEV", as the console::serial::login definition names them. Signed-off-by:
Thomas Bellman <bellman@lysator.liu.se>
-
- 08 Jul, 2019 1 commit
-
-
Thomas Bellman authored
Signed-off-by:
Thomas Bellman <bellman@lysator.liu.se>
-
- 30 Sep, 2018 1 commit
-
-
Thomas Bellman authored
This adds a definition console::serial::login for managing if and how getty(8) (or usually agetty(8)) is run on serial ports. The current version only supports systemd-based Linux distributions (and has only been actually tested on CentOS 7).
-
- 29 Sep, 2018 1 commit
-
-
Thomas Bellman authored
This adds a definition console::rootlogin for allowing or forbidding root logins on specific terminals, i.e. entries in /etc/securetty.
-
- 20 Dec, 2017 2 commits
-
-
Thomas Bellman authored
By default, the console screensaver is enabled on Linux systems (at least RedHat:ish systems). That makes it difficult to see kernel crash messages on the console on physical servers, as the screensaver typically is activated, and you can't deactivate it since the kernel is dead and does not respond to key presses... This adds a class console::screensaver::disable which disables the console screensaver when the machine boots.
-
Thomas Bellman authored
At least modern Fedora and RHEL versions by default suspend your laptop when you close the lid. Some people, including me, don't like that behaviour. Add a class console::lid::ignore_close that disables that; currently only implements this for systemd-based systems, though. Whether this belongs in the console module is debatable, but at the moment I don't have any better place to hide it.
-
- 19 Dec, 2017 2 commits
-
-
Thomas Bellman authored
-
Thomas Bellman authored
This adds a definition console::keymap::mapfile for installing (or removing) keymap files for the Linux VGA console. There is also a class console::keymap::params for defining where keymap files are stored, with suitable defaults for some Linux distributions.
-
- 18 Dec, 2017 3 commits
-
-
Thomas Bellman authored
-
Thomas Bellman authored
-
Thomas Bellman authored
This will contain a Puppet module for managing the console of Linux machines, both VGA and serial consoles.
-