Brian,
You are completely right, did not had enough coffee when i posted this.
regards
On 10/12/2012 08:13 PM, Brian Bennett wrote:
> I agree with this assessment. The next 5-minute marker is Min25_30. If
> Min20_25 were inclusive, then it would overlap with Min25_30 by one minute.
>
> It ma
I agree with this assessment. The next 5-minute marker is Min25_30. If Min20_25
were inclusive, then it would overlap with Min25_30 by one minute.
It makes sense when they're considered together, and it's better syntax than
Min20_24_59.
On Oct 12, 2012, at 10:21 AM, Brad Beyenhof wrote:
> On
On Fri, Oct 12, 2012 at 7:31 AM, Bas van der Vlies wrote:
>
> When i specify a time class like:
> * Min20_25
>
> Till which minute is this class valid. Is minute Min25 also valid?
>
> I have written a simple test and it show that Min25 is invalid
I seems to me that this should be expected. The "
When i specify a time class like:
* Min20_25
Till which minute is this class valid. Is minute Min25 also valid?
I have written a simple test and it show that Min25 is invalid (test with 3.3.2
and 3.4.0b2.ef90fb5)
body common control
{
bundlesequence => { test };
}
bundle agent test
{
re
Forum: CFEngine Help
Subject: Re: Force variables to be defined after classes?
Author: davinken
Link to topic: https://cfengine.com/forum/read.php?3,18656,27587#msg-27587
I guess the CLUSTER and cluster_classes variables need also to have the policy
=> "overridable"; declared. In
> I got: Unable to parse class expression: ->@(webservers)
I think you need to use it without the quotes.
--Diego
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
;t contain anything -- you need an
expression, or, and part to give the class a meaning.
If varclass only determines whether a promise will be made at all. Right
now the promise is an empty promise.
> Let me come at it from another angle. Could you please explain why
> this is
Forum: CFEngine Help
Subject: Re: CFEngine 3.3.5 does not like {{{ classes: "webclass" or => {
"@(webservers)" }; }}} (Was: Re: CFEngine Help: Re: False report of "no
constrants" in constrained classes promises.)
Author: phnakarin
Link to topic: https://cfengine
Forum: CFEngine Help
Subject: Re: False report of "no constrants" in constrained classes promises.
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,27501,27526#msg-27526
There's no action for a classes promise with nothing in the body but an
"ifvarclass
On Sun, Sep 23, 2012 at 12:46 AM, Mark wrote:
>
> I think what you are trying to write is this:
>
>
> vars:
> "webservers" slist => { "web01", "web02", "web03" };
>
> classes:
>
>"webclass" o
ine the class.
I still don't get it. Doesn't the context constrain the promise? the
ifvarclass
will evaluate to true on some systems and false on others.
Let me come at it from another angle. Could you please explain why
this is valid:
{{{
bundle agent example
{
classes:
Forum: CFEngine Help
Subject: Re: False report of "no constrants" in constrained classes promises.
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,27501,27506#msg-27506
On 09/23/2012 02:42 AM, Aleksey Tsalolikhin wrote:
> Situation: I want to target a promise to a
1: Loop over the list of server names, checking if any match
the current context.
FAIL. 3.3.5 complains "No constraints for class promise webfarm":
{{{
bundle common global_classes {
classes:
"webfarm"
ifvarclass => canonify("$(global_vars.webservers)
Forum: CFEngine Help
Subject: Re: Solaris zone_ classes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27191,27192#msg-27192
That is new in 3.4.0 which is still in pre release:
https://cfengine.com/forum/read.php?3,27069
Forum: CFEngine Help
Subject: Solaris zone_ classes
Author: bahamat
Link to topic: https://cfengine.com/forum/read.php?3,27191,27191#msg-27191
The cf3 reference manual says that a class of "zone_name" should be set on
Soalris 10. Maybe it's just overly specific, but I don
Forum: CFEngine Help
Subject: Undefining a class with body classes cancel_
Author: nickanderson
Link to topic: https://cfengine.com/forum/read.php?3,27021,27021#msg-27021
The reference manual says that strings passed to cancel_repaired and
cancel_kept are automatically canonified.
I am getting
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,26866,26955#msg-26955
I don't think you can hide those I: messages because you run it with --inform
(-I). Why don'
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26866,26954#msg-26954
Just tried to use "in_range_define" instead of "out_of_range_define" ... but
the "
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26866,26951#msg-26951
phnakarin Wrote:
---
> Sorry that I don't fo
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,26866,26935#msg-26935
Sorry that I don't follow the thread from start, but this is a kind of promise
you'd like?
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26866,26933#msg-26933
I prefer to define a class :
- I can print a report in log file
- I can also correctly stop the process using
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26866,26931#msg-26931
If the intent of the example is to kill any unwanted process then there might
be no need for a count
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26866,26925#msg-26925
This is not working at all ... :
body process_count any_count_no_inform(cl) {
match_range
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26866,26923#msg-26923
It works like a charm, expect for this little "warning" from Cfengine (how to
avoid it since I ha
Forum: CFEngine Help
Subject: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26838,26922#msg-26922
nickanderson Wrote:
---
> loopx, in case you didnt see the conversat
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26866,26921#msg-26921
Hi Ted Zlatanov, Hi Nick Anderson,
Sorry for the delay, I was on another issue related to DRBD (nothing to
Forum: CFEngine Help
Subject: Re: Define classes if a process is running or not
Author: nickanderson
Link to topic: https://cfengine.com/forum/read.php?3,26838,26873#msg-26873
loopx, in case you didnt see the conversation moved off this thread (byproduct
of the mailing list integration) -> ht
On 08/02/2012 08:17 AM, Nick Anderson wrote:
> Basically the promisee has not promised anything, so its ok.
> If you add a process_count attribute to that promise body I think you
> might start seeing the behaviour you were expecting or looking for.
Here is an example.
body common control {
omise.
I have a vague recollection of a similar discussion on the list.
Basically the promisee has not promised anything, so its ok.
If you add a process_count attribute to that promise body I think you
might start seeing the behaviour you were expecting or looking for.
That being said, I agree wi
On Thu, 2 Aug 2012 13:51:07 +0200 (CEST) loopx wrote:
n> This one is working fine :
n> processes:
n> redhat_6::
n> "rhsmcertd"
n> #classes=>
i
Forum: CFEngine Help
Subject: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26838,26865#msg-26865
This one is working fine :
processes:
redhat_6::
"rhsm
Forum: CFEngine Help
Subject: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26838,26863#msg-26863
Hi,
Using this :
processes:
redhat_6::
"rhsm
Forum: CFEngine Help
Subject: Re: CFEngine Help: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26839,26862#msg-26862
Hi,
I will make some update to my code to try to avoid using the module and use
only one class
Forum: CFEngine Help
Subject: Re: CFEngine Help: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26842,26861#msg-26861
Yes, I think too it's a better idea to only have 1 class (set or unset) but not
both ...
Think pos
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26668,26860#msg-26860
Sorry for that : RTFM :D
Thanks
___
Help-cfengine mailing list
Help-cfengine
Forum: CFEngine Help
Subject: Re: Define classes if a process is running or not
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,26838,26854#msg-26854
Oh, and fo the record, i do agree with the two responses that came from the
mailing list - I'd use "is_ru
Forum: CFEngine Help
Subject: Re: Define classes if a process is running or not
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,26838,26853#msg-26853
One problem with using two classes is that, if you define two separate classes,
you need to have an action body which not only
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26668,26847#msg-26847
http://cfengine.com/manuals/cf3-Reference#Function-usemodule
___
Help
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26668,26846#msg-26846
Hi,
I've got question related to your code ...
classes:
"idalv_set" expression => usemodule("
On 08/01/2012 05:00 AM, no-re...@cfengine.com wrote:
> To make some promise, I need to define classes like this :
> - XXX_running
> - XXX_stopped
Sometimes, it is helpful to take a step back and think about things from
a different perspective.
I know this is not a direct answer to your
On Wed, 1 Aug 2012 12:00:00 +0200 (CEST) loopx wrote:
n> To make some promise, I need to define classes like this :
n> - XXX_running
n> - XXX_stopped
n> But, I've seen that it's possible to define classes with built-in
n> methods of Cfengine3. In the community
Forum: CFEngine Help
Subject: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26838,26838#msg-26838
Hi,
To make some promise, I need to define classes like this :
- XXX_running
- XXX_stopped
At the beginning, we was using (like
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: vladi
Link to topic: https://cfengine.com/forum/read.php?3,26668,26707#msg-26707
Like this?
bundle agent idalv {
classes:
"idalv_set" expression => usemodule("idalv-cf
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26668,26702#msg-26702
Can you pair it down to a small self contained example?
___
Help
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: vladi
Link to topic: https://cfengine.com/forum/read.php?3,26668,26698#msg-26698
Also tried this with no success:
bundle agent idalv {
classes:
"idalv_set" expression => use
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26668,26677#msg-26677
If you want a common bundle to be evaluated for use with the common control
body then it must reside in promises.cf
Anyone know why when inputs slist is evaluated it does not care about classes
generated from my module call even after I specify the dynamic bundle which
sets and appends inputs
only after the module has been ran with idalv_set:: class below?
body common control {
bundlesequence
Forum: CFEngine Help
Subject: Re: classes visibility in edit_template?
Author: tdr
Link to topic: https://cfengine.com/forum/read.php?3,26375,26388#msg-26388
Hi,
I hit this when first trying out edit_template as well (just this past
weekend...). I'd like to suggest that the documentatio
On Mon, Jul 2, 2012 at 2:31 PM, Mark Burgess wrote:
> Ah, that sounds like a bug/unanticipated issue. Please file a report.
Done: issue 1208.
For the record, I've found a workaround:
1- instead of defining classes in the `classes:` section, call a
bundle of type "common"
file
from a bundle; however, conditionals based on classes defined in the
bundle are apparently ignored (i.e., the class expression evaluates to
"!any").
I guess that CFEngine does not export bundle-local classes to the
templating engine (although it's in the same bundle). Is there
Hello,
I'm trying to use `edit_template` to generate a configuration file
from a bundle; however, conditionals based on classes defined in the
bundle are apparently ignored (i.e., the class expression evaluates to
"!any").
I guess that CFEngine does not export bundle-local
Forum: CFEngine Help
Subject: Re: classes not working in vars?
Author: ipesin
Link to topic: https://cfengine.com/forum/read.php?3,25293,26337#msg-26337
Hi!
Sorry for reviving the old topic but bumped into similar issue - defining a
class in vars: section. Basically, the reason is that we want
see it.
TZ> It doesn't solve the problem either (a leaf bundle can be invoked
TZ> multiple times), and I would like a "classes_local" body that acts
TZ> exacly like "classes" but the context it sets is local to the bundle
TZ> invocation. This is the case for co
e problem either (a leaf bundle can be invoked
multiple times), and I would like a "classes_local" body that acts
exacly like "classes" but the context it sets is local to the bundle
invocation. This is the case for contexts created by other means in a
bundle, so it should be po
Forum: CFEngine Help
Subject: Re: 3.1.4 => 3.3.4: has something changed regarding classes in bundles?
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,26274,26295#msg-26295
David,
You are correct, set_variable_values probably needs to be completely rewritten.
I'
Forum: CFEngine Help
Subject: Re: 3.1.4 => 3.3.4: has something changed regarding classes in bundles?
Author: davidlee
Link to topic: https://cfengine.com/forum/read.php?3,26274,26292#msg-26292
Thanks, Diego. It's re-assuring to know that my analysis seems correct.
Having said that,
Forum: CFEngine Help
Subject: Re: 3.1.4 => 3.3.4: has something changed regarding classes in bundles?
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,26274,26280#msg-26280
David - good and correct analysis. Indeed by definition all classes set by the
"classes"
Forum: CFEngine Help
Subject: Re: 3.1.4 => 3.3.4: has something changed regarding classes in bundles?
Author: davidlee
Link to topic: https://cfengine.com/forum/read.php?3,26274,26278#msg-26278
I've been doing a little more digging. I think the main fault is a
long-standing one in t
Forum: CFEngine Help
Subject: Re: 3.1.4 => 3.3.4: has something changed regarding classes in bundles?
Author: bahamat
Link to topic: https://cfengine.com/forum/read.php?3,26274,26277#msg-26277
Can you show us the offending promises?
___
Help-cfeng
Forum: CFEngine Help
Subject: 3.1.4 => 3.3.4: has something changed regarding classes in bundles?
Author: davidlee
Link to topic: https://cfengine.com/forum/read.php?3,26274,26274#msg-26274
(RHEL 5.x; cfengine community 3.1.4, just started migrating to 3.3.4)
In RHEL the files that cont
package_policy => "addupdate",
package_method => apt,
classes=> if_ok("snmpd_installed") ;
Unfortunately, if the package is already installed, it does *NOT* define
the class.
Is it a bug, or I am misunderstanding something?
Ciao
-- bronto
when I call the same bundle name several times.
That's an interesting possible work-around. The drawback is it negates the
advantages of having separate local name spaces.
It'd be cool if we could define our own functions:
function agent variable_or_default( varname, default )
{
Forum: CFEngine Help
Subject: Re: Execution order (was: classes not working in vars?)
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,25293,25399#msg-25399
Oace, Tod R Wrote:
---
> On Mar 16, 2012, at 9:46 AM, Nick Ander
CFEngine 3 book and
I see that classes are going to be renamed to contexts so as to not
confuse with "classes" as referred to in many programming languages.
Any information on how or when this will be transitioned? I know my
small mind is going to have trouble with that switch and then the
So I am reading the final version of Diegos Learning CFEngine 3 book and
I see that classes are going to be renamed to contexts so as to not
confuse with "classes" as referred to in many programming languages.
Any information on how or when this will be transitioned? I know my
small min
h is for a new function to avoid having to use positive and
negative classes at all:
vars:
"my_variable" string => first_defined_value( $(other_bundle.variable),
"default-value" );
# or maybe like this:
"my_variable" string => if_
On 03/16/2012 11:42 AM, Marco Marongiu wrote:
> Il 16/03/2012 15:42, Nick Anderson ha scritto:
>>>> Your approach is not exactly equivalent to having a classes attribute in
>>>> vars, but I made it do ;)
>> What is so different about it?
>
> The differenc
Il 16/03/2012 15:58, Brian Bennett ha scritto:
> Are you trying to set a class if a vars promise has been kept, or set
> a variable based on the existence of a class?
Actually both :)
$(shortname) is set to $(names), if a $(names) class is defined.
What I desired was that, once $(shortname) is s
Il 16/03/2012 15:42, Nick Anderson ha scritto:
>> > Your approach is not exactly equivalent to having a classes attribute in
>> > vars, but I made it do ;)
> What is so different about it?
The difference is that with a classes attribute, the class is set
immediately, and wo
Are you trying to set a class if a vars promise has been kept, or set a
variable based on the existence of a class?
--
Brian
On Mar 16, 2012, at 7:41 AM, Marco Marongiu wrote:
> Il 16/03/2012 15:16, Nick Anderson ha scritto:
>>>> classes:
>>>>>> &quo
On 03/16/2012 09:41 AM, Marco Marongiu wrote:
> Il 16/03/2012 15:16, Nick Anderson ha scritto:
>>>> classes:
>>>>>> "has_shortname"
>>>>>> expression => isvariable("shortname"),
>>>>>> comment =
Il 16/03/2012 15:16, Nick Anderson ha scritto:
>>> classes:
>>> >> "has_shortname"
>>> >> expression => isvariable("shortname"),
>>> >> comment => "Set a class if short hostname has been defined";
On 03/16/2012 08:44 AM, Marco Marongiu wrote:
> Il 16/03/2012 14:26, Nick Anderson ha scritto:
>> classes:
>> "has_shortname"
>> expression => isvariable("shortname"),
>> comment => "Set a class if short hostname has been defi
Il 16/03/2012 14:26, Nick Anderson ha scritto:
> classes:
> "has_shortname"
> expression => isvariable("shortname"),
> comment => "Set a class if short hostname has been defined";
Nice hint, thanks, I'll use it :)
ciao
-- bronto
On 03/16/2012 07:53 AM, Marco Marongiu wrote:
> Hi
>
> Hi had this vars: promise not working as expected:
>
> "shortname"
> comment=> "set a short name if $(names) is defined",
> classes=> always(&qu
Forum: CFEngine Help
Subject: Re: classes not working in vars?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25293,25294#msg-25294
Why do you need the class set? No, I don't think it will work.
___
Help-cfengine mailing
Hi
Hi had this vars: promise not working as expected:
"shortname"
comment=> "set a short name if $(names) is defined",
classes=> always("has_shortname"),
string => "$(names)",
ifvarcla
Forum: CFEngine Help
Subject: Re: vars values depending on classes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25068,25077#msg-25077
Not unusual. Typically I list the default value first and then the override
exceptions follow.
any::
"x" int => "
Thanks guys,
that helped.
But is it normal approach ? I mean if i want to have default xmx value for all
servers that i didn't mention explicitly ?
28.02.2012, 17:05, "no-re...@cfengine.com" :
> Forum: CFEngine Help
> Subject: Re: vars values depending on classes
> Au
Forum: CFEngine Help
Subject: Re: vars values depending on classes
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,25068,25072#msg-25072
The problem is that the "xmx" variable is being reassigned (arguably running on
a machine in which both "servergroup&
Forum: CFEngine Help
Subject: Re: vars values depending on classes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25068,25071#msg-25071
http://cfengine.com/manuals/cf3-reference#policy-in-vars
___
Help-cfengine mailing list
Hello,
I'm trying to get template file with different values for different envs. So
I'm using expand_template and trying to get different values like in Neil's
example (http://watson-wilson.ca/2011/05/template-files-using-cfengine.html)
Piece of my conf:
bundle agent jboss_in
Forum: Announcements
Subject: CFEngine Training Classes in Brussels, Belgium February 1-3, 2012
Author: CFEngine
Link to topic: https://cfengine.com/forum/read.php?1,24580,24580#msg-24580
Our Training Partner Normation will be holding 3 CFEngine classes.
Please follow this link to get more
Forum: CFEngine Help
Subject: Re: List of classmatched classes?
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,24428,24477#msg-24477
Perhaps something like this? :)
"patternmatch"
slist => grep( "$(pattern}",
readstringlis
Forum: CFEngine Help
Subject: List of classmatched classes?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24428,24428#msg-24428
Consider the classmatch function. Is it possible to get a list of the current
classes that match?
http://cfengine.com/manuals/cf3
Forum: CFEngine Help
Subject: Re: Clarification on parameter passing with bundles / classes
Author: frans
Link to topic: https://cfengine.com/forum/read.php?3,24247,24259#msg-24259
Thanks Todd and lauwersw for the replies. The point about classes being global
when enacted if_repaired was the
Forum: CFEngine Help
Subject: Re: Clarification on parameter passing with bundles / classes
Author: lauwersw
Link to topic: https://cfengine.com/forum/read.php?3,24247,24254#msg-24254
Try to strip down your code. Your first problem definitely works for me in a
stripped down version with cfengien
Forum: CFEngine Help
Subject: Re: Clarification on parameter passing with bundles / classes
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,24247,24250#msg-24250
frans,
when you define a class using classes => if_repaired() it will be globally
visible. I believe that t
Forum: CFEngine Help
Subject: Re: Clarification on parameter passing with bundles / classes
Author: frans
Link to topic: https://cfengine.com/forum/read.php?3,24247,24249#msg-24249
Have you considered using the unzipped war file as a masterfiles source and
skipping the intermediate copy and
Forum: CFEngine Help
Subject: Re: Clarification on parameter passing with bundles / classes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24247,24248#msg-24248
Have you considered using the unzipped war file as a masterfiles source and
skipping the intermediate copy
Forum: CFEngine Help
Subject: Clarification on parameter passing with bundles / classes
Author: frans
Link to topic: https://cfengine.com/forum/read.php?3,24247,24247#msg-24247
Hi -
I'm seeing some unexpected behavior when invoking a method bundle with a class
as an argument. I am sure
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
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 =>
Forum: CFEngine Help
Subject: Re: On persistent classes
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,24095,24148#msg-24148
The classes body applies to all promise types, including class promises, right?
I wonder what happens if you just specify a persist_time attribute in
Forum: CFEngine Help
Subject: Re: On persistent classes
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,24095,24109#msg-24109
To my understanding this is the only way currently. However this proposition
https://cfengine.com/bugtracker/view.php?id=875 seems interesting
Forum: CFEngine Help
Subject: On persistent classes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24095,24095#msg-24095
Persisting a class seems to be tied to a classes body. Suppose I want to
persist a class defined in a classes section instead. Is this possible
Please open a bug at bug.cfengine.com. The reference manual does not
say anything about global classes not working in the context of
abortclasses. (Either the behavior needs to be fixed, or it needs to
be documented.) Either way, please open a ticket. Thanks, crd.
Yours,
Aleksey
On Tue, Nov
Forum: CFEngine Help
Subject: abortclasses with global classes
Author: crd
Link to topic: https://cfengine.com/forum/read.php?3,23858,23858#msg-23858
Hi,
I'm trying to set up a structure where system configuration files are copied
from a master to a local tmp directory for use in later pro
Both of your ideas should work, but CFEngine is rather picky about quotes...
Try:
"class_ab" or => {"class_a", "class_b"}
"class_ab" expression => "class_a|class_b";
-Dan
On Sep 27, 2011, at 12:13 PM, D'Aus
I define some classes in a common bundle representing groups of hosts:
class_a or => {classify("a1"),classify("a2"),classify("a3")};
class_b or => {classify("b1"),classify("b2"),classify("b3")};
I can't seem to find a wa
1 - 100 of 431 matches
Mail list logo