Forum: Cfengine Help Subject: package yum install not working as expected Author: bubble1975 Link to topic: https://cfengine.com/forum/read.php?3,20665,20665#msg-20665
Hi All, Weird issue I'm having with trying to install a package via 'package_method => yum' (cfengine version cfengine-community-3.1.2-1.centos5). So, this is my stanza: packages: any:: "ntp" package_policy => "add", package_method => yum; Then, when I run it on a host, I see this (via 'cf-agent -I'): # cf-agent -f failsafe.cf && cf-agent -I Q:yum -y install ntp.* ...:Setting up Install Process Q:yum -y install ntp.* ...:No package ntp.conf available. Q:yum -y install ntp.* ...:No package ntp.conf.rpmnew available. Q:yum -y install ntp.* ...:No package ntp.conf.rpmsave available. Q:yum -y install ntp.* ...:Nothing to do Q:yum -y install ntp.* ...: # Now, those three files (ntp.conf, ntp.conf.rpmnew and ntp.conf.rpmsave) are already in the /etc/ directory. But, why would it try to yum install files on my filesystem? It should be trying to yum install them from my installed yum repositories right? It's a bit odd. I can do, manually on the command line, "yum -y install ntp.*" and it works just great. But, cfengine cannot do it strangely enough. Anyone have any idea of what I'm missing? Thanks in advance!! _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine