Forum: Cfengine Help Subject: Re: Yum Package problem in CF3 Author: splum Link to topic: https://cfengine.com/forum/read.php?3,19078,19108#msg-19108
Babudro, Yes, that's pretty much exactly what we found. Yum will install the version you request if you include it in the command line (yum install package.1.1) but cfengine doesn't seem to even try to tack it on. I even tried to specify it directly: packages: x86_64:: "testpackage.2.2.15" package_policy => "add", package_method => yum, package_select => "==", package_architectures => { "x86_64" }, package_version => "2.2.15"; } Unfortunately it then tries to tack on the x86_64 part and results in a package not found error. So at this point it looks like I need two things to get this to work correctly, at least from a cfengine standpoint. 1) Need a way to change the base behavior so that == actually means == and it won't install the package at all if the requested version isn't available. 2) Need a way to alter the behavior so that cfengine will properly pass the version string to yum so it can honor the version match. Anyone know if there's a way to do that within the config? Otherwise I guess it's a developer feature request, maybe some mucking around in the standard library? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine