mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 10:25:23 +00:00
Embed use flags in version only
This commit is contained in:
parent
4b171aee7f
commit
9157e861ef
@ -3,5 +3,4 @@
|
||||
|
||||
app-crypt/mit-krb5:
|
||||
pkg.installed:
|
||||
- version: "{{ krb5_version }}"
|
||||
- uses: {{ krb5_use }}
|
||||
- version: "{{ krb5_version }}[{{ ','.join(krb5_use) }}]"
|
||||
|
@ -3,5 +3,4 @@
|
||||
|
||||
net-libs/libtirpc:
|
||||
pkg.installed:
|
||||
- version: "{{ libtirpc_version }}"
|
||||
- uses: {{ libtirpc_use }}
|
||||
- version: "{{ libtirpc_version }}[{{ ','.join(libtirpc_use) }}]"
|
||||
|
@ -5,7 +5,6 @@ include:
|
||||
|
||||
net-nds/rpcbind:
|
||||
pkg.installed:
|
||||
- version: "{{ rpcbind_version }}"
|
||||
- uses: {{ rpcbind_use }}
|
||||
- version: "{{ rpcbind_version }}[{{ ','.join(rpcbind_use) }}]"
|
||||
- require:
|
||||
- pkg: net-libs/libtirpc
|
||||
|
@ -1,6 +1,6 @@
|
||||
{% set utils_version = salt['pillar.get']('nfs:utils:version', '>=2.3.1') %}
|
||||
{% set utils_use = salt['pillar.get']('nfs:utils:use', ['caps','kerberos','nfsv4','nfsv41','-tcpd']) %}
|
||||
{% set utils_use_str = '[' + ']' %}
|
||||
|
||||
include:
|
||||
- nds.rpcbind
|
||||
{% if 'kerberos' in utils_use %}
|
||||
@ -9,8 +9,7 @@ include:
|
||||
|
||||
net-fs/nfs-utils:
|
||||
pkg.installed:
|
||||
- version: "{{ utils_version }}"
|
||||
- uses: {{ utils_use }}
|
||||
- version: "{{ utils_version }}[{{ ','.join(utils_use) }}]"
|
||||
- require:
|
||||
- pkg: net-libs/libtirpc
|
||||
- pkg: net-nds/rpcbind
|
||||
|
Loading…
Reference in New Issue
Block a user