wmdeit-cf-wmdelib/logrot.cf

26 lines
341 B
CFEngine3
Raw Normal View History

2023-11-23 10:58:04 +00:00
#
#
#
bundle agent logrot
{
vars:
"pkgs" slist => {
"logrotate"
};
freebsd::
"dir" string => "/usr/local/etc/logrotate.d";
debian::
"dir" string => "/etc/logrotate.d";
centos::
"dir" string => "/etc/logrotate.d";
}
bundle agent install_logrot
{
methods:
"any" usebundle => wmde_install_packages(@(logrot.pkgs),"logrot");
}