diff options
author | Georg Pfuetzenreuter | 2023-01-15 15:50:17 +0100 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-01-15 17:39:31 +0100 |
commit | 11620c863cafff26152d8cdca49c369a5d69474f (patch) | |
tree | 328533adb379681a6e04e1fde820f73c47b84ff0 /pillar | |
parent | a1782581bb5124ecee97baa86ef8a312ad4828d0 (diff) | |
download | salt-11620c863cafff26152d8cdca49c369a5d69474f.tar.gz salt-11620c863cafff26152d8cdca49c369a5d69474f.tar.bz2 salt-11620c863cafff26152d8cdca49c369a5d69474f.zip |
Init salted salt + minion pillar
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'pillar')
-rw-r--r-- | pillar/common.sls | 2 | ||||
-rw-r--r-- | pillar/role/salt/common.sls | 2 | ||||
-rw-r--r-- | pillar/role/salt/minion.sls | 5 |
3 files changed, 9 insertions, 0 deletions
diff --git a/pillar/common.sls b/pillar/common.sls index fc62816..de375e2 100644 --- a/pillar/common.sls +++ b/pillar/common.sls @@ -1,4 +1,6 @@ include: + - role.salt.common + - role.salt.minion - secret.common managed_header_pound: | diff --git a/pillar/role/salt/common.sls b/pillar/role/salt/common.sls new file mode 100644 index 0000000..eb86127 --- /dev/null +++ b/pillar/role/salt/common.sls @@ -0,0 +1,2 @@ +salt: + hash_type: sha512 diff --git a/pillar/role/salt/minion.sls b/pillar/role/salt/minion.sls new file mode 100644 index 0000000..f67ec63 --- /dev/null +++ b/pillar/role/salt/minion.sls @@ -0,0 +1,5 @@ +salt: + minion_remove_config: True + minion: + master_type: str + master: {{ pillar['netbox']['config_context']['salt_master'] }} |