Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread Mikhail Gusarov
On 05/02/2011 06:46 PM, no-re...@cfengine.com wrote: > I might have hit a bug. I had a segfault on a Linux 32 build. Anyone else? I suspect a bug in self-diagnostic code. Could you try to run a testsuite (tests/ subdirectory in source code) and see whether any tests fail? _

[CF2] Saving backup copies of tidied files?

2011-05-02 Thread Paul Krizak
Hi, I'd like to have tidy: actions in my CF2 policy generate backups in the repository. I've pursued using disable: instead of tidy: since it supports a repository option, but the functionality isn't quite right -- disable wants to rename files, and refuses to rename files across filesystems

Re: Cfengine Help: Re: How to modify a global list

2011-05-02 Thread Nicolas Charles
On 27/04/2011 14:08, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: How to modify a global list > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,21589,21642#msg-21642 > > Does that work? I don't think I've seen classes and report promises in an > ed

Cfengine Help: Re: cfengine3 how to organize

2011-05-02 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine3 how to organize Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21622,21732#msg-21732 See normal ordering: http://www.cfengine.org/manuals/cf3-reference.html#Agent-normal-ordering And this example shows how a promise can set a c

Re: cfengine3 how to organize

2011-05-02 Thread Danny Sung
Thanks bbomgardner for the help on organizing cfengine files! I think that's helped me quite a bit. I've also checked out the engine room. But perhaps you can help me with my next steps. =) I've created a bundle agent to handle the management of an ldap server. What I'd like to do is: - g

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread Mikhail Gusarov
On 02.05.2011 20:16, no-re...@cfengine.com wrote: > I've been using --disable-shared and LDFLAGS=`--static`. It seemed to work > OK this time using autogen instead of configure. I'm not compiling mysql > libs at the moment, if that makes a difference. Note that it is known that static linking

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21723,21729#msg-21729 I've been using --disable-shared and LDFLAGS=`--static`. It seemed to work OK this time using autogen instead of configu

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21728#msg-21728 How do you build static? I've been setting LDFLAGS='--static'. If I remove this then the build is successful although t

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21723,21727#msg-21727 Mine worked ok on sles 11. Static compile with pcre-8.10, openssl-1.0.0b, and db-5.1.19. ben@ls-am-cf01:~/cfengine-3.1

Re: Cfengine Help: Re: Newbie Needs help with regular expression

2011-05-02 Thread dave first
Thanks, Neil, that explains it. dave - dave e. baker On Mon, May 2, 2011 at 7:42 AM, wrote: > Forum: Cfengine Help > Subject: Re: Newbie Needs help with regular expression > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,21706,21724#msg-21724 > > So

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21725#msg-21725 I might have hit a bug. I had a segfault on a Linux 32 build. Anyone else? $ cd cfengine-3.1.5/src $ gdb ./cf-promises

Cfengine Help: Re: Newbie Needs help with regular expression

2011-05-02 Thread no-reply
Forum: Cfengine Help Subject: Re: Newbie Needs help with regular expression Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21706,21724#msg-21724 Sorry, I left it out of the post body replace_with replace_last(string2) { replace_value => "${string2}"; occurrences =

Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread Mikhail Gusarov
Hello, Cfengine 3.1.5 is available on http://www.cfengine.org/pages/source_code This release fixes a number of issues discovered after 3.1.4 release, full list of them is available on https://cfengine.com/bugtracker/changelog_page.php This release also contains a few new features requested by

Re: Cfengine Help: Re: Newbie Needs help with regular expression

2011-05-02 Thread dave first
Thanks, Neil! But I'm still having problems. What is replace_last() in your example? Do you have this define in a custom.cf ?? Here's what I get: Undeclared promise body "replace_last()" was referenced in a promise No such FnCall "replace_last()" in promise @ ./cfagent.testservice.conf near lin

Cfengine Help: Re: regex help

2011-05-02 Thread no-reply
Forum: Cfengine Help Subject: Re: regex help Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21705,21721#msg-21721 I removed :? from the expression but still no matches. ___ Help-cfengine mailing list Help-cfengine@cfengine.org