Commit fb3d9388 by Czémán Arnold Committed by cloud

nfs-client: add rpcbind requirement

parent ef4d4d1b
rpcbind_for_nfs_client:
pkg.installed:
- name: rpcbind
service:
- running
- name: rpcbind
- reload: True
- require:
- pkg: rpcbind
nfs-client: nfs-client:
pkg.installed: pkg.installed:
- pkgs: - pkgs:
...@@ -33,8 +44,9 @@ nfs_selinux: ...@@ -33,8 +44,9 @@ nfs_selinux:
- pass_num: 2 - pass_num: 2
- persist: True - persist: True
- mkmnt: True - mkmnt: True
{% if grains['os_family'] == 'RedHat' %}
- require: - require:
- service: rpcbind_for_nfs_client
{% if grains['os_family'] == 'RedHat' %}
- pkg: nfs_selinux - pkg: nfs_selinux
{% endif %} {% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment