help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [SPAM] - Re: is this a bug in cfengine? - Bayesian Filter detected s


From: Nielsen, Steve
Subject: RE: [SPAM] - Re: is this a bug in cfengine? - Bayesian Filter detected spam
Date: Fri, 17 Dec 2004 16:53:59 -0500

Thanks for everyones responses.

My worst fears have been realized. :) I have to fully qualify each action. Ah 
well.

Steve

-----Original Message-----
From: Ed Brown [mailto:address@hidden
Sent: Friday, December 17, 2004 3:42 PM
To: Nielsen, Steve
Cc: Cfengine Mailing List Help
Subject: [SPAM] - Re: is this a bug in cfengine? - Bayesian Filter
detected spam


Not a bug exactly, it's known, previously discussed, behavior.  But it
isn't intuitive or documented, or desirable perhaps.  

If you use this type of notation, action.qualifier, to achieve finer
control over the actionsequence for some action, then any unqualified
use of 'action' in the actionsequence is sort of meaningless.

IIRC, this is an improvement over the behavior in 1.6.3, when any
unqualified action would have been executed once for every qualifed
action in the actionsequence.

-Ed



On Fri, 2004-12-17 at 14:08, Nielsen, Steve wrote:
> I am trying to control the order in which my actions runs. (See script below):
> 
> Things run in this order:
> -------------------------
> 1. shellcommands.first and shellcommands run together
> 2. then shellcommands.second runs
> 3. then shellcommands.last runs
> 
> I would expect things to run in the order I specifiy.
> 
> Why does cfengine behave in this way? Is this a bug?
> 
> I am running cfengine 2.1.11 on redhat 7.3
> 
> Thanks,
> Steve
> 
> ====================
> Here is the script:
> ===================
> 
> #!/var/cfengine/bin/cfagent -qvKf
> 
> control:
>     actionsequence = (
>         shellcommands.first
>         shellcommands.second
>         shellcommands.last
>         shellcommands
>     )
> 
> shellcommands:
>     first::
>         "/bin/echo FIRST"
>     second::
>         "/bin/echo SECOND"
>     any::
>         "/bin/echo ANY"
> 
>     last::
>         "/bin/echo LAST"
> 
> ====================================
> Here is the output (just a snippet):
> ====================================
> 
> *********************************************************************
>  Main Tree Sched: shellcommands.first pass 1 @ Fri Dec 17 15:00:57 2004
> *********************************************************************
> 
> 
> (Non privileged user...)
> 
> 
>                   New temporary class additions
>                   --------( Pass 1 )-------
>                              first
> cfengine:: Executing script /bin/echo FIRST...(timeout=0,uid=-1,gid=-1)
> (Setting umask to 77)
> cfengine::/bin/echo FIRST: FIRST
> cfengine:: Finished script /bin/echo FIRST
> cfengine:: Executing script /bin/echo ANY...(timeout=0,uid=-1,gid=-1)
> (Setting umask to 77)
> cfengine::/bin/echo ANY: ANY
> cfengine:: Finished script /bin/echo ANY
> 
> *********************************************************************
>  Main Tree Sched: shellcommands.second pass 1 @ Fri Dec 17 15:00:57 2004
> *********************************************************************
> 
> 
> (Non privileged user...)
> 
> 
>                   New temporary class additions
>                   --------( Pass 1 )-------
>                              second
> cfengine:: Executing script /bin/echo SECOND...(timeout=0,uid=-1,gid=-1)
> (Setting umask to 77)
> cfengine::/bin/echo SECON: SECOND
> cfengine:: Finished script /bin/echo SECOND
> 
> *********************************************************************
>  Main Tree Sched: shellcommands.last pass 1 @ Fri Dec 17 15:00:57 2004
> *********************************************************************
> 
> 
> (Non privileged user...)
> 
> 
>                   New temporary class additions
>                   --------( Pass 1 )-------
>                              last
> cfengine:: Executing script /bin/echo LAST...(timeout=0,uid=-1,gid=-1)
> (Setting umask to 77)
> cfengine::/bin/echo LAST: LAST
> cfengine:: Finished script /bin/echo LAST
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-cfengine





reply via email to

[Prev in Thread] Current Thread [Next in Thread]