- Description
- Setup - The basics of getting started with init_daemon
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
This module aims to detect initsystem of OS.
Installing the initsystem module.
Installing this module, you can use $::initsystem
in Puppet manifests.
case $::initsystem {
'sysvinit' {
# Type your code...
}
'upstart' {
# Type your code...
}
'systemd' {
# Type your code...
}
default: { }
}
- RedHat
- 5.0, 6.0, 7.0
- CentOS
- 5.0, 6.0, 7.0
- Scientific Linux
- 5.0, 6.0, 7.0
- Fedora
- 22, 23
- Debian
- 6, 7, 8
- Ubuntu
- 12.04, 14.04, 15.04, 15.10, 16.04