Browse Source

nfs filesystem mount fix

tags/2017.4.1
Jiri Broulik 7 years ago
parent
commit
b845058fe5
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

'swap': {}, 'swap': {},
'lvm': {}, 'lvm': {},
'loopback': {}, 'loopback': {},
'nfs': {
'pkgs': ['nfs-utils']
},
'multipath': { 'multipath': {
'enabled': False, 'enabled': False,
'pkgs': ['multipath-tools', 'multipath-tools-boot'], 'pkgs': ['multipath-tools', 'multipath-tools-boot'],
'swap': {}, 'swap': {},
'lvm': {}, 'lvm': {},
'loopback': {}, 'loopback': {},
'nfs': {
'pkgs': ['nfs-common']
},
'multipath': { 'multipath': {
'enabled': False, 'enabled': False,
'pkgs': ['multipath-tools', 'multipath-tools-boot'], 'pkgs': ['multipath-tools', 'multipath-tools-boot'],
'swap': {}, 'swap': {},
'lvm': {}, 'lvm': {},
'loopback': {}, 'loopback': {},
'nfs': {
'pkgs': ['nfs-utils']
},
'multipath': { 'multipath': {
'enabled': False, 'enabled': False,
'pkgs': [], 'pkgs': [],

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



{%- endif %} {%- endif %}


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

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

Loading…
Cancel
Save