commit | 734b103314322da4b1501f61d734a3a37c697aba | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Tue Mar 21 18:11:14 2017 +0100 |
committer | Filip Pytloun <filip@pytloun.cz> | Tue Mar 21 18:11:14 2017 +0100 |
tree | c78b5f5d2b098e789031e01f5bed08ac70da4837 | |
parent | eff752556a8c4c3ff63925ccee99b4fac965c51b [diff] |
Raise timeout for mounting glusterfs Change-Id: Id30f5582847303af4107b0c6b2f7ce7146918811
diff --git a/glusterfs/client.sls b/glusterfs/client.sls index 71e9cb1..0994ceb 100644 --- a/glusterfs/client.sls +++ b/glusterfs/client.sls
@@ -23,6 +23,7 @@ path: {{ volume.path }} device: {{ volume.server }}:/{{ name }} options: {{ volume.get('opts', client.mount_defaults) }} + timeout: {{ volume.get('timeout', 300) }} glusterfs_mount_{{ name }}: service.running:
diff --git a/glusterfs/files/glusterfs-client.mount b/glusterfs/files/glusterfs-client.mount index a0a7cd1..df1cd08 100644 --- a/glusterfs/files/glusterfs-client.mount +++ b/glusterfs/files/glusterfs-client.mount
@@ -7,6 +7,7 @@ Where={{ path }} Type=glusterfs Options={{ options }} +Timeout={{ timeout|default(300) }} [Install] WantedBy=multi-user.target