Why would you expect that? That was never the way cfengine worked.
"any" means "any".

We are working on special topics guides explaining how to do what you are 
trying to
achieve here. Just a bit swamped at present.

M

nwat...@symcor.com wrote:
> Greetings,
> 
> Consider this bundle and its output.
> 
> ######################
> body common control {
> 
>     any::
>         bundlesequence => { "one" };
> 
>     Hr10|Hr11::
>         bundlesequence => { "two" };
> }
> 
> bundle agent one {
>    reports:
>         linux::
>             "Bundle from 'any'";
> }
>  
> bundle agent two { 
>    reports:
>         linux::
>             "Bundle from 'Hr'";
> }
> 
> [r...@unxxhd01 inputs]# date
> Mon Feb 22 10:25:42 EST 2010
> [r...@unxxhd01 inputs]# cf-agent -KIf ./test.cf 
> R: Bundle from 'any'
> 
> I had expected that the 'Hr10|Hr11' sequence would override the 'any' 
> sequence.  If I do this
> 
>     !Hr10|Hr11::
>         bundlesequence => { "one" };
> 
>     Hr10|Hr11::
>         bundlesequence => { "two" };
> 
> Then I get output of
> [r...@unxxhd01 inputs]# cf-agent -KIf ./test.cf 
> R: Bundle from 'Hr'
> 
> If both 'any' and 'Hr10|Hr11' are true then how does the agent determine 
> which bundle sequence to define?
> 
> 
> Sincerely,
> --
> Neil Watson
> 416-673-3465
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> CONFIDENTIALITY WARNING 
> This communication, including any attachments, is for the exclusive use of 
> addressee and may contain proprietary and/or confidential information. If you 
> are not the intended recipient, any use, copying, disclosure, dissemination 
> or distribution is strictly prohibited. If you are not the intended 
> recipient, please notify the sender immediately by return e-mail, delete this 
> communication and destroy all copies.
> 
> AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ 
> Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage 
> exclusif de la personne à laquelle il s’adresse et peut contenir de 
> l’information personnelle ou confidentielle. Si le lecteur de ce message n’en 
> est pas le destinataire, nous l’avisons par la présente que toute diffusion, 
> distribution, reproduction ou utilisation de son contenu est strictement 
> interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier 
> électronique et supprimez ce message ainsi que toutes les pièces jointes.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine

-- 
Mark Burgess

-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway

Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to