Re: yum reinstall

"'Nick Anderson' via help-cfengine" <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
The `package_module' based implementation of packages promises
explicitly only supports a state (present or absent) not an action like
re-install. If you want to do re-install, then you could promise absent
and then promise present.
<https://docs.cfengine.com/docs/3.21/reference-promise-types-packages.html#policy>

In the above snippet I see that you are using the deprecated
`package_method' based implementation. the `package_version' value
/latest/ is not something that is understood by `package_method'.
/latest/ is something that the `package_module' based implementation
understands for a version. You can see that it's trying to compare
`1.8.29-8.el8' to `latest'. Perhaps try an version number that
`rpmvercmp' would understand or promise the two states that you want,
first that the package is absent, and then that the package is present
using the `package_module' based implementation.

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/87lelen40z.fsf%40northern.tech.



--
Nick Anderson | Doer of Things | (+1) 785-550-1767 | https://northern.tech

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/87lelen40z.fsf%40northern.tech.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.