Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hfm/puppet-initsystem
Puppet module for detecting initsystem of OS
https://github.com/hfm/puppet-initsystem
puppet system sysvinit upstart
Last synced: 3 months ago
JSON representation
Puppet module for detecting initsystem of OS
- Host: GitHub
- URL: https://github.com/hfm/puppet-initsystem
- Owner: hfm
- Created: 2016-02-16T07:44:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-08-30T06:40:09.000Z (over 2 years ago)
- Last Synced: 2024-11-01T19:42:25.551Z (3 months ago)
- Topics: puppet, system, sysvinit, upstart
- Language: Ruby
- Homepage: https://forge.puppetlabs.com/hfm/initsystem
- Size: 54.7 KB
- Stars: 1
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# initsystem
[![Build Status](https://img.shields.io/travis/hfm/puppet-initsystem/master.svg?style=flat-square)](https://travis-ci.org/hfm/puppet-initsystem)
[![Puppet Forge](https://img.shields.io/puppetforge/v/hfm/initsystem.svg?style=flat-square)](https://forge.puppetlabs.com/hfm/initsystem)#### Table of Contents
1. [Description](#description)
1. [Setup - The basics of getting started with init_daemon](#setup)
1. [Usage - Configuration options and additional functionality](#usage)## 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.
```puppet
case $facts['initsystem'] {
'sysvinit' {
# Type your code...
}
'upstart' {
# Type your code...
}
'systemd' {
# Type your code...
}
default: { }
}
```