allow avoiding autocommits

by default, etckeeper will be configured so that auto commits are on (etckeeper
default).  if avoid_autocommits is true, etckeeper will be configured to avoid
autocommits (daily or before package manager runs).
master
neingeist 8 years ago
parent 6de0ca21cc
commit 3649de7e3a

@ -0,0 +1,2 @@
---
avoid_autocommits: false

@ -18,7 +18,7 @@ DARCS_COMMIT_OPTIONS="-a"
# Uncomment to avoid etckeeper committing existing changes
# to /etc automatically once per day.
#AVOID_DAILY_AUTOCOMMITS=1
AVOID_DAILY_AUTOCOMMITS={{ '1' if avoid_autocommits else '0' }}
# Uncomment the following to avoid special file warning
# (the option is enabled automatically by cronjob regardless).
@ -27,7 +27,7 @@ DARCS_COMMIT_OPTIONS="-a"
# Uncomment to avoid etckeeper committing existing changes to
# /etc before installation. It will cancel the installation,
# so you can commit the changes by hand.
#AVOID_COMMIT_BEFORE_INSTALL=1
AVOID_COMMIT_BEFORE_INSTALL={{ '1' if avoid_autocommits else '0' }}
# The high-level package manager that's being used.
# (apt, pacman-g2, yum, dnf, zypper etc)

Loading…
Cancel
Save