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
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
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
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
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
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
>
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
>> `
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
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
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
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.
__
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
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
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
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_
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
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
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
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
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.
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
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
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
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
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
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:
--
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
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
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
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
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
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
32 matches
Mail list logo