mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-15 17:20:25 +00:00
Add mysql files
This commit is contained in:
parent
fd1ca64283
commit
a90b80c8d0
2 changed files with 18 additions and 0 deletions
9
mysql/init.sls
Normal file
9
mysql/init.sls
Normal file
|
@ -0,0 +1,9 @@
|
|||
mysql:
|
||||
pkg:
|
||||
- installed
|
||||
{% if grains['os_family'] == 'Debian' %}
|
||||
- pkgs:
|
||||
- mysql-client
|
||||
- mysql-server
|
||||
{% endif %}
|
||||
|
9
mysql/server.sls
Normal file
9
mysql/server.sls
Normal file
|
@ -0,0 +1,9 @@
|
|||
include:
|
||||
- mysql
|
||||
|
||||
mysqld:
|
||||
service:
|
||||
- running
|
||||
- enable: True
|
||||
require:
|
||||
- pkg: mysql
|
Loading…
Add table
Reference in a new issue