Forum: CFEngine Help Subject: Re: rpm_version package provider Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27409,27410#msg-27410
I think that the trailing -1 might be a release rather part of the version. Try the version as 5.9p1. See the stdlib for the actual RPM command that the packages body uses to gather this information. rpm -qa --queryformat "i | repos | %{name} | %{version}-%{release} | %{arch}\n"|grep ssh i | repos | openssh-server | 4.3p2-82.el5 | x86_64 i | repos | openssh-clients | 4.3p2-82.el5 | x86_64 i | repos | openssh | 4.3p2-82.el5 | x86_64 i | repos | openssh-askpass | 4.3p2-82.el5 | x86_64 _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine