Version information
released Oct 6th 2018
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >=3.0.0 < 7.0.0
- , , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'hfm-initsystem', '1.4.0'
Learn more about managing modules with a PuppetfileDocumentation
hfm/initsystem — version 1.4.0 Oct 6th 2018
initsystem
Table of Contents
- Description
- Setup - The basics of getting started with init_daemon
- Usage - Configuration options and additional functionality
Description
This module aims to detect initsystem of OS.
Setup
Installing the initsystem module.
Usage
Installing this module, you can use $::initsystem
in Puppet manifests.
case $facts['initsystem'] {
'sysvinit' {
# Type your code...
}
'upstart' {
# Type your code...
}
'systemd' {
# Type your code...
}
default: { }
}