Brilliant, thank you!
Aleksey
On Wed, Dec 8, 2010 at 11:13 PM, Seva Gluschenko
wrote:
> Aleksey,
>
> the decision to copy a file is made based on copy_from body parameters
> of files promises, just like for any other thing ). So, if your
> copy_from body relies on md5 digest, a file will be copi
https://github.com/cfengine/contrib/blob/master/wordpress_installer.cf
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
Seva Gluschenko writes:
> Dan,
>
> the useful policy to keep in mind all the time while creating either
> cfengine promises or any other piece of code is KISS (keep it safe and
> simple).
>
> I've proposed a generic edit_line bundle for /etc/fstab adjustment
> recently which can be easily adapted
Forum: Cfengine Help
Subject: Re: cf-serverd launches multiple instances from inittab on Solaris 10?
Author: sdodier
Link to topic: https://cfengine.com/forum/read.php?3,19503,19707#msg-19707
Hello,
I haven't received any responses on this question, so let me ask it a
differently way. Is the --
Duh! Why didn't I think of that?
It was the -f that had me stumped. Good call!
On Dec 9, 2010, at 4:43 AM, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: silly cfengine trick #!
> Author: matter
> Link to topic: https://cfengine.com/forum/read.php?3,19692,19692#msg-19692
>
>
Dan,
the useful policy to keep in mind all the time while creating either
cfengine promises or any other piece of code is KISS (keep it safe and
simple).
I've proposed a generic edit_line bundle for /etc/fstab adjustment
recently which can be easily adapted to handle almost any space
separated fi
On 12/09/2010 01:43 PM, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: silly cfengine trick #!
> Author: matter
> Link to topic: https://cfengine.com/forum/read.php?3,19692,19692#msg-19692
>
> Have you ever thought, "Gee, I love the power of cfengine syntax, I just wish
> I could s
Bas,
classes defined via classes body become global, so you must tune class
name to be unique.
2010/12/9 Bas van der Vlies :
> I have this bundle:
> {{{
> bundle agent quarterly {
> methods:
> any::
> "any" usebundle => cfengine_daemons_check();
>
Forum: Cfengine Help
Subject: Re: 3.1.2 binaries for RHEL3?
Author: jgreer
Link to topic: https://cfengine.com/forum/read.php?3,19695,19701#msg-19701
Thanks for the quick turnaround on this - much appreciated!
-Jess
___
Help-cfengine mailing list
Help-
Daniel Dehennin writes:
[...]
> The replace_patterns is always repaired:
[...]
Even a simple one like this:
#v+
cat /tmp/main.cf:
smtp_host smtp.example.net2
#v-
#v+
replace_patterns:
HasSMTPhost::
"^(smtp_host)\s+smtp\.example\.net$" replace_with =>
value("$(match.
no-re...@cfengine.com writes:
> I don't think that PCRE exactly matches Perl regular expressions so
> beware when testing with Perl. I tend to use pcregrep to test
> matches. However, that is not exactly like Cfengine's use of PCRE
> since CF tends to need extra escapes here and there. So I als
Forum: Cfengine Help
Subject: Re: silly cfengine trick #!
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,19692,19699#msg-19699
A very nice trick indeed - although to be fully correct, Neil, it is the kernel
who interprets the #!, the shell is not involved in this particular
Forum: Cfengine Help
Subject: Re: 3.1.2 binaries for RHEL3?
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,19695,19698#msg-19698
The RPM for RHEL3 x86 was added.
Cheers,
--Nakarin
___
Help-cfengine mailing list
Help-cfengine@cf
I have this bundle:
{{{
bundle agent quarterly {
methods:
any::
"any" usebundle => cfengine_daemons_check();
"any" usebundle => system_access_config("lisa");
"any" usebundle => torque_daemons_check
Forum: Cfengine Help
Subject: Cfengine 3.1.2 - Special Efficiency Release
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,19696,19696#msg-19696
Cfengine 3.1.2 is released - with a focus on efficiency
The focus of this release is on improvements in memory and CPU efficiency in
t
Forum: Cfengine Help
Subject: 3.1.2 binaries for RHEL3?
Author: jgreer
Link to topic: https://cfengine.com/forum/read.php?3,19695,19695#msg-19695
Thanks for adding 3.1.2 binaries. Do you plan to release a binary for RHEL3?
We'd been using 3.0.5x binaries on RHEL3 and would like to upgrade to 3.
Forum: Cfengine Help
Subject: Re: silly cfengine trick #!
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19692,19694#msg-19694
Another reason why the shell ranks one higher than Cfengine on my list of
favorite UNIX tools.
___
Forum: Cfengine Help
Subject: Re: edit_lines convergence
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19673,19693#msg-19693
I don't think that PCRE exactly matches Perl regular expressions so beware when
testing with Perl. I tend to use pcregrep to test matches. Howe
Forum: Cfengine Help
Subject: silly cfengine trick #!
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,19692,19692#msg-19692
Have you ever thought, "Gee, I love the power of cfengine syntax, I just wish I
could script it like perl or shell script." Well, what's stopping you.
On 08-12-10 22:31, JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN wrote:
> Hi folks,
>Asked this previously, not sure if anyone has found a way to do it. But
> when recursively copying directories that contain symlinks, on the 1st run
> the symlinks may not get created because the target file hasn't b
20 matches
Mail list logo