Thanks man !
That worked. Exactly what i need.
24.04.2012, 21:19, "no-re...@cfengine.com" :
> Forum: CFEngine Help
> Subject: Re: executable file doesn't exist. bundles processing.
> Author: phnakarin
> Link to topic: https://cfengine.com/forum/read.php?3,25667,25676#msg-25676
>
> This warning is
24.04.2012 20:43, no-re...@cfengine.com wrote:
> I would rather check for the binary first then run returnzero() to avoid the
> problem. For example;
But isn't it same as I'm doing ?
The one difference is that you propose to do it in one bundle and I'm
using two.
In case I mailed before I do:
me
thanks. That what i guessed.
But it there way to avoid this ?
24.04.2012, 16:00, "Neil Watson" :
> During the run, and the three sub-runs, Cfengine will attempt to
> evaluate variables and classes. So the commands that may be associated
> with vars and classes promises will be run, if possible, e
Hi,
Seems it is some cf specific that I missed. Can someone clarify please.
I have such bundles:
bundle agent install_custom_pack
{
files:
.
classes:
"custom_pack_installed" expression => fileexists("/usr/bin/customfile");
methods:
custom_pack_installed::
"install_custom_plu
Hello all,
I'm using one bundle to make servers grouping.
In bundlesequence i have:
bundlesequence => {
"update",
"garbage_collection",
"groups",
"main"
};
groups define server groups:
something like:
btw, one more clarification about bundle common
do i have to include my common bundles to
body common control bundlesequence ?
03.04.2012, 18:03, "Nick Anderson" :
> On 04/03/2012 09:55 AM, Denis Zinevich wrote:
>
>> thanks.
>> just half a minute ago figured out my
thanks.
just half a minute ago figured out my mistake.
Here's piece of doc, may be usefull for someone else:
"Only local lists can be expanded directly. Thus ‘$(list)’ can be expanded but
not ‘$(context.list)’. Global list references have to be mapped into a local
context if you want to use them
Hello,
I didn't found yet any documentation regarding this.
Can anyone clarify for bundle common somebundle
only classes are global ? not variables ?
I'm trying to make:
bundle common test
{
vars:
"test" string => "2";
}
and i can't access that var from agent bundles. ( tried both $
Thanks, that works fine,
but i was wondering if there is some less smart/clever way ?
Like just to specify directory/list of files and install everything in it.
What i'm thinking about is just say:
-
vars:
"r" slist => {
"R-core-2.12.2-1.el5.x86_64.rpm",
"libRmath-2.12.2-1.el5.
Hello all,
can someone clarify what is right way for installing rpm's from local directory
?
I can do this with
command:
rpm -i
but that does not seem to be right way.
I've tried to get use of some bodis from stdlib, but all of them seems to be
much more complex and flexible than i nee
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
> Author: zzamboni
> Link to top
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_install
{
classes:
12 matches
Mail list logo