The Definitive Slaughter Guide: http://www.steve.org.uk/Software/slaughter/guide/
Source Repository: https://github.com/skx/slaughter/
Slaughter is a perl-based system administration utility, which allows the remote management of an arbitrary number of nodes.
When slaughter runs on each node it will:
- Download a set of remote policies from the central server.
- The policies may be fetched via rsync, HTTP, FTP, or revision control fetches.
- Execute the policies on the local system.
- These policies use the primitives that Slaughter implements as well as standard perl.
This repository contains my own personal recipies, which are executed upon a number of my own hosts.
There should be sufficient comments to make sense of them, but in brief:
- The initial default.policy is fetched first.
- The initial policy contains only references to other policies which are fetched in turn.
Each policy is self-contained and one policy is present for each task:
- Ensure that the slaughter client runs once per hour on each managed node.
- This policy installs Debian packages which I regard as essential/useful
- Alert, via email, if any system has a full partition
- Configure Apache to mask its version.
There are more policies which you're welcome to explore.