Hot to specify cfruncommand dynamically

2010-04-22 Thread liuyidaojian
hi All, Sometimes,I want to execute one-time promises for status checking etc. Seems it is not available in runagent control promises. I know it is probablly for security issue. But sometimes it is useful for me. hangping ___ Help-cfengine mailing list H

Cfengine Help: Re: package_method apt

2010-04-22 Thread forum
Forum: Cfengine Help Subject: Re: package_method apt Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16917,16978#msg-16978 I don't use package promises very often. If you can show us more of the promise than just the body part you might get more input. _

Cfengine Help: Re: package_method apt

2010-04-22 Thread forum
Forum: Cfengine Help Subject: Re: package_method apt Author: christian Link to topic: https://cfengine.com/forum/read.php?3,16917,16977#msg-16977 Does really nobody have an idea why this command ends in a failure of cf-agent? package_list_update_ifelapsed => "240"; # 4 hours here is my packete_m

RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-22 Thread Justin Lloyd
Ah, good idea. And the cancel_* attributes are useful to know. Thanks! Justin -Original Message- From: Lebel, Marco [mailto:marco.le...@domtar.com] Sent: Thursday, April 22, 2010 7:03 AM To: Justin Lloyd; fo...@cfengine.com; help-cfengine@cfengine.org Subject: RE: Cfengine Help: Re: RE:

RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-22 Thread Lebel, Marco
Justin, After reading the whole thread I realized that if I need a local class to be reevaluated all I have to do is put in the action clause to it something like: Classes: "baboom" expression => whatever, Action => immediate; -Original Message- From: Justin Lloyd [mailto:

RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-22 Thread Lebel, Marco
Ok for my sake I did the following test: body common control { bundlesequence => { "ba", "bb", "bc" }; } bundle agent ba { classes: "class_ba" expression => "$(sys.uqhost)"; files: "/tmp/dummy", create=> true, classes => if_ok("dummy_ba"); reports: class_ba::

Cfengine Help: Re: cfengine program flow

2010-04-22 Thread forum
Forum: Cfengine Help Subject: Re: cfengine program flow Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16957,16973#msg-16973 You are correct. Cfengine does run its actions in a certain order. See normal ordering in the reference. You are also correct that it may take

Share your stories from space?

2010-04-22 Thread Mark Burgess
Hello everyone, I would very much like to hear about success stories you have had, or future- look-ahead projects where Cfengine has been involved. As many of you know, I am someting of a futurist and am very interested in how the Cfengine project has helped and can contribute to bringing us i