ministryofjustice/etckeeper-formula — pull request #1 by mikepea (2014-09-17 13:43:35+00:00)
Title: Initial etckeeper formula for version control of /etc.

etckeeper is a simple wrapper around a VCS - git in our case - which keeps track of changes to the /etc dir.

This formula adds the etckeeper package, configures it to use Git, and initialises the repo.

The default package setup runs a commit after each package installation, and also one per day via cron.

This also adds hooks to Salt to commit at the start and end (via order:0 and order:last), to ensure changed made before and by Salt are recorded.