Initial commit

This commit is contained in:
Charlie Root 2023-11-23 11:58:04 +01:00
parent 94abf0568a
commit 94caeace67
1 changed files with 25 additions and 0 deletions

25
logrot.cf Normal file
View File

@ -0,0 +1,25 @@
#
#
#
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");
}