rclocal

Manages /etc/rc.d/rc.local

Vanessa Novak

novakv

8,124 downloads

8,124 latest version

3.0 quality score

Version information

  • 1.0.0 (latest)
released Mar 19th 2015
This version is compatible with:
  • Puppet Enterprise 2021.0.x, 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.7.3
  • RedHat

Start using this module

Documentation

novakv/rclocal — version 1.0.0 Mar 19th 2015

#puppet-rclocal

This module is used by other modules to update content in /etc/rc.d/rc.local.

It will overwrite /etc/rc.d/rc.local.

Usage

Sample Hiera configuration

serverone.yaml

---
classes:
  - rclocal
  - sssd
  - stdlib

Sample module

class sssd {
  ::rclocal::register{ 'sssd': 
    content => "/usr/sbin/fstrim /\n/usr/sbin/fstrim /boot\n",
  }
}