diff options
| author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-16 23:04:08 +0200 |
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-16 23:04:08 +0200 |
| commit | 01af1d05a2c3d95101921ca8cec9a03d9eea5150 (patch) | |
| tree | cf3807d3eb4ae25e192271fe359ffd60c3fa050f /etckeeper-commit-post | |
| download | puppet.LW-01af1d05a2c3d95101921ca8cec9a03d9eea5150.tar.gz puppet.LW-01af1d05a2c3d95101921ca8cec9a03d9eea5150.tar.bz2 puppet.LW-01af1d05a2c3d95101921ca8cec9a03d9eea5150.zip | |
initial puppet.LW configuration
Diffstat (limited to 'etckeeper-commit-post')
| -rwxr-xr-x | etckeeper-commit-post | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etckeeper-commit-post b/etckeeper-commit-post new file mode 100755 index 0000000..489b2bd --- /dev/null +++ b/etckeeper-commit-post @@ -0,0 +1,10 @@ +#!/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 |
