Can globally-defined arrays be accessed? Because if so, I can't figure
out how and I can't find any reference to this in the documentation.
Here's an example:
body common control {
bundlesequence => { "test" };
}
### Read in lines of the form KEY="VALUE" from the
### cache file into the glo
I've been trying to confirm the fix for this in r912, as stated in
the nodes for bug 49 (https://cfengine.com/bugtracker/view.php?id=49),
but am having some trouble. First, I'm running headlong into bug 89
(https://cfengine.com/bugtracker/view.php?id=89), which makes testing
a specific bundle pro
Why is the domain getting redefined in cf2?
update.conf :
control:
any::
actionsequence = ( directories files copy shellcommands processes tidy )
workdir = ( /var/cfengine )
any.!domain_p::
domain = ( domain.i)
domain_p::
domain = ( domain.p )
cfservd.conf :
con
Forum: Cfengine Help
Subject: Re: Cfengine Help: methods and undeclared bundles
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,16647,16661#msg-16661
By the way, I handled it as follows:
body common control
{
servers_group1::
bundlesequence => { };
i
Forum: Cfengine Help
Subject: Re: Cfengine Help: methods and undeclared bundles
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,16647,16659#msg-16659
Way cool, thanks Mark!!! You are a life saver. I was in the middle of
reconfiguring my whole policy, phew. I didn't what to scr
Forum: Cfengine Help
Subject: Re: Cfengine Help: methods and undeclared bundles
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,16647,16658#msg-16658
I think it makes sense for the ignore_missing_bundles to apply to methods also.
Will change in svn.
Thanks for the quick fix.
It works.
Louis
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Eystein Måløy Stenberg
Sent: Wednesday, March 24, 2010 10:07 AM
To: help-cfengine@cfengine.org
Subject: Re: Problem compiling 3.
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Cfengine Help: methods and undeclared bundles
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,16653,16657#msg-16657
I can surely understand that, I was just hoping that it still could sneak by.
But given the way it does the
Hi,
Removed some unused variables.
Please try again with current svn code.
--
Regards,
Eystein
On Wed, Mar 24, 2010 at 2:53 PM, Francoeur, Louis
wrote:
> Hi!
>
>
>
> I was able to compile cfengine-3.0.2 but I am not able to compile any
> cfengine 3.04 (CF-3.0.4 / CF-3.0.4p1 / CF-3.0.4p2)
>
> Th
Is the C compiler gcc or other? If other do you have gcc and have you
tried it? Not suggesting that only gcc should work just hoping to gather
some useful evidence.
Sincerely,
--
Neil Watson
416-673-3465
CONFIDENTIALITY WARNING
This communication, including any attachments, is for the exclu
Hi!
I was able to compile cfengine-3.0.2 but I am not able to compile any cfengine
3.04 (CF-3.0.4 / CF-3.0.4p1 / CF-3.0.4p2)
This is on a HP-UX 11.23 PA-Risc box.
I always get the message:
libtool: compile: cc -DHAVE_CONFIG_H -I. -I/usr/local/include
-I/usr/local/include -D_REENTRANT -mt -O -
The issue is that Cfengine does a fair amount of compile-time checking and
optimization, and if you want to think of it this way, tweaking the
bundlesequence with "ignore_missing_bundles" is a pre-processor tweak (where
you can say "continue somiling if this bundle is missing"), whereas methods
pro
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Cfengine Help: methods and undeclared bundles
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,16651,16652#msg-16652
Nope, the bundle will not be found in the promises.cf or the imported files.
The process I have only copies
Can the bundle be found by searching promises.cf or the imported files?
Sincerely,
--
Neil Watson
416-673-3465
CONFIDENTIALITY WARNING
This communication, including any attachments, is for the exclusive use of
addressee and may contain proprietary and/or confidential information. If you
are n
Forum: Cfengine Help
Subject: Re: Cfengine Help: methods and undeclared bundles
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,16647,16650#msg-16650
Yep, I tried that already, no dice:
##
body common con
Forum: Cfengine Help
Subject: Re: Cfengine Help: methods and undeclared bundles
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,16648,16649#msg-16649
Unfortunately, this appears to be for the bundlesequence only:
body common control
{
ignore_missing_bundles => "true";
}
2010/3/24 :
> Forum: Cfengine Help
> Subject: methods and undeclared bundles
> Author: matter
> Link to topic: https://cfengine.com/forum/read.php?3,16646,16646#msg-16646
>
> Greetings,
>
> I would like to use usebundle to run a bundle,
methods:
myclass::
"any" usebundle => mybundle("${myvar}");
Sincerely,
--
Neil Watson
416-673-3465
CONFIDENTIALITY WARNING
This communication, including any attachments, is for the exclusive use of
addressee and may contain proprietary and/or confidential informatio
Forum: Cfengine Help
Subject: methods and undeclared bundles
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,16646,16646#msg-16646
Greetings,
I would like to use usebundle to run a bundle, but only if a class is defined.
Consider the following promises:
#
Forum: Cfengine Help
Subject: Re: storage volume size math
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,16642,16645#msg-16645
I see (eventually). There was a typo in return values giving a factor 1K
incorrect. Fixed in svn.
___
Hel
What you are doing should work. We'd need to see you methods to
understand the error. AFAIK the left side of the usebundle line currently
has no purpose so it can be anything.
Sincerely,
--
Neil Watson
416-673-3465
CONFIDENTIALITY WARNING
This communication, including any attachments, is f
Hello guys,
I have a promise bundle which controls two daemons. They are described
as follows:
vars:
"services" slist =>{ "daemon", "another_daemon" };
methods:
"$(services)"
usebundle => start_service("$(services)"),
comment
22 matches
Mail list logo