help-cfengine
[Top][All Lists]
Advanced

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

Re: cfengine and revision control


From: Josh Lothian
Subject: Re: cfengine and revision control
Date: Tue, 10 May 2005 08:53:33 -0400
User-agent: Mutt/1.5.6i

On Mon, May 09, 2005 at 04:13:30PM -0400, Luke Youngblood wrote:
> On second thought, that might not help too much, because the files in /etc
> have a variety of owners and a variety of file modes.  But, by putting the
> copy before the files section in actionsequence, you can ensure that the
> files will be copied and the modes fixed all in one cfagent pass.

That was my original thought as well, however there's that period of time
between the end of the copy pass and before the files pass completes
that some files may have unknown/wrong permissions.  Some of our users
are rather vocal when things break, even for a short period of time.

Right now I think my two best options are:

1. using the aforementioned wrapper around subversion to set the correct
file permissions on the master by calling some script.

2. Setting properties on each file that specify what the permissions
should be, then using some hooks which reset the file permissions when
an update/checkout is performed.  In which case, this becomes purely a
subversion issue and not a cfengine issue.

The idea from the SingleCopy Nirvana discussion on the wiki is
interesting, but one things it adds it a couple more steps of complexity,
which I'm not a big fan of.  There may end up being 5-10 other people
mucking with the configs, and the less I have to explain/maintain the
better :)

-jkl




reply via email to

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