aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index aaaba04..d5bc5bb 100644
--- a/README.md
+++ b/README.md
@@ -25,3 +25,23 @@
}
}
+### Export NFS shares
+
+ node /box/ {
+ class { 'nfs':
+ server => true;
+ }
+
+ nfs::export { '/srv/nfs01 10.0.1.1/24':
+ export_directory => '/srv/nfs01',
+ export_target => '10.0.1.1/24',
+ export_options => 'rw,sync,no_root_squash',
+ }
+
+ nfs::export { '/srv/nfs01 10.0.2.1/24':
+ export_directory => '/srv/nfs01',
+ export_target => '10.0.2.1/24',
+ export_options => 'rw,sync,no_root_squash',
+ }
+ }
+