Re: ifvarclass when file does NOT exist

2011-06-23 Thread Daniel V. Klein
Aleksey/Seva- So you want to recreate "make" in CFEngine? :-) ifvarclass() says "if the named class exists, do something" fileexists() says "if the named file exists, make the class expression 'true'" and that is used to create a named class. The two are incompatible (because the latter is onl

Re: ifvarclass when file does NOT exist

2011-06-23 Thread Aleksey Tsalolikhin
On Fri, Apr 23, 2010 at 3:38 AM, Сева Глущенко wrote: > Hello folks, > > I'm trying to make a promise which creates files when their > counterparts not exist yet. But when I'm writing something like > >    compile:: >       "$(base)/(.*)/.compile" >               create          => "true", >      

Re: [CF2] Cfagent stuck at startup on Solaris 10 x86?

2011-06-23 Thread Paul Krizak
Nevermind...NIS was fubar on the machine, and I guess Solaris has an unhealthy obsession with NIS services... Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 Linux/Un

Cfengine Help: Re: Cfengine Help: dynamic classes using variables.

2011-06-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: dynamic classes using variables. Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,22544,22610#msg-22610 Aleksey Tsalolikhin Wrote: > ...the same thing I posted later... Darn it. There needs to be a way for mailing list responses

Cfengine Help: Re: dynamic classes using variables.

2011-06-23 Thread no-reply
Forum: Cfengine Help Subject: Re: dynamic classes using variables. Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,22543,22609#msg-22609 To use the class to control reports, what you'd need to do is use the ifvarclass promise (which is available in all of agent's promise types)

[CF2] Cfagent stuck at startup on Solaris 10 x86?

2011-06-23 Thread Paul Krizak
When starting up cfagent on one of our Solaris 10 x86 systems: bash-3.00# /var/cfengine/bin/cfagent -vqIK ^C: Received signal 2 (SIGINT) while doing [pre-lock-state] : Logical start time Thu Jan 1 05:30:00 1970 : This sub-task started really at Thu Jan 1 05:30:00 1970 bash-3.00# date Thursday,

Cfengine Help: Re: Forum spammer(s)

2011-06-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Forum spammer(s) Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,22576,22607#msg-22607 I've also had very good luck with Askimet filtering on a number of low- to moderate-traffic blogs, for whatever that's worth. __

Announcements: CFEngine joins Open Virtualization Alliance

2011-06-23 Thread no-reply
Forum: Announcements Subject: CFEngine joins Open Virtualization Alliance Author: CFEngine Link to topic: https://cfengine.com/forum/read.php?1,22606,22606#msg-22606 Today, CFEngine joined the Open Virtualization Alliance, a consortium committed to fostering the adoption of open virtualization te

Re: Emacs cfengine3 mode?

2011-06-23 Thread Ted Zlatanov
On Mon, 20 Jun 2011 13:06:12 -0500 Diego Zamboni wrote: DZ> On 6/16/2011 9:59 AM, Ted Zlatanov wrote: >> The cfengine mode that ships with GNU Emacs (written by Dave Love) works >> OK, but is not aware of the many new cfengine3 keywords. Indentation is >> a bit off, as well, in some sections. >