See salt issues #48309 #51925pull/189/head
linux_dpdk_pkgs: | linux_dpdk_pkgs: | ||||
pkg.installed: | pkg.installed: | ||||
- pkgs: {{ network.dpdk_pkgs }} | |||||
- pkgs: {{ network.dpdk_pkgs | json }} | |||||
linux_dpdk_kernel_module: | linux_dpdk_kernel_module: | ||||
kmod.present: | kmod.present: |
linux_network_bridge_pkgs: | linux_network_bridge_pkgs: | ||||
pkg.installed: | pkg.installed: | ||||
{%- if network.bridge == 'openvswitch' %} | {%- if network.bridge == 'openvswitch' %} | ||||
- pkgs: {{ network.ovs_pkgs }} | |||||
- pkgs: {{ network.ovs_pkgs | json }} | |||||
{%- else %} | {%- else %} | ||||
- pkgs: {{ network.bridge_pkgs }} | |||||
- pkgs: {{ network.bridge_pkgs | json }} | |||||
{%- endif %} | {%- endif %} | ||||
{%- endif %} | {%- endif %} | ||||
linux_network_packages: | linux_network_packages: | ||||
pkg.installed: | pkg.installed: | ||||
- pkgs: {{ network.pkgs }} | |||||
- pkgs: {{ network.pkgs | json }} | |||||
/etc/netctl/network_{{ interface.wireless.essid }}: | /etc/netctl/network_{{ interface.wireless.essid }}: | ||||
file.managed: | file.managed: |
openvswitch_pkgs: | openvswitch_pkgs: | ||||
pkg.installed: | pkg.installed: | ||||
- pkgs: {{ network.ovs_pkgs }} | |||||
- pkgs: {{ network.ovs_pkgs | json }} | |||||
/etc/default/openvswitch-switch: | /etc/default/openvswitch-switch: | ||||
file.managed: | file.managed: |
linux_lvm_pkgs: | linux_lvm_pkgs: | ||||
pkg.installed: | pkg.installed: | ||||
- pkgs: {{ storage.lvm_pkgs }} | |||||
- pkgs: {{ storage.lvm_pkgs | json }} | |||||
/etc/lvm/lvm.conf: | /etc/lvm/lvm.conf: |
{%- if mount.file_system == 'nfs' %} | {%- if mount.file_system == 'nfs' %} | ||||
linux_storage_nfs_packages: | linux_storage_nfs_packages: | ||||
pkg.installed: | pkg.installed: | ||||
- pkgs: {{ storage.nfs.pkgs }} | |||||
- pkgs: {{ storage.nfs.pkgs | json }} | |||||
{%- endif %} | {%- endif %} | ||||
{{ mount.path }}: | {{ mount.path }}: |
linux_storage_multipath_packages: | linux_storage_multipath_packages: | ||||
pkg.installed: | pkg.installed: | ||||
- pkgs: {{ storage.multipath.pkgs }} | |||||
- pkgs: {{ storage.multipath.pkgs | json }} | |||||
linux_storage_multipath_config: | linux_storage_multipath_config: | ||||
file.managed: | file.managed: |
linux_auth_ldap_packages: | linux_auth_ldap_packages: | ||||
pkg.installed: | pkg.installed: | ||||
- pkgs: {{ ldap.pkgs }} | |||||
- pkgs: {{ ldap.pkgs | json }} | |||||
linux_auth_nslcd_config_file: | linux_auth_nslcd_config_file: | ||||
file.managed: | file.managed: |
{%- if system.autoupdates.pkgs %} | {%- if system.autoupdates.pkgs %} | ||||
linux_autoupdates_packages: | linux_autoupdates_packages: | ||||
pkg.installed: | pkg.installed: | ||||
- pkgs: {{ system.autoupdates.pkgs }} | |||||
- pkgs: {{ system.autoupdates.pkgs | json }} | |||||
{%- endif %} | {%- endif %} | ||||
{%- if grains.os_family == 'Debian' %} | {%- if grains.os_family == 'Debian' %} |
{%- if pkgs %} | {%- if pkgs %} | ||||
linux_extra_packages_{{ pkgs_group }}: | linux_extra_packages_{{ pkgs_group }}: | ||||
pkg.{{ pkgs_group }}: | pkg.{{ pkgs_group }}: | ||||
- pkgs: {{ pkgs }} | |||||
- pkgs: {{ pkgs | json }} | |||||
{%- endif %} | {%- endif %} | ||||
{%- endfor %} | {%- endfor %} | ||||
{% if system.pkgs %} | {% if system.pkgs %} | ||||
linux_repo_prereq_pkgs: | linux_repo_prereq_pkgs: | ||||
pkg.installed: | pkg.installed: | ||||
- pkgs: {{ system.pkgs }} | |||||
- pkgs: {{ system.pkgs | json }} | |||||
{%- endif %} | {%- endif %} | ||||
# global proxy setup | # global proxy setup |