Re: List variable in inputs

2010-05-10 Thread Daniel Dehennin
Hello, I'm happy to see that we can use included vars since svn 990[1], one thing remains, this is sensible to inputs ordering, the following example will not work and should be documented. I looked at docs/cf3-Reference.texinfo and docs/cf3-reference.html but they are not up to date with the on

Re: Cfengine Help: Re: List variable in inputs

2010-05-06 Thread Daniel Dehennin
fo...@cfengine.com writes: > Forum: Cfengine Help > Subject: Re: List variable in inputs > Author: dfriedman > Link to topic: https://cfengine.com/forum/read.php?3,17074,17120#msg-17120 > > So does this mean it's not possible to have a dynamic list of input files, > pe

Cfengine Help: Re: List variable in inputs

2010-05-06 Thread forum
Forum: Cfengine Help Subject: Re: List variable in inputs Author: dfriedman Link to topic: https://cfengine.com/forum/read.php?3,17074,17120#msg-17120 So does this mean it's not possible to have a dynamic list of input files, period? ___ Help-cfe

Re: Cfengine Help: Re: List variable in inputs

2010-05-06 Thread Daniel Dehennin
fo...@cfengine.com writes: >> body common control >> { >> bundlesequence => { "base", @(test.bundles) }; >> inputs => {"test.cf", @(test.inputs) }; >> } > > I don't see how this can work. There are no variables defined until > inputs is processes. Inputs cannot be processes until the given > var

Re: Cfengine Help: Re: List variable in inputs

2010-05-04 Thread Daniel Dehennin
fo...@cfengine.com writes: > By hierarchical are you hoping to allow other teams to make policy > without altering your own? No, as soon as I merge their work into the mainline to deploy it, they can execute whatever commands to destroy my system (until cf3 permit to "load" or "run" bundles under

Cfengine Help: Re: List variable in inputs

2010-05-04 Thread forum
Forum: Cfengine Help Subject: Re: List variable in inputs Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17074,17095#msg-17095 By hierarchical are you hoping to allow other teams to make policy without altering your own

Re: Cfengine Help: Re: List variable in inputs

2010-05-04 Thread Daniel Dehennin
fo...@cfengine.com writes: >> body common control >> { >> bundlesequence => { "base", @(test.bundles) }; >> inputs => {"test.cf", @(test.inputs) }; >> } > > I don't see how this can work. There are no variables defined until > inputs is processes. Variable resolution in bundlesequence seems de

Cfengine Help: Re: List variable in inputs

2010-05-04 Thread forum
Forum: Cfengine Help Subject: Re: List variable in inputs Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17074,17092#msg-17092 > body common control > { > bundlesequence => { "base", @(test.bundles) }; > inputs => {"test.cf", @(tes

Re: List variable in inputs

2010-05-03 Thread Daniel Dehennin
Eystein Måløy Stenberg writes: > Hi Daniel, Hello, > Does it help to say the following in your policy? > --- >bundlesequence => { "base", "test", @(test.bundles) }; > --- I'm afraid not, I have no problem with bundlesequence if I do just replace inputs: --- bundlesequence => { "base",

Re: List variable in inputs

2010-05-02 Thread Eystein Måløy Stenberg
Hi Daniel, Does it help to say the following in your policy? --- bundlesequence => { "base", "test", @(test.bundles) }; --- -- Regards, Eystein On Sun, May 2, 2010 at 4:36 PM, Daniel Dehennin wrote: > Hello, > > I'm using cfengine 3.0.4 on a debian sid, I want to use class based > bundlesequ

List variable in inputs

2010-05-02 Thread Daniel Dehennin
Hello, I'm using cfengine 3.0.4 on a debian sid, I want to use class based bundlesequence and inputs. There is an example in the manual for bundlesequence, I did not manage to do the same for inputs, cf-promises give me the following error: cf3 Can't stat file "/home/dad/.cfagent/inputs/@(test.i