|
|
|
|
|
|
|
|
{%- load_yaml as master_common %} |
|
|
{%- load_yaml as master_common %} |
|
|
default: |
|
|
default: |
|
|
service: salt-master |
|
|
service: salt-master |
|
|
{%- if pillar.salt.master is defined %} |
|
|
|
|
|
{%- if pillar.salt.master.source.engine == 'pkg' %} |
|
|
|
|
|
|
|
|
{%- if pillar.salt.get('master', {}).get('source', {}).get('engine', 'pkg') == 'pkg' %} |
|
|
install_state: "pkg: salt_master_packages" |
|
|
install_state: "pkg: salt_master_packages" |
|
|
|
|
|
source: |
|
|
|
|
|
engine: pkg |
|
|
{%- elif pillar.salt.master.source.engine == 'pip' %} |
|
|
{%- elif pillar.salt.master.source.engine == 'pip' %} |
|
|
install_state: "pip: salt_master_packages" |
|
|
install_state: "pip: salt_master_packages" |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{%- if pillar.salt.master.source.version is defined %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{%- if pillar.salt.get('master', {}).get('source', {}).version is defined %} |
|
|
version: {{ pillar.salt.master.source.version }} |
|
|
version: {{ pillar.salt.master.source.version }} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
|
|
|
accept_policy: preseed |
|
|
accept_policy: preseed |
|
|
bind: {} |
|
|
bind: {} |
|
|
formula: {} |
|
|
formula: {} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{%- load_yaml as minion_common %} |
|
|
{%- load_yaml as minion_common %} |
|
|
default: |
|
|
default: |
|
|
graph_pkgs: |
|
|
|
|
|
|
|
|
graph_pkgs: |
|
|
- graphviz |
|
|
- graphviz |
|
|
graph_states_pkgs: |
|
|
|
|
|
|
|
|
graph_states_pkgs: |
|
|
- python-pydot |
|
|
- python-pydot |
|
|
- python-yaml |
|
|
- python-yaml |
|
|
graph_states: False |
|
|
graph_states: False |
|
|
service: salt-minion |
|
|
service: salt-minion |
|
|
{%- if pillar.salt.minion is defined %} |
|
|
|
|
|
{%- if pillar.salt.minion.source.engine == 'pkg' %} |
|
|
|
|
|
|
|
|
{%- if pillar.salt.get('minion', {}).get('source', {}).get('engine', 'pkg') == 'pkg' %} |
|
|
install_state: "pkg: salt_minion_packages" |
|
|
install_state: "pkg: salt_minion_packages" |
|
|
|
|
|
source: |
|
|
|
|
|
engine: pkg |
|
|
{%- elif pillar.salt.minion.source.engine == 'pip' %} |
|
|
{%- elif pillar.salt.minion.source.engine == 'pip' %} |
|
|
install_state: "pip: salt_minion_packages" |
|
|
install_state: "pip: salt_minion_packages" |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{%- if pillar.salt.minion.source.version is defined %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{%- if pillar.salt.get('minion', {}).get('source', {}).version is defined %} |
|
|
version: {{ pillar.salt.minion.source.version }} |
|
|
version: {{ pillar.salt.minion.source.version }} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
|
|
|
{%- endload %} |
|
|
{%- endload %} |
|
|
|
|
|
|
|
|
{%- load_yaml as minion_specific %} |
|
|
{%- load_yaml as minion_specific %} |
|
|
Arch: |
|
|
Arch: |
|
|
pkgs: |
|
|
|
|
|
|
|
|
pkgs: |
|
|
- salt-zmq |
|
|
- salt-zmq |
|
|
Debian: |
|
|
Debian: |
|
|
pkgs: |
|
|
pkgs: |
|
|
- salt-minion |
|
|
- salt-minion |
|
|
Gentoo: |
|
|
Gentoo: |
|
|
pkgs: |
|
|
|
|
|
|
|
|
pkgs: |
|
|
- app-admin/salt |
|
|
- app-admin/salt |
|
|
MacOS: |
|
|
MacOS: |
|
|
pkgs: |
|
|
pkgs: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{%- load_yaml as control_common %} |
|
|
{%- load_yaml as control_common %} |
|
|
default: |
|
|
default: |
|
|
cloud_pips: |
|
|
|
|
|
|
|
|
cloud_pips: |
|
|
- apache-libcloud |
|
|
- apache-libcloud |
|
|
- netaddr |
|
|
- netaddr |
|
|
cloud_pkgs: |
|
|
|
|
|
|
|
|
cloud_pkgs: |
|
|
- python-netaddr |
|
|
- python-netaddr |
|
|
- python-libcloud |
|
|
- python-libcloud |
|
|
virt_pips: |
|
|
|
|
|
|
|
|
virt_pips: |
|
|
- libvirt-python |
|
|
- libvirt-python |
|
|
maas_pkgs: |
|
|
|
|
|
|
|
|
maas_pkgs: |
|
|
- python-maas-client |
|
|
- python-maas-client |
|
|
cluster: {} |
|
|
cluster: {} |
|
|
{%- endload %} |
|
|
{%- endload %} |
|
|
|
|
|
|
|
|
{%- load_yaml as control_specific %} |
|
|
{%- load_yaml as control_specific %} |
|
|
Debian: |
|
|
Debian: |
|
|
virt_pkgs: |
|
|
|
|
|
|
|
|
virt_pkgs: |
|
|
- libvirt-dev |
|
|
- libvirt-dev |
|
|
- pkg-config |
|
|
- pkg-config |
|
|
- libguestfs-tools |
|
|
- libguestfs-tools |
|
|
RedHat: |
|
|
RedHat: |
|
|
virt_pkgs: |
|
|
|
|
|
|
|
|
virt_pkgs: |
|
|
- libvirt-dev |
|
|
- libvirt-dev |
|
|
- pkg-config |
|
|
- pkg-config |
|
|
{%- endload %} |
|
|
{%- endload %} |