mirror of
https://github.com/saltstack-formulas/nfs-formula.git
synced 2025-04-17 10:10:31 +00:00
fix comments after review
This commit is contained in:
parent
9cb2e467c5
commit
2621606c99
3 changed files with 5 additions and 3 deletions
|
@ -1,8 +1,9 @@
|
|||
nfs:
|
||||
mount_opts: "vers=3"
|
||||
mount_opts: None
|
||||
mkmnt: True
|
||||
persist_mount: True
|
||||
persist_unmount: False
|
||||
exports_file: '/etc/exports'
|
||||
export_template: 'salt://nfs/files/exports'
|
||||
# for most Linux distributions:
|
||||
pkgs_server:
|
||||
|
|
|
@ -26,7 +26,7 @@ RedHat:
|
|||
pkgs_client: ['nfs-utils']
|
||||
service_name: 'nfs-server'
|
||||
|
||||
SUSE:
|
||||
Suse:
|
||||
pkgs_server: ['nfs-kernel-server']
|
||||
pkgs_client: ['nfs-client']
|
||||
service_name: 'nfsserver'
|
||||
|
|
|
@ -6,8 +6,9 @@ nfs-server-deps:
|
|||
- pkgs: {{ nfs.pkgs_server|json }}
|
||||
{% endif %}
|
||||
|
||||
/etc/exports:
|
||||
nfs-exports-configure:
|
||||
file.managed:
|
||||
- name: {{ nfs.exports_file }}
|
||||
- source: {{ nfs.export_template }}
|
||||
- template: jinja
|
||||
- watch_in:
|
||||
|
|
Loading…
Add table
Reference in a new issue