- Description
- Setup - The basics of getting started with init_daemon
- Usage - Configuration options and additional functionality
This module aims to detect initsystem of OS.
Installing the initsystem module.
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: { }
}