add mariadb bundle
This commit is contained in:
parent
acd35c1f5e
commit
300e2b1506
2 changed files with 26 additions and 0 deletions
7
bundles/mariadb/items.py
Normal file
7
bundles/mariadb/items.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
svc_systemd = {
|
||||
'mariadb': {
|
||||
'needs': [
|
||||
'pkg_apt:mariadb-server',
|
||||
],
|
||||
},
|
||||
}
|
19
bundles/mariadb/metadata.py
Normal file
19
bundles/mariadb/metadata.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
defaults = {
|
||||
'apt': {
|
||||
'packages': {
|
||||
'mariadb-server': {},
|
||||
},
|
||||
},
|
||||
'backups': {
|
||||
'paths': {
|
||||
'/var/lib/mysql',
|
||||
},
|
||||
},
|
||||
'monit': {
|
||||
'services': {
|
||||
'mariadb': {
|
||||
'bin': '/usr/sbin/mariadbd',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue