Browse Source

Merge pull request #81 from jiribroulik/master

nfs filesystem mount fix
tags/2017.4.1
Filip Pytloun 7 years ago
parent
commit
2a1850643e
2 changed files with 15 additions and 0 deletions
  1. +9
    -0
      linux/map.jinja
  2. +6
    -0
      linux/storage/mount.sls

+ 9
- 0
linux/map.jinja View File

@@ -146,6 +146,9 @@
'swap': {},
'lvm': {},
'loopback': {},
'nfs': {
'pkgs': ['nfs-utils']
},
'multipath': {
'enabled': False,
'pkgs': ['multipath-tools', 'multipath-tools-boot'],
@@ -157,6 +160,9 @@
'swap': {},
'lvm': {},
'loopback': {},
'nfs': {
'pkgs': ['nfs-common']
},
'multipath': {
'enabled': False,
'pkgs': ['multipath-tools', 'multipath-tools-boot'],
@@ -169,6 +175,9 @@
'swap': {},
'lvm': {},
'loopback': {},
'nfs': {
'pkgs': ['nfs-utils']
},
'multipath': {
'enabled': False,
'pkgs': [],

+ 6
- 0
linux/storage/mount.sls View File

@@ -24,6 +24,12 @@ xfs_packages_{{ mount.device }}:

{%- endif %}

{%- if mount.file_system == 'nfs' %}
linux_storage_nfs_packages:
pkg.installed:
- pkgs: {{ storage.nfs.pkgs }}
{%- endif %}

{{ mount.path }}:
mount.mounted:
- device: {{ mount.device }}

Loading…
Cancel
Save