add mariadb bundle

This commit is contained in:
Rico 2022-05-18 15:51:11 +02:00
parent acd35c1f5e
commit 300e2b1506
Signed by: stillbeben
GPG key ID: AE1066B5BD0B5041
2 changed files with 26 additions and 0 deletions

7
bundles/mariadb/items.py Normal file
View file

@ -0,0 +1,7 @@
svc_systemd = {
'mariadb': {
'needs': [
'pkg_apt:mariadb-server',
],
},
}

View file

@ -0,0 +1,19 @@
defaults = {
'apt': {
'packages': {
'mariadb-server': {},
},
},
'backups': {
'paths': {
'/var/lib/mysql',
},
},
'monit': {
'services': {
'mariadb': {
'bin': '/usr/sbin/mariadbd',
},
},
},
}