Inital commit

This commit is contained in:
Tobias Herre 2023-10-11 11:30:20 +02:00
parent 96199c894f
commit 2b52e5e413
2 changed files with 42 additions and 0 deletions

22
templates/my.cnf.mustache Normal file
View File

@ -0,0 +1,22 @@
#
# Managed by CFEngine
#
[client-server]
port = {{vars.mysql.port}}
socket = /run/mysqld/mysqld.sock
#[mysql]
#prompt = \u@\h [\d]>\_
#no_auto_rehash
[mysqld]
log-error =/var/log/mysql/mysqld.log
user = {{vars.mysql.user}}
port = {{vars.mysql.port}}
bind-address = 127.0.0.1
lower_case_table_names = 1

20
wget.cf Normal file
View File

@ -0,0 +1,20 @@
bundle agent wget
{
vars:
"pkgs" slist => {"wget"};
freebsd::
"exe" string => "/usr/local/bin/wget";
debian::
"exe" string => "/usr/bin/wget";
}
bundle agent install_wget
{
methods:
"any" usebundle => wmde_install_packages(@(wget.pkgs),"wget");
}