puppet-deploy/etckeeper-commit-post

11 lines
245 B
Text
Raw Permalink Normal View History

2014-10-27 23:08:28 +01:00
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
which etckeeper > /dev/null 2>&1 || exit 0
etckeeper commit "committing changes in /etc after puppet catalog run"
# Failure of etckeeper should not be fatal.
exit 0