Add config section to pillar example

This commit is contained in:
N 2018-12-12 22:27:12 +00:00
parent c7945aabac
commit a7145a59da
No known key found for this signature in database
GPG key ID: 93AFB6C0144D1A90

View file

@ -47,6 +47,23 @@ mysql:
grants:
- 'all privileges'
# Manage config
config:
file: ~/.my.cnf
sections:
client:
port: 33306
socket: /var/lib/mysql-socket/mysql.sock
mysqld_safe:
plugin-dir: '~/mysql/plugins'
mysqld:
user: myself
port: 33306
datadir: ~/mysql/datadir
apparmor:
dir: /etc/apparmor.d/local
file: usr.sbin.mysqld
# Manage databases
database:
# Simple definition using default charset and collate