Skip to content

Commit

Permalink
Fix indention.
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information
votdev committed Jul 8, 2021
1 parent e2bbe70 commit ee65986
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions various/advset.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,23 +85,23 @@ like :file:`<N>xxxx.sls`, where N is between 0 and 100.

To append something to an already existing configuration file use this YAML::

<UNIQUE_IDENTIFIER>:
file.append:
- name: "<PATH_OF_THE_FILE>"
- text: |
<LINE1>
<LINE2>
<...>
<UNIQUE_IDENTIFIER>:
file.append:
- name: "<PATH_OF_THE_FILE>"
- text: |
<LINE1>
<LINE2>
<...>

Example::

customize_postfix_main:
file.append:
- name: "/etc/postfix/main.cf"
- text: |
mynetworks = 127.0.0.0/8 168.100.189.0/28
customize_postfix_main:
file.append:
- name: "/etc/postfix/main.cf"
- text: |
mynetworks = 127.0.0.0/8 168.100.189.0/28

For more file modifications please have a look into the `file module <https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.file.html>`_
For more file modifications please have a look into the `file module <https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.file.html>`_.

Finally you need to deploy your changes by running::

Expand Down

0 comments on commit ee65986

Please sign in to comment.