瀏覽代碼

docs(readme): add documentation regarding salt.formula usage [skip ci]

* docs(readme): add documentation regarding salt.formula usage.

* docs(readme): change salt.formulas documentation to use double backtick.

Co-authored-by: Imran Iqbal <myii@users.noreply.github.com>
tags/v1.9.0
Pedro Worcel 3 年之前
父節點
當前提交
209575f385
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 10 行新增5 行删除
  1. +10
    -5
      docs/README.rst

+ 10
- 5
docs/README.rst 查看文件



Clone selected `Salt formulas Clone selected `Salt formulas
<http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_ <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_
Git repositories under ``/srv/formulas`` and makes them available in the
relevant ``file_roots`` settings. Pillar data can be used to customize all
paths, URLs, etc.
Git repositories under ``/srv/formulas`` and makes them available in the relevant ``file_roots`` settings. Please note that in order for ``file_roots`` to be updated, ``salt.master`` must be called after ``salt.formulas``. For example:


Here's a minimal pillar sample installing two formulas in the base
environment.
::

base:
'saltmain':
- salt.formulas
- salt.master

Pillar data can be used to customize all paths, URLs, etc. Here's a minimal pillar sample installing two formulas in the base environment:


:: ::



Loading…
取消
儲存