Updated best practices for a typo for the sls reference.

This commit is contained in:
Forrest Alvarez 2014-02-16 04:11:10 +00:00
parent 3f68dd00c8
commit 237b80a2fb

View File

@ -460,7 +460,7 @@ accessible by the appropriate hosts:
- password: "test3rdb"
- host: localhost
- require:
- sls: testerdb
- sls: mysql.testerdb
Many users would review this state and see that the password is there in plain
text, which is quite problematic. It results in several issues which may not be
@ -518,7 +518,7 @@ the associated pillar:
- password: {{ salt['pillar.get']('mysql:lookup:password') }}
- host: {{ salt['pillar.get']('mysql:lookup:host') }}
- require:
- sls: testerdb
- sls: mysql.testerdb
Now that the database details have been moved to the associated pillar file
only machines which are targeted via pillar will have access to these details.