Re: [ANNOUNCE] CFEngine Community 3.3.4 is released

2012-06-27 Thread Riccardo Murri
Hello, On Thu, Jun 21, 2012 at 10:50 AM, Mikhail Gusarov wrote: > CFEngine Community 3.3.4 is now available for download. Thanks a lot for the new release! However, the download page on the CFengine.com website requires me to manually click on every single OS/architecture that I need to support

CFEngine Help: Re: cf_promises_validated and $(master_location)

2012-06-27 Thread no-reply
Forum: CFEngine Help Subject: Re: cf_promises_validated and $(master_location) Author: Tim Link to topic: https://cfengine.com/forum/read.php?3,26327,26336#msg-26336 Thank you, Neil. With the creation location for /var/cfengine/masterfiles/cf_promises_validated hard coded in Cfengine, doing the s

Directory is controlled by another user - trusting its content is potentially risky (possible race)

2012-06-27 Thread Ron Parker
We have a system that sometimes leaves stray subversion locks laying around and are trying to clean those up. I'm getting the warning mentioned in the subject and attempted tho workaround mentioned in http://cfengine.org/pipermail/help-cfengine/2010-February/007638.html. But in my case its not enou

CFEngine Help: Re: classes not working in vars?

2012-06-27 Thread no-reply
Forum: CFEngine Help Subject: Re: classes not working in vars? Author: ipesin Link to topic: https://cfengine.com/forum/read.php?3,25293,26337#msg-26337 Hi! Sorry for reviving the old topic but bumped into similar issue - defining a class in vars: section. Basically, the reason is that we want t

CFEngine Help: Re: Directory is controlled by another user - trusting its content is potentially risky (possible race)

2012-06-27 Thread no-reply
Forum: CFEngine Help Subject: Re: Directory is controlled by another user - trusting its content is potentially risky (possible race) Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26338,26339#msg-26339 What does the '.*' mean in your mind? Can that be replaced with a d

Re: CFEngine Help: Re: Directory is controlled by another user - trusting its content is potentially risky (possible race)

2012-06-27 Thread Ron Parker
Thanks for the response Neil, On Wed, Jun 27, 2012 at 12:05 PM, neilwatson wrote: > What does the '.*' mean in your mind?  Can that be replaced with a different > recurse depth in  the depth_search? In this case the '.*' means all immediate sub-directories of the projects directory which also

Re: CFEngine Help: Re: Directory is controlled by another user - trusting its content is potentially risky (possible race)

2012-06-27 Thread Ron Parker
Looking back at these systems, I actually need to remove all .svn/lock files from anywhere they occur below the projects directory. So anything short of an "inf" recurse depth will be insufficient. But I still have the question of how to only pickup lock files inside .svn directories and nowhere el

Re: CFEngine Help: Re: Directory is controlled by another user - trusting its content is potentially risky (possible race)

2012-06-27 Thread Jesse Becker
Could you use a module to generate an slist of ".svn directories with lock files", and then iterate over that? On Wed, Jun 27, 2012 at 03:29:04PM -0400, Ron Parker wrote: >Looking back at these systems, I actually need to remove all .svn/lock >files from anywhere they occur below the projects dir

Re: CFEngine Help: Re: Directory is controlled by another user - trusting its content is potentially risky (possible race)

2012-06-27 Thread Ron Parker
On Wed, Jun 27, 2012 at 2:30 PM, Jesse Becker wrote: > Could you use a module to generate an slist of ".svn directories with > lock files", and then iterate over that? My original implementation used an execresult to do that but I was trying to keep it all in CFEngine. I may have to revert to tha

Re: CFEngine Help: Re: Directory is controlled by another user - trusting its content is potentially risky (possible race)

2012-06-27 Thread Jesse Becker
On Wed, Jun 27, 2012 at 03:32:38PM -0400, Ron Parker wrote: >On Wed, Jun 27, 2012 at 2:30 PM, Jesse Becker wrote: >> Could you use a module to generate an slist of ".svn directories with >> lock files", and then iterate over that? > >My original implementation used an execresult to do that but I w

CFEngine Help: Re: Directory is controlled by another user - trusting its content is potentially risky (possible race)

2012-06-27 Thread no-reply
Forum: CFEngine Help Subject: Re: Directory is controlled by another user - trusting its content is potentially risky (possible race) Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26338,26346#msg-26346 I would look at leaf_name in a file_select body. http://cfengine.com

CFEngine Help: Re: Directory is controlled by another user - trusting its content is potentially risky (possible race)

2012-06-27 Thread no-reply
Forum: CFEngine Help Subject: Re: Directory is controlled by another user - trusting its content is potentially risky (possible race) Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26338,26347#msg-26347 This one covers subdirs: newatson@ltipc682:~/.cfagent/inputs$ cat f