mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-15 17:20:25 +00:00
debconf for mysql
Adding a sample debconf mysql file and debconf statement in the state file.
This commit is contained in:
parent
a377b2c479
commit
4645025037
2 changed files with 6 additions and 0 deletions
3
mysql/files/mysql.deb.set
Normal file
3
mysql/files/mysql.deb.set
Normal file
|
@ -0,0 +1,3 @@
|
|||
mysql-server-5.5 mysql-server/root_password_again password somepass
|
||||
mysql-server-5.5 mysql-server/root_password password somepass
|
||||
mysql-server-5.5 mysql-server/start_on_boot boolean true
|
|
@ -4,6 +4,9 @@ mysqld:
|
|||
pkg:
|
||||
- installed
|
||||
- name: {{ mysql.server }}
|
||||
{% if grains['os'] in ['Ubuntu', 'Debian'] %}
|
||||
- debconf: salt://mysql/files/mysql.deb.set
|
||||
{%- endif -%}
|
||||
service:
|
||||
- running
|
||||
- name: {{ mysql.service }}
|
||||
|
|
Loading…
Add table
Reference in a new issue