Forum: Cfengine Help
Subject: Re: Could you please teach Cfengine that RHEL 5 systems use YUM as the
package manager?
Author: babudro
Link to topic: https://cfengine.com/forum/read.php?3,18799,18801#msg-18801
Hello Aleksey.
I am also using RHEL5. It works for me by using this line:
package_method => yum,
Here is an example of a complete policy I have for maintaining SSH installation:
"openssh" -> "Secure Shell package"
comment => "Verify OpenSSH is installed once per night",
package_policy => "add",
package_method => yum,
package_architectures => { "$(sys.arch)" },
action => if_elapsed("1440");
I hope that helps. :-)
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine