Kaynağa Gözat

Tidy up comments, add some docs/examples.

tags/v0.57.0
Matthew Richardson 8 yıl önce
ebeveyn
işleme
89ece150e6
3 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. +1
    -1
      README.rst
  2. +4
    -0
      pillar.example
  3. +0
    -2
      salt/files/minion.d/f_defaults.conf

+ 1
- 1
README.rst Dosyayı Görüntüle

@@ -120,7 +120,7 @@ you control, then you can safely enable the

``Configuration``
=================
Every option available in the templates can be set in pillar. Settings under 'salt' will be overridden by more specific settings under ``salt['master']``, ``salt['minion']`` or ``salt['cloud']``
Every option available in the templates can be set in pillar. Settings under 'salt' will be overridden by more specific settings under ``salt['master']``, ``salt['minion']`` or ``salt['cloud']``. Options specified in ``salt['minion']`` which are not present in the default configuration file will be added to the end of the configuration file.

::


+ 4
- 0
pillar.example Dosyayı Görüntüle

@@ -132,6 +132,10 @@ salt:
mine_functions:
network.interface_ip: [eth0]

# other 'non-default' config
auth_keytab: /root/auth.keytab
auth_principal: kadmin/admin

# salt cloud config
cloud:
master: salt

+ 0
- 2
salt/files/minion.d/f_defaults.conf Dosyayı Görüntüle

@@ -1021,8 +1021,6 @@ alternative.mongo.{{ name }}: {{ value }}
{% endif %}
{%- endif %}

############ Other settings ############
##########################################
{%- for configname in cfg_minion %}
{%- if configname not in reserved_keys and configname not in default_keys %}
{{ configname }}: {{ cfg_minion[configname]|json }}

Yükleniyor…
İptal
Kaydet