CFEngine Help: Re: On persistent classes

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: On persistent classes Author: toddnni Link to topic: https://cfengine.com/forum/read.php?3,24095,24150#msg-24150 sauer, nice try and quite elegant too. This reminds me of my experiments which I did months ago, I tried to set a class using 'classes =>' when a var

RE: Fatal cfengine error: RSA Exponent too small or not odd

2011-12-02 Thread Francoeur, Louis
gcc version 3.4.3 on hpux B.11.11 U 9000/800 Louis Francoeur Unix administrator/Adminstrateur Unix -Original Message- From: help-cfengine-boun...@cfengine.org [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Mikhail Gusarov Sent: Friday, December 02, 2011 2:16 AM To: help-cfengin

Re: cannot use cfengine3 mode in Emacs 23

2011-12-02 Thread Mikhail Gusarov
Ted, On 11/25/2011 02:26 PM, Ted Zlatanov wrote: > cfengine SVN maintainers: please review the attached file and especially > the copyright notice. I believe it's no different from before as far as > the cfengine project is concerned, but you should be aware that it's a > GPL-ed fork, for compat

Re: cannot use cfengine3 mode in Emacs 23

2011-12-02 Thread Ted Zlatanov
On Fri, 02 Dec 2011 15:47:06 +0100 Marco Marongiu wrote: MM> I confirm the following: MM> My platform: Ubuntu 10.04.3 LTS (as appears in motd) MM> My Emacs: MM> This is GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) MM> of 2011-03-04 on palmer, modified by Debian ... MM> I confirm

Re: cannot use cfengine3 mode in Emacs 23

2011-12-02 Thread Ted Zlatanov
On Fri, 02 Dec 2011 15:59:49 +0100 Mikhail Gusarov wrote: MG> Ted, MG> On 11/25/2011 02:26 PM, Ted Zlatanov wrote: >> cfengine SVN maintainers: please review the attached file and especially >> the copyright notice. I believe it's no different from before as far as >> the cfengine project is

Re: cannot use cfengine3 mode in Emacs 23

2011-12-02 Thread Mikhail Gusarov
On 12/02/2011 04:44 PM, Ted Zlatanov wrote: > MG> Could you ask Emacs guys (or make a patch yourself) to rename > MG> cfengine-mode to cfengine2-mode, or something similar? > > That would break backwards compatibility. So I have > `cfengine-auto-mode' which tries to intelligently pick between >

Re: cannot use cfengine3 mode in Emacs 23

2011-12-02 Thread Ted Zlatanov
On Fri, 02 Dec 2011 16:48:38 +0100 Mikhail Gusarov wrote: MG> On 12/02/2011 04:44 PM, Ted Zlatanov wrote: MG> Could you ask Emacs guys (or make a patch yourself) to rename MG> cfengine-mode to cfengine2-mode, or something similar? >> >> That would break backwards compatibility. So I have >> `

CFEngine Help: Re: On persistent classes

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: On persistent classes Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24095,24158#msg-24158 Well, if it's not gonna work, it should at least look pretty. :) In any event, I'd expect that a classes promise would be considered kept if the class

CFEngine Help: Re: convert class name into a string

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: convert class name into a string Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24123,24159#msg-24159 Could you read in /var/cfengine/state/allclasses.txt and use those as array indexes / an slist to get where you're trying to go? It's not co

CFEngine Help: Slists and looping

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Slists and looping Author: random Link to topic: https://cfengine.com/forum/read.php?3,24160,24160#msg-24160 I'm messing around with some simple looping over slists and ran into a problem with the code below. It appears that cfengine isn't recursive when looping and

CFEngine Help: Re: convert class name into a string

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: convert class name into a string Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,24123,24161#msg-24161 Sauer, good suggestion, but allclasses.txt are only global classes. Local classes wouldn't work. __

CFEngine Help: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: controlling redhat-style startup services via chkconfig Author: matt_garman Link to topic: https://cfengine.com/forum/read.php?3,24162,24162#msg-24162 Hi, I'm trying to create a promise that makes sure startup services are enabled on CentOS (RHEL) servers via the "c

CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: controlling redhat-style startup services via chkconfig Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,24162,24163#msg-24163 matt_garman Wrote: --- > I don't understand why this is. It is bec

CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: controlling redhat-style startup services via chkconfig Author: matt_garman Link to topic: https://cfengine.com/forum/read.php?3,24162,24164#msg-24164 Beto Wrote: --- > It is because of a purely arbitrary and > i

CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: controlling redhat-style startup services via chkconfig Author: matt_garman Link to topic: https://cfengine.com/forum/read.php?3,24162,24165#msg-24165 And also, for what it's worth, if I do away with the "variable" list declaration, it works as expected. "check_

CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: controlling redhat-style startup services via chkconfig Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24162,24166#msg-24166 You can get around this by using cfengine_3 class instead of any. Which, as Bento noted, makes one wonder what

CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: controlling redhat-style startup services via chkconfig Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24162,24167#msg-24167 I don't think the class in your called bundle will be global. Classes are only global in common bundles and fro

CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: controlling redhat-style startup services via chkconfig Author: matt_garman Link to topic: https://cfengine.com/forum/read.php?3,24162,24168#msg-24168 neilhwatson Wrote: --- > I don't think the class in your call

Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread Jesse Becker
On Fri, Dec 02, 2011 at 03:02:33PM -0500, no-re...@cfengine.com wrote: >Forum: CFEngine Help >Subject: Re: controlling redhat-style startup services via chkconfig >Author: matt_garman >Link to topic: https://cfengine.com/forum/read.php?3,24162,24165#msg-24165 > >And also, for what it's worth, if I

CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: controlling redhat-style startup services via chkconfig Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24162,24169#msg-24169 Ignore my last post. I was in error. Please state your new question, expected versus actual results.

CFEngine Help: Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig Author: matt_garman Link to topic: https://cfengine.com/forum/read.php?3,24170,24171#msg-24171 Jesse Becker Wrote: --- > You can't do th

CFEngine Help: Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24170,24172#msg-24172 You might define your host classes in a common bundle. Then define your variables in the ma

Re: CFEngine Help: Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread Jesse Becker
On Fri, Dec 02, 2011 at 04:12:12PM -0500, no-re...@cfengine.com wrote: >Forum: CFEngine Help >Subject: Re: CFEngine Help: Re: controlling redhat-style startup services via >chkconfig >Author: matt_garman >Link to topic: https://cfengine.com/forum/read.php?3,24170,24171#msg-24171 > >Jesse Becker Wr

CFEngine Help: Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig Author: matt_garman Link to topic: https://cfengine.com/forum/read.php?3,24170,24174#msg-24174 neilhwatson Wrote: --- > You might define

CFEngine Help: Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24170,24175#msg-24175 Not tested. bundle common g { classes: "dns_servers" or => { "ipv

CFEngine Help: Re: CFEngine Help: Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: CFEngine Help: Re: controlling redhat-style startup services via chkconfig Author: matt_garman Link to topic: https://cfengine.com/forum/read.php?3,24170,24176#msg-24176 Jesse Becker Wrote: --

CFEngine Help: CFEngine viable alternative to Kaseya?

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: CFEngine viable alternative to Kaseya? Author: theaccount Link to topic: https://cfengine.com/forum/read.php?3,24177,24177#msg-24177 Our organization is using Kaseya; and we are looking for an open source alternative. Does CFEngine have the capability for remote scri

CFEngine Help: Re: controlling redhat-style startup services via chkconfig

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: controlling redhat-style startup services via chkconfig Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,24162,24178#msg-24178 Hey Matt I wrote up a post about how I solved this, and posted my policy. I deal with chkconfig, and

Re: CFEngine Help: Slists and looping

2011-12-02 Thread Jonathan Clarke
no-re...@cfengine.com a écrit : >Forum: CFEngine Help >Subject: Slists and looping >Author: random >Link to topic: >https://cfengine.com/forum/read.php?3,24160,24160#msg-24160 > >I'm messing around with some simple looping over slists and ran into a >problem with the code below. It appears tha

CFEngine Help: Re: CFEngine viable alternative to Kaseya?

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine viable alternative to Kaseya? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24177,24180#msg-24180 You can do this. Although, this is not the ideal way to use Cfengine. Using Cfengine to define the ideal running state of a hos

CFEngine Help: Re: CFEngine viable alternative to Kaseya?

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine viable alternative to Kaseya? Author: theaccount Link to topic: https://cfengine.com/forum/read.php?3,24177,24181#msg-24181 Is there a tool that you would recommend for remote script execution? ___ Help-cfengin

CFEngine Help: Re: CFEngine viable alternative to Kaseya?

2011-12-02 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine viable alternative to Kaseya? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24177,24182#msg-24182 I recommend automation rather than remote execution. Computers push pre-configured buttons more efficiently than humans. I su