Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I heard once that in linux it's possible to put whole /etc/ directory into repository. In fact i already done too much crap on server and I quite disoriented what exactly is setup in there at all.

Question is how to put freebsd all configuration files under Revision Control?

Is there's any solution for that like packages which helps to automatize this? (The only i know is etckeeper which is for linux)

share|improve this question
    
Do you just want to put all your config-files under version control? I don't understand what you mean with packages. Version control is unvisersal, yet not automatic. If you change something, you commit the changes so that you can revert later. Or do you mean something entirely else? –  Alexander Janssen Oct 8 '12 at 17:58
    
Yeap I mean tracing down configuration changes like rcs and etckeeper (this one uses git/mercurial) does. I don't speak about puppet style stuff –  holms Oct 8 '12 at 18:02

1 Answer 1

up vote 0 down vote accepted

If you just want to track the changes of your own configurations on the same local host, you can happily use RCS.

A wonderful and easy howto is available on the internet.

share|improve this answer
    
it's basically tracks files that you know about. with time I even keep forgeting what I did on that server at all. Git style revisioning would be REALLY handy. etckeeper doesn't exists on freebsd =/ –  holms Oct 8 '12 at 18:13
    
But even GIT doesn't track automatically all the files unless you run a cron job which checks for changes periodically. You still need to check them it. Although I don't know about etckeeper. –  Alexander Janssen Oct 8 '12 at 18:17
    
Sure , git doesn't do this by him self, there's few hooks for this. That's why etckeeper appeared. and I basically asking about etckeeper alternative for freebsd. –  holms Oct 8 '12 at 18:18
    
So you want changes automatically commited as soon as they have been made? –  Alexander Janssen Oct 8 '12 at 18:20
    
in there git basically ignores changes made by system. it's only reacts to changes made by you. + lots's of file permission problems fixed in there.. i just googled out that etckeeper like 20min ago so I don't know much =)) –  holms Oct 8 '12 at 18:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.