diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
commit | d835b2cae8abc71958b69362162e6a70c3d7ef63 (patch) | |
tree | 81052e3d2ce3e1bcda085f73d925e9d6257dec15 /scripts/exportfs | |
parent | Initial commit. (diff) | |
download | crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.tar.xz crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.zip |
Adding upstream version 4.6.0.upstream/4.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scripts/exportfs')
-rw-r--r-- | scripts/exportfs/main.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/scripts/exportfs/main.yml b/scripts/exportfs/main.yml new file mode 100644 index 0000000..6dff8f2 --- /dev/null +++ b/scripts/exportfs/main.yml @@ -0,0 +1,37 @@ +version: 2.2 +shortdesc: "NFS Exported File System" +category: NFS +include: + - agent: ocf:heartbeat:exportfs + parameters: + - name: id + required: true + shortdesc: Resource ID + longdesc: Cluster Resource ID + type: resource + value: exportfs + - name: fsid + shortdesc: Unique FSID Within Cluster or Starting FSID for Multiple Exports + required: true + type: integer + value: 1 + - name: directory + required: true + type: string + shortdesc: Mount Point (Directory) + longdesc: "The mount point for the file system, e.g.: /srv/nfs/home" + - name: options + required: true + shortdesc: Mount Options + longdesc: "Any additional options to be given to the mount command, for example rw,mountpoint" + type: string + - name: wait_for_leasetime_on_stop + required: false + shortdesc: Wait for Lease Time on Stop + longdesc: If set to true, wait for lease on stop. + type: boolean + value: true + ops: | + op monitor interval=30s +actions: + - include: exportfs |