That did the trick, thanks!
Probably should be a link to this under the classes section as well.
Sorry for the waste of time, I just couldn't see the forest for the
trees =]
Thanks again,
Michael
On Apr 7, 2006, at 4:26 PM, Brendan Strejcek wrote:
Michael Grubb wrote:
I want to define
Michael Grubb wrote:
> I want to define a class based on the exit value of a script. I want
> to be able to do variable substitution in the command
Check out ReturnsZero in the reference. That might allow the variable
interpolation. I would recommend using a module though. The interface is
more s
I forgot again, I'm running cfengine 2.1.20
On Apr 7, 2006, at 4:03 PM, Michael Grubb wrote:
Ok,
I have a new problem now.
I want to define a class based on the exit value of a script.
According to the documentation I do this:
classes:
myclass = ( "/path/to/script some_opts some_args" )
Ok,
I have a new problem now.
I want to define a class based on the exit value of a script.
According to the documentation I do this:
classes:
myclass = ( "/path/to/script some_opts some_args" )
This works.
But I want to be able to do variable substitution in the command
string like t
Michael Grubb wrote:
I understand that this mechanism works as documented, meaning that it
iterates of each server in the list. I guess I was hoping for a little
more intelligence, in that it would only go onto other items if the
first one failed.
I wondered if this is what you were rea
Hi,
I am read the Changelog for version 2.1.20 using the links on the
cfengine hompage, but it doesn't seem to work. Am I doing something
wrong? I am using Firefox on Mac OS X.
Timo
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
http
Ed Brown wrote:
> But even in context main, it doesn't work in my tests just now to
> define a list variable for 'server' in an imported file, for a copy
> action in the importing file.
I think this is the standard "imports happen after everything else"
problem. More here:
http://praksys.blogspo
You make a good point about update.conf being self contained.
By moving the definition of cf_policy_hosts into update.conf that
seems to work now.
I understand that this mechanism works as documented, meaning that it
iterates of each server in the list. I guess I was hoping for a
little
Wolf, Mark W. wrote:
> I would still like to find a copy of the documentation for version
> 2.1.9.
Try this: ftp://ftp.iu.hio.no/pub/cfengine/cfengine-2.1.9.tar.gz
$ wget -qO - ftp://ftp.iu.hio.no/pub/cfengine/cfengine-2.1.9.tar.gz |
> tar tzf - | grep -i Reference.html
cfengine-2.1.
I figured out the tidy question. But I would still like to find a copy
of the documentation for version 2.1.9. Is there someplace I can find a
copy? Does anyone have a copy they could send me?
I moved the order around
This is what I had
My tidy statement:
tidy:
any::
/
Michael Grubb wrote:
Here are the relevant entries in update.conf:
import:
main.cf
#... snip ...
copy:
$(cf_master_inputs)
dest=$(cf_workdir)/inputs
server=$(cf_policy_hosts)
The relevant entry in main.cf:
control:
cf_policy_hosts = ( polserv1.domain:pol
Doh. I forgot to mention that, sorry all.
2.1.20
On Apr 6, 2006, at 6:21 PM, Ed Brown wrote:
I don't know when list iteration was extended to the server field,
but I can tell you it doesn't work in 2.1.11 and does work in
2.1.18. What version are you using?
-Ed
Michael Grubb wrote:
In
12 matches
Mail list logo