initsystem

pdk
This module aims to detect initsystem of OS.

Okumura Takahiro

hfm

98,255 downloads

4,502 latest version

5.0 quality score

Version information

  • 1.4.0 (latest)
  • 1.3.0
  • 1.2.0
  • 1.1.0
  • 1.0.0
  • 0.2.0
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
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
  • RedHat
    ,
    CentOS
    ,
    Scientific Linux
    ,
    Fedora
    ,
    Debian
    ,
    Ubuntu
    ,
    SLES

Start using this module

Documentation

hfm/initsystem — version 1.4.0 Oct 6th 2018

initsystem

Build Status Puppet Forge

Table of Contents

  1. Description
  2. Setup - The basics of getting started with init_daemon
  3. 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: {  }
}