Questions tagged [etckeeper]

etckeeper is a tool to monitor changes to /etc with revision control systems such as git

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

How to correctly configure etckeeper auto-push?

I have installed etckeeper and correctly set up a remote origin in the git repo in /etc. In /etc/etckeeper/etckeeper/conf, I have a line with PUSH_REMOTE="origin". A manual git push origin ...
user avatar
  • 101
3 votes
0 answers
143 views

Track multiple directories with etckeeper

I'm trying to provide a solution to use etckeeper as a keeper of multiple locations (directories). I'm using Debian 8. With the default config etckeeper "watches" the /etc directory but I want to have ...
user avatar
  • 133
0 votes
1 answer
405 views

Install etckeeper via ansible, and perform first commit at end of playbook

I'm using ansible to provision a server. One of the roles installs etckeeper, which automatically creates the git repo and makes the first commit. If many tasks run after that (which install via apt ...
user avatar
  • 745
1 vote
1 answer
371 views

Sortable list of all packages (dpkg)

I want to dump all installed packages on a system which uses dpkg. Up to now I use dpkg -l. But it has one draw back: Sorting the result does not make sense. Head: root@aptguettler:~# LANG=C dpkg-...
user avatar
  • 2,964
1 vote
1 answer
94 views

Log hwinfo output with etckeeper

I like etckeeper. It does store the etc/ directory in a git repository. This way I have a nice history of what changed. Of course we have backups, but this is convenient. I would like to store ...
user avatar
  • 2,964
0 votes
2 answers
210 views

SaltStack: Do "etckeeper init" if /etc/.git is not there

I want to deploy the tool etckeeper via SaltStack. Installating the RPM/DPKG is easy. Next step is to call etckeeper init after the installation. My current idea is this pseudo-code: execute ...
user avatar
  • 2,964
0 votes
1 answer
75 views

Resolve a contradictory conflict in /etc tree (mercurial-based etckeeper)

I have an /etc file tree which is managed by etckeeper, based on Mercurial. After running apt-get dist-upgrade, I want to revision the changes which have been applied by the upgrade. However, when ...
user avatar
  • 165
5 votes
1 answer
382 views

EtcKeeper: Switching from bzr to git

I've been using etckeeper on my Digital Ocean droplet for sometime and have made numerous changes to the /etc since that time. I now realize that i've been using bzr all this time and would like to ...
user avatar
  • 165
2 votes
1 answer
222 views

Can we get git-like functionality with a tool like puppet?

I'm thinking about a convenient way to track my vps configurations and to deploy them in one click (or more or less one). I have been reading up and looking into different config deployment tools of ...
user avatar
3 votes
2 answers
898 views

Why is there no git repository after installing etckeeper?

I installed etckeeper on my ubuntu 11.10 server, and after creating the etckeeper repository with: etckeeper init etckeeper commit "Initial version" I got the error: bzr: ERROR: No changes to ...
user avatar
  • 2,262
9 votes
4 answers
4k views

etckeeper pushing to github

I set up etckeeper and added the file /etc/etckeeper/commit.d/60github-push in order to push the commit to github. [orschiro@thinkpad etc]$ sudo cat /etc/etckeeper/commit.d/60github-push #!/bin/sh ...
user avatar
  • 193
5 votes
1 answer
757 views

How can I use etckeeper via sudo with different users and have the correct user in the commit message? [duplicate]

I'm working on a server with several admin users. Each of them can use sudo to make configuration changes. We're keepeing our /etc directory version-controlled using etckeeper. However, when I or ...
user avatar
  • 1,054
9 votes
3 answers
5k views

etckeeper on custom directory

I have been reading about etckeeper, but I can't work out if you can use it on any other directories other than /etc. There seems to be no reference to /etc in any configuration file (that I can find)...
user avatar
  • 4,112
-4 votes
1 answer
191 views

etckeeper user and system diffs [closed]

I'm looking for a way to keep user and system-made changes to /etc using etckeeper seperate automatically. Basically different commits for user and system. I'm sure many other sysadmins could benefit ...
user avatar
  • 1
3 votes
2 answers
872 views

etckeeper implementation in subversion (SVN)

How to setup etckeeper in subversion (SVN).I get to know that etckeeper works with git , mercurial (hg) etc, but it doesn't works with subversion. I am stuck with this etckeeper implementation in ...
user avatar
8 votes
1 answer
2k views

etckeeper, Git checkout, and broken file permissions in /etc

I wanted to figure out why, after a etckeeper commit, I had a problem with rebooting (already solved thanks to this great thing). I played with etckeeper, did git checkout some_commit_sha for a quick ...
user avatar
  • 205
6 votes
2 answers
4k views

How do I turn off etckeeper. It's preventing me from upgrading Ubuntu

I'm trying to upgrade from Ubuntu Karmic to Lucid, but it fails because etckeeper detects changes which happen during sudo do-release-upgrade and prevents the running of apt. How do I temporarily turn ...
user avatar
  • 163
5 votes
2 answers
1k views

Using etckeeper - protection and other questions

Following the suggestion made Putting /etc under source control I have installed ETCKEEPER. It seems pretty good but I have some questions. Is the any way off putting the command you do into the ...
user avatar
12 votes
5 answers
3k views

Can etckeeper be used to track config files outside of /etc?

Specifically I would like to track my grub.conf (/boot/grub/grub.conf) and some oracle files (i.e. /db/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora). I attempted using links; however ...
user avatar
  • 895
13 votes
6 answers
1k views

Is there a etckeeper equivalent for Windows? AKA Windows config revision-control

I want to make a central config file repository so that I can have the changes to any config under revision control (Mercurial). This will include some GNU/Linux boxes (which will use etckeeper), the ...
user avatar
7 votes
5 answers
6k views

How to store etckeeper repositories on a central server via git

I would like to have one central git repository for all my servers' etckeeper .git repos. Here the suggestion was to use a file in /etc/etckeeper/commit.d, which basically looks like this, assuming ...
user avatar
  • 1,054
11 votes
2 answers
2k views

How to setup etckeeper with Mercurial in Ubuntu?

I'm interested in installing etckeeper with Mercurial in my Ubuntu system. My reason is that I don't know how to use Git and don't want to learn at the moment. If I check the package description it ...
user avatar
  • 1,832
10 votes
5 answers
5k views

Is it possible to use etckeeper with a single shared git repository?

I noticed that several people have recommended using etckeeper to apply version control to my /etc directory. It appears to me that the default install puts a repository on the same machine as the /...
user avatar
  • 22.1k