Forum: Cfengine Help
Subject: Re: package yum install not working as expected
Author: bubble1975
Link to topic: https://cfengine.com/forum/read.php?3,20665,20668#msg-20668

Huh...  I tried this syntax (calling the architecture through a variable):

packages:
any::

"ntp"
package_policy => "add",
package_architectures => { $(sys.arch) },
package_method => yum;

And it worked OK.  But I still feel queasy about it - anyone know why yumwould 
be looking in /etc/ for files that match "ntp.*" instead of just yum installing 
yum.* packages?  I'd rather not have to specify architecture everywhere, and 
just let yum figure it out, like yum usually does...

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to