Initial commit
This commit is contained in:
parent
94abf0568a
commit
94caeace67
|
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue