mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #32166 from vutny/fix-multiline-yaml-string-example
`salt.states.file`: correct examples with multiline YAML string
This commit is contained in:
commit
c08ba3f8a9
2 changed files with 10 additions and 10 deletions
|
@ -22,8 +22,8 @@ Control the alternatives system
|
|||
|
||||
hadoop-0.20-conf:
|
||||
alternatives.remove:
|
||||
- name: hadoop-0.20-conf
|
||||
- path: {{ my_hadoop_conf }}
|
||||
- name: hadoop-0.20-conf
|
||||
- path: {{ my_hadoop_conf }}
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -1275,8 +1275,8 @@ def managed(name,
|
|||
/path/to/file2:
|
||||
file.managed:
|
||||
- contents: |
|
||||
This is line 1
|
||||
This is line 2
|
||||
This is line 1
|
||||
This is line 2
|
||||
|
||||
|
||||
contents_pillar
|
||||
|
@ -1309,12 +1309,12 @@ def managed(name,
|
|||
userdata:
|
||||
deployer:
|
||||
id_rsa: |
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEowIBAAKCAQEAoQiwO3JhBquPAalQF9qP1lLZNXVjYMIswrMe2HcWUVBgh+vY
|
||||
U7sCwx/dH6+VvNwmCoqmNnP+8gTPKGl1vgAObJAnMT623dMXjVKwnEagZPRJIxDy
|
||||
B/HaAre9euNiY3LvIzBTWRSeMfT+rWvIKVBpvwlgGrfgz70m0pqxu+UyFbAGLin+
|
||||
GpxzZAMaFpZw4sSbIlRuissXZj/sHpQb8p9M5IeO4Z3rjkCP1cxI
|
||||
-----END RSA PRIVATE KEY-----
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEowIBAAKCAQEAoQiwO3JhBquPAalQF9qP1lLZNXVjYMIswrMe2HcWUVBgh+vY
|
||||
U7sCwx/dH6+VvNwmCoqmNnP+8gTPKGl1vgAObJAnMT623dMXjVKwnEagZPRJIxDy
|
||||
B/HaAre9euNiY3LvIzBTWRSeMfT+rWvIKVBpvwlgGrfgz70m0pqxu+UyFbAGLin+
|
||||
GpxzZAMaFpZw4sSbIlRuissXZj/sHpQb8p9M5IeO4Z3rjkCP1cxI
|
||||
-----END RSA PRIVATE KEY-----
|
||||
|
||||
.. note::
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue