Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d2b4c14b
authored
Oct 10, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfs-server with exports
parent
7e7b5c35
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
salt/storagedriver/files/exports.tmpl
+1
-0
salt/storagedriver/nfs-server.sls
+15
-0
No files found.
salt/storagedriver/files/exports.tmpl
0 → 100644
View file @
d2b4c14b
{{ pillar['nfs']['directory'] }} {{ pillar['nfs']['network'] }}(rw,async,insecure,no_subtree_check,no_root_squash)
salt/storagedriver/nfs-server.sls
0 → 100644
View file @
d2b4c14b
nfs-server:
service:
- name: nfs-kernel-server
- running
- watch:
- file: /etc/exports
pkg.installed:
- name: nfs-kernel-server
/etc/exports:
file:
- append
- template: jinja
- sources:
- salt://storagedriver/files/exports.tmpl
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment