Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 409 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 409 Bytes

#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",
  }
}