Bläddra i källkod

Merge pull request #30 from simonpasquier/support-tmpfs-mount

Support tmpfs mount
tags/2016.12
Filip Pytloun 8 år sedan
förälder
incheckning
3329bccf68
2 ändrade filer med 4 tillägg och 2 borttagningar
  1. +2
    -0
      README.rst
  2. +2
    -2
      linux/storage/mount.sls

+ 2
- 0
README.rst Visa fil

@@ -558,6 +558,7 @@ Linux with mounted Samba
enabled: true
mount:
samba1:
- enabled: true
- path: /media/myuser/public/
- device: //192.168.0.1/storage
- file_system: cifs
@@ -599,6 +600,7 @@ LVM group `vg1` with one device and `data` volume mounted into `/mnt/data`
storage:
mount:
data:
enabled: true
device: /dev/vg1/data
file_system: ext4
path: /mnt/data

+ 2
- 2
linux/storage/mount.sls Visa fil

@@ -5,7 +5,7 @@

{%- if mount.enabled %}

{%- if not mount.file_system in ['nfs', 'nfs4', 'cifs'] %}
{%- if not mount.file_system in ['nfs', 'nfs4', 'cifs', 'tmpfs'] %}

mkfs_{{ mount.device}}:
cmd.run:
@@ -50,4 +50,4 @@ xfs_packages_{{ mount.device }}:

{%- endfor %}

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

Laddar…
Avbryt
Spara