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: { }
}