Escape filename in copy_from?

2010-05-26 Thread Assarsson, Emil
Hi, Is there a way to have filenames on the server that contains "%" and how do I escape those filenames in a copy_from statement? I think that this should be mentioned in the documentation but it isn't. Best regards Emil Assarsson Sony Ericsson Mobile Communications AB "The information in th

Re: Escape filename in copy_from?

2010-05-26 Thread Mark Burgess
If you can't use % in the file name, please report as a bug. You could try %%. Assarsson, Emil wrote: > Hi, > > Is there a way to have filenames on the server that contains "%" and how do I > escape those filenames in a copy_from statement? > I think that this should be mentioned in the documen

RE: Escape filename in copy_from?

2010-05-26 Thread Assarsson, Emil
It was a typo that made it fail :-P -- Emil -Original Message- From: Mark Burgess [mailto:mark.burg...@iu.hio.no] Sent: onsdag den 26 maj 2010 14:34 To: Assarsson, Emil Cc: help-cfengine Subject: Re: Escape filename in copy_from? If you can't use % in the file name, please report as a

Re: Escape filename in copy_from?

2010-05-26 Thread Mark Burgess
Ok :) Assarsson, Emil wrote: > It was a typo that made it fail :-P > > -- > Emil > > -Original Message- > From: Mark Burgess [mailto:mark.burg...@iu.hio.no] > Sent: onsdag den 26 maj 2010 14:34 > To: Assarsson, Emil > Cc: help-cfengine > Subject: Re: Escape filename in copy_from? > >

Re: SRPM for Redhat/Centos

2010-05-26 Thread Jeff Sheltren
On 05/22/2010 11:13 AM, Nicolas Charles wrote: > Hi, > > You can find packaged versions of cfengine there : > https://cfengine.com/inside/myspace (need to create a free account) > > Regards, > Nicolas Would be nice if cfengine.com made the SRPM(s) available... -Jeff __

List composition

2010-05-26 Thread Daniel Dehennin
Hello, I'm trying to use what I founded in the reference manual[1] like this: body common control { bundlesequence => { "test" }; version => "0.0.1"; } bundle agent test { vars: any:: "list" slist => {"0", @(l1), @(l2)}; Class1:: "l1" slist => {"1", "2"}; Cla

Managing Solaris logadm.conf

2010-05-26 Thread Justin Lloyd
I'm trying to decide how best to manage certain entries in Solaris /etc/logadm.conf files. Initially, I'm just trying to ensure that /var/adm/wtmpx is being rotated correctly. However, there are a couple of catches in trying to manage this file. 1. The file is generally maintained through the loga

Re: List composition

2010-05-26 Thread Wes Hardin
I think what you're looking for is the "undefined" variable policy. http://www.cfengine.org/manuals/cf3-reference.html#policy-in-vars -- /* Wes Hardin */ UNIX System Administrator, IT Engineering Support Maxim Integrated Products: Innovation Delivered On 05/26/2010 12:37 PM, Daniel Dehennin wrote

Re: List composition

2010-05-26 Thread Daniel Dehennin
Wes Hardin writes: > I think what you're looking for is the "undefined" variable policy. > > http://www.cfengine.org/manuals/cf3-reference.html#policy-in-vars Thanks, but my debian community 3.0.4+dfsg-1 segfault with this: "list" slist => {"0", @(l1), @(l2)}, policy => "

Re: Managing Solaris logadm.conf

2010-05-26 Thread Seva Gluschenko
Justin, perhaps, you shouldn't insist on exact match. It seems to be sufficient to match vital parts of string you want to maintain, e.g. classes: "must_be_changed" not => regcmp(".*-C 3.*-c.*-p 1m.*", "$(args)"); 2010/5/26 Justin Lloyd : > I'm trying to decide how best to manage certain entr