info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

config-file repository or what !?!


From: raptor
Subject: config-file repository or what !?!
Date: Tue, 2 Oct 2001 11:30:36 +0200

hi,

I was thinking about something, which can be very helpfull if can be done in
some way under CVS control.. so what is it ...

Say u have a couple of boxes and u want to have process something like this
:
U are not doing Repository CheckOut to get the latest stuff... but mostly
pull config files to CVS repository i.e. U go to machine x.y.z.f and do
something like this :

cvs -d :pserver:address@hidden:/cvsroot add httpd.conf
cvs -d :pserver:address@hidden:/cvsroot commit httpd.conf

And what happen on the CVS side :

Cvs creates
/cvsroot/user/user-ip/httpd.conf,v

any consequent commit updates this file accordinaly.. ( or may be some
extention with new param to "add" and/or "commit" so it can generate unique
name based on user system variables, so that it can be used at the CVS
server side as directory name where to store this file ... then probbaly a
command will be needed to mimic other machine, say u reinstalled the box or
want to use the same configuration on other place, it get complicated here
:")) )

Is it possible something like this at all !? or i'm thinking about the wrong
product ?
I really will appricate something like that... 'cause as it seems I will
have a couple of systems spread around the globe which will be good to have
all their configurations on a single place, under CVS control..
=====
iVAN
address@hidden
=====
PS. or different syntax :")

cvs -d :pserver:address@hidden:/cvsroot config-add httpd.conf
cvs -d :pserver:address@hidden:/cvsroot config-commit httpd.conf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]