-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
1st: clone
https://github.com/saltstack-formulas/mysql-formula to `/srv/salt/mysql-formula`
2nd: add ' - /srv/salt/mysql-formula' under
```
file_roots:
base:
```
in your master's /etc/salt/master
3rd: pick a minion you don't have mysql-server installed yet, I'll take "minion-a" here.
4th: Look into your master's config (see above) for the first entry under "base" in "pillar_roots". In this directory open `top.sls`.
5th: if the first line isn't "base:" add it
6th: below "base:" add
```
minion-a:
- mysql
```
7th: in the same dir as top.sls create a file "mysql.sls" containing the following:
```
mysql:
server:
root_password: 'I got my mysql-password from the README'
```
8th: run `salt '*' saltutil.refresh_pillar` and `salt minion-a pillar.items mysql` on your master. The output of the later one should contain the data from step 7.
9th: run `salt minion-a state.sls mysql.server` on your master
10th: on minion-a run `mysql -u root -p` and auth with the password you put into your pillar above to verify your use of the formula to deploy a MySQL-server.
Good luck, Florian
>--
>You received this message because you are subscribed to the Google
>Groups "Salt-users" group.
>To unsubscribe from this group and stop receiving emails from it, send
>an email to
salt-users+...@googlegroups.com.
>For more options, visit
https://groups.google.com/d/optout.
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1
iQFTBAEBCAA9BQJVlETuNhxGbG9yaWFuIEVybWlzY2ggPGZsb3JpYW4uZXJtaXNj
aEBhbHVtbmkudHUtYmVybGluLmRlPgAKCRAu8tzCHoBI/eRkB/9dCHAYNrZCnK0Z
QCqRNQ3qQ3Knnjt/MqRbru8SzpyYMDuxyOpiQYj9SziHhyb7vcfkWGVoQtlUWvYP
GsTIgS9SFwYFwS49s621FeSl2675EGoTKLHmrMDALyR5o6/LEeDZ2noWIno0mQLg
RKpoWr244mkOhumNgHnsSuJoR6vLCWe3MU+JIxcO5xv1ezrKa5MNuVvFKV0vaEqp
DSoKysXuWqupPMiG5KTMVkRLDVF5hnGYQ0gA+xQHSfMF0HQrp1UUZmBiRItcmnfl
HIILGOBkLM0AVqV0L0z5ThHn71Q2D0M2+nV6wSswYsP78WWQ5GJ9Bybd3ULbNMAd
sRDw1f6E
=dLjw
-----END PGP SIGNATURE-----