Skip to content

Commit

Permalink
Manage etckeeper.conf via fabric
Browse files Browse the repository at this point in the history
  • Loading branch information
derf committed Apr 6, 2011
1 parent 23b3ca7 commit 79e8d9c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 18 deletions.
8 changes: 0 additions & 8 deletions debian/chaosdorf-admin-toolkit.postrm

This file was deleted.

9 changes: 0 additions & 9 deletions debian/chaosdorf-admin-toolkit.preinst

This file was deleted.

1 change: 0 additions & 1 deletion debian/install
@@ -1,4 +1,3 @@
etckeeper/etckeeper.conf etc/etckeeper
forcecommand/forcecommand usr/lib/nagios/
forcecommand/nagios etc/forcecommand/
forcecommand/backup etc/forcecommand/
Expand Down
3 changes: 3 additions & 0 deletions etckeeper/etckeeper.conf
@@ -1,3 +1,6 @@
# Part of chaosdorf-admin-toolkit
# Only edit in the git repo

VCS="git"

GIT_COMMIT_OPTIONS="-v"
Expand Down
3 changes: 3 additions & 0 deletions fabfile.py
Expand Up @@ -14,3 +14,6 @@ def deploy(version):
run("dpkg --install /tmp/chaosdorf-admin-toolkit_%s_all.deb" % version)
run('etckeeper post-install')
run("rm /tmp/chaosdorf-admin-toolkit_%s_all.deb" % version)

def configs():
put('etckeeper/etckeeper.conf', '/etc/etckeeper/')

0 comments on commit 79e8d9c

Please sign in to comment.