Defined Type: service_autorestart::generic
- Defined in:
- manifests/generic.pp
Summary
Configures a service for auto-restart in a platform agnostic way.Overview
This is very simplistic and doesn’t allow tweaking of the parmeters. If you need to tweak settings, you’ll need to declare the ‘service_autorestart::windows` or `service_autorestart::systemd` directly.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'manifests/generic.pp', line 6
define service_autorestart::generic () {
case $facts['service_provider'] {
'windows': {
service_autorestart::windows { $title: }
}
'systemd': {
service_autorestart::systemd { $title: }
}
default: {}
}
}
|