/etc/puppet/etckeeper-commit-pre is in puppet-common 3.4.3-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
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 "saving uncommitted changes in /etc prior to puppet catalog run"
# Failure of etckeeper should not be fatal.
exit 0
|