From a7145a59da4f8a9907213d22c68e18faa979e46d Mon Sep 17 00:00:00 2001
From: N <noel.mcloughlin@gmail.com>
Date: Wed, 12 Dec 2018 22:27:12 +0000
Subject: [PATCH] Add config section to pillar example

---
 pillar.example | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pillar.example b/pillar.example
index e17b79c..0dfa2b0 100644
--- a/pillar.example
+++ b/pillar.example
@@ -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
-- 
GitLab