File: etckeeper-commit-post

package info (click to toggle)
puppet-agent 8.10.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,404 kB
  • sloc: ruby: 286,820; sh: 492; xml: 116; makefile: 88; cs: 68
file content (10 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
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