mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Updated best practices for a typo for the sls reference.
This commit is contained in:
parent
3f68dd00c8
commit
237b80a2fb
@ -460,7 +460,7 @@ accessible by the appropriate hosts:
|
|||||||
- password: "test3rdb"
|
- password: "test3rdb"
|
||||||
- host: localhost
|
- host: localhost
|
||||||
- require:
|
- require:
|
||||||
- sls: testerdb
|
- sls: mysql.testerdb
|
||||||
|
|
||||||
Many users would review this state and see that the password is there in plain
|
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
|
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') }}
|
- password: {{ salt['pillar.get']('mysql:lookup:password') }}
|
||||||
- host: {{ salt['pillar.get']('mysql:lookup:host') }}
|
- host: {{ salt['pillar.get']('mysql:lookup:host') }}
|
||||||
- require:
|
- require:
|
||||||
- sls: testerdb
|
- sls: mysql.testerdb
|
||||||
|
|
||||||
Now that the database details have been moved to the associated pillar file
|
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.
|
only machines which are targeted via pillar will have access to these details.
|
||||||
|
Loading…
Reference in New Issue
Block a user