瀏覽代碼

Adding salt_syndic_enabled to soft params

The patch adds ability to enable/disable salt-syndic
by changing the value with soft params.

Depends-on: Id97088e0a8c449c38943b8ceaa2111647fea19fc
Change-Id: I019fc1a08ae4781a1bfd39f39acf1d695691b997
Related-PROD: PROD-20579
pull/73/head
Oleh Hryhorov 6 年之前
父節點
當前提交
645ec011bf
共有 2 個檔案被更改,包括 6 行新增5 行删除
  1. +3
    -4
      metadata/service/syndic/cluster.yml
  2. +3
    -1
      metadata/service/syndic/single.yml

+ 3
- 4
metadata/service/syndic/cluster.yml 查看文件

@@ -1,7 +1,6 @@
parameters:
_param:
salt_syndic_enabled: true
salt:
syndic:
enabled: true
masters:
- host: ${_param:salt_syndic_master_address_01}
- host: ${_param:salt_syndic_master_address_02}
enabled: ${_param:salt_syndic_enabled}

+ 3
- 1
metadata/service/syndic/single.yml 查看文件

@@ -1,6 +1,8 @@
parameters:
_param:
salt_syndic_enabled: true
salt:
syndic:
enabled: true
enabled: ${_param:salt_syndic_enabled}
master:
host: ${_param:salt_syndic_master_address}

Loading…
取消
儲存