mirror of
https://github.com/saltstack-formulas/nfs-formula.git
synced 2025-04-17 10:10:31 +00:00
/etc/exports generation
This commit is contained in:
parent
d26b403b47
commit
cbab4cfb53
2 changed files with 8 additions and 0 deletions
3
files/exports
Normal file
3
files/exports
Normal file
|
@ -0,0 +1,3 @@
|
|||
{% for export in salt['pillar.get']('nfs:server:exports') %}
|
||||
{{ export[0] }} {{ export[1] }}
|
||||
{% %}
|
|
@ -3,3 +3,8 @@
|
|||
nfs-server-deps:
|
||||
pkg.installed:
|
||||
- pkgs: {{ nfs.pkgs_server|json }}
|
||||
|
||||
/etc/exports:
|
||||
file.managed:
|
||||
- source: salt://nfs/files/exports
|
||||
- template: jinja
|
||||
|
|
Loading…
Add table
Reference in a new issue