Marc Baudoin écrit :
> Marc Baudoin écrit :
> >
> > I've just got an e-mail from a Cfengine client saying:
> >
> > cf3:/var/cfengine/inputs/stg_storage.cf:17,0: Broken variable syntax or
> > bracket mismatch in string ( $(s\321G@), near tok
Seva Gluschenko écrit :
>
> did you try ifvarclass => canonify(...) ?
Sure (but it seems, according to the documentation, it's not
required there) but the problem is the same.
--
Marc Baudoin
STG Interactive
___
Help-cfengine mai
figuration, whose
names are built from string variables and each list is defined
only if a certain class exists and I need to use ifvarclass
because the names of the classes are not fixed (they also depend
on variables). Then I gather all the existing lists (hence the
ifdefined policy)
all use braces...
--
Marc Baudoin
STG Interactive
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
nd anything useful.
My policy seems simple enough...
I'm using Cfengine community edition 3.1.1.
Any idea?
--
Marc Baudoin
STG Interactive
body common control
{
bundlesequence => { "test" } ;
}
bundle agent test
{
vars:
"foo"
slist =
Marc Baudoin écrit :
>
> I've just got an e-mail from a Cfengine client saying:
>
> cf3:/var/cfengine/inputs/stg_storage.cf:17,0: Broken variable syntax or
> bracket mismatch in string ( $(s\321G@), near token ''
> cf-agent was not able to get confirma
Marc Baudoin écrit :
>
> As the number of different types of hosts in my configuration
> grows, I wonder what are the strategies for making bundlesequence
> and inputs more modular.
>
> I define a class for each type of hosts so, of course, there's
> the class approach
Bas van der Vlies écrit :
>
> On 9 nov 2010, at 11:32, Marc Baudoin wrote:
>
> > Sure, better than nothing. It works for bundlesequence but not
> > for inputs. I just got this error message:
> >
> > Can't stat file "/var/cfengine/inputs/@(g.inputs)&
Michael Potter écrit :
> On Tue, Nov 9, 2010 at 1:39 AM, Marc Baudoin
> wrote:
> >
> > As the number of different types of hosts in my configuration
> > grows, I wonder what are the strategies for making bundlesequence
> > and inputs more modular.
>
> I have
l is
> to have all the common stuff in the bundleseuquence, and then a single module
> which has a number of class-selected methods promises for the specific stuff.
Which makes two places to look for what bundles need to be
executed.
--
Mar
uot; } ;
and I found no way to add elements to an existing slist.
So I'm stuck here with no elegant solution to my problem.
How do people with a non-trivial configuration deal with this?
--
Marc Baudoin
STG Interactive
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
o failsafe
The binaries are from the SVN version from a few days ago and the
configuration has not changed. It worked 5 minutes before and it
worked again 5 minutes after, with no change whatsoever
inbetween so I can't reproduce this behavior.
Any idea what could have gone wrong?
--
Marc Bau
No other e-mail is sent thereafter, as long as no
other notification has to be sent. Anyway, a file is notheless
generated in /var/cfengine/outputs.
Maybe I missed something in the documentation and there's a way
to receive unusual notifications nonetheless but I can't find
it..
wrong and not generate reports when
things are the way they're supposed to be? By the way, this kind
of thing generates extra reports which are probably not wanted.
I'd like to have your opinion before filing a issue. Is this
behaviour useful?
ly - well, okay...
As the documentation states (page 26) :
2. Within a bundle, the promise types are executed in a
round-robin fashion according to so-called `normal ordering'
(essentially deletion first followed by creation). The actual
sequence continues for up to three iterations of the
[ Replying to myself. ]
Marc Baudoin écrit :
>
> I'm assessing Cfengine 3 (community edition) to manage a bunch of
> servers. It seems to have all the required features but I can't
> figure out how to manage packages (at least in the way I want).
> I believe package m
h the new inode seems to be recorded
OK in Cfengine's database because it is right in the next
reports):
ALERT: inode for /home/user/tmp/toto changed 6326 -> 0
Should I file a bug report or am I doing something wrong?
--
Marc Baudoin
STG Interactive
tch_package)"
package_policy => "delete" ,
package_method => generic ;
But I haven't found the right syntax to use (I may have missed
something in the documentation, as it's quite hard for a
newcomer).
Is there a way to do that?
-
18 matches
Mail list logo