Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Looking for ideas on people's config
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19114,19117#msg-19117
##
bundle common gclass {
classes:
"b1" or
Dear Neil,
Could you please demonstrate with a running example? I couldn't get
this to work...
Thanks,
Aleksey
On Wed, Sep 15, 2010 at 5:36 AM, wrote:
> Forum: Cfengine Help
> Subject: Re: Looking for ideas on people's config
> Author: neilhwatson
> Link to topic
Forum: Cfengine Help
Subject: Re: Cfengine Help: Looking for ideas on people's config
Author: hhammer
Link to topic: https://cfengine.com/forum/read.php?3,18246,18285#msg-18285
Thanks to everybody! I'm leaning towards the solution using methods +
usebundle(), which seems to better sui
On Thu, Sep 16, 2010 at 12:41 AM, wrote:
> Forum: Cfengine Help
> Subject: Re: Cfengine Help: Looking for ideas on people's config
> Author: hhammer
> Link to topic: https://cfengine.com/forum/read.php?3,18246,18258#msg-18258
>
> Thanks. So in this example:
>
&
Forum: Cfengine Help
Subject: Re: Cfengine Help: Looking for ideas on people's config
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18246,18259#msg-18259
web_servers::
"site_seq" slist => { @(common_seq), "php", "apache2"
Forum: Cfengine Help
Subject: Re: Cfengine Help: Looking for ideas on people's config
Author: hhammer
Link to topic: https://cfengine.com/forum/read.php?3,18246,18258#msg-18258
Thanks. So in this example:
"common_seq" slist => { "some", "common", "
Forum: Cfengine Help
Subject: Re: Cfengine Help: Looking for ideas on people's config
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18246,18257#msg-18257
If hosts belong to multiple classes the last class listed will be the final
bundle sequence. Thus an
Forum: Cfengine Help
Subject: Re: Cfengine Help: Looking for ideas on people's config
Author: hhammer
Link to topic: https://cfengine.com/forum/read.php?3,18246,18255#msg-18255
Michael Potter Wrote:
---
> Here my advice:
>
> Try
Forum: Cfengine Help
Subject: Re: Looking for ideas on people's config
Author: hhammer
Link to topic: https://cfengine.com/forum/read.php?3,18245,18254#msg-18254
neilhwatson Wrote:
---
> In promises.cf I define classes in a common bun
:
"any" usebundle => postfix();
"any" usebundle => spamassassin();
}
On Sep 15, 2010, at 8:36 AM, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Re: Looking for ideas on people's config
> Author: neilhwatson
> Link to topic: https
Forum: Cfengine Help
Subject: Re: Looking for ideas on people's config
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18245,18249#msg-18249
In promises.cf I define classes in a common bundle at the top of the file.
Then I can use this classes in common control.
b
"site_seq" slist => { @(common_seq), "mysql" } ;
processing_servers::
"site_seq" slist => { @(common_seq), "some_engine" } ;
# using the above, I can easily add a bundle that applies to every server
(common_seq), or one that applies to just a given class
Forum: Cfengine Help
Subject: Looking for ideas on people's config
Author: hhammer
Link to topic: https://cfengine.com/forum/read.php?3,18245,18245#msg-18245
Hi,
new to cfengine, I'm using cfengine 3 and I'm trying to understand how to best
organize things.
Basically, I'd
13 matches
Mail list logo