Compare commits

..

No commits in common. "3d7f4ae4b529a29fcacc5d423824c56764b18e2c" and "a1782581bb5124ecee97baa86ef8a312ad4828d0" have entirely different histories.

6 changed files with 3 additions and 18 deletions

View File

@ -1,6 +1,4 @@
include:
- role.salt.common
- role.salt.minion
- secret.common
managed_header_pound: |

View File

@ -1,2 +0,0 @@
salt:
hash_type: sha512

View File

@ -1,11 +0,0 @@
{%- set myconfig = pillar['netbox']['config_context'] -%}
salt:
minion_remove_config: True
minion:
master_type: True
master: {{ myconfig['salt_master'] }}
{%- if 'roles' in myconfig and myconfig['roles'] | length > 0 %}
grains:
roles: {{ myconfig['roles'] }}
{%- endif %}

View File

@ -1,3 +1,3 @@
include:
- role.salt.minion
- role.minion
- common.{{ grains['os'] | lower }}

2
salt/role/minion.sls Normal file
View File

@ -0,0 +1,2 @@
include:
- profile.salt.grains

View File

@ -1,2 +0,0 @@
include:
- salt.minion