Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arioch committed May 8, 2013
1 parent 1b12992 commit c7c4aa5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion manifests/export.pp
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# = Define nfs::export
#
# === Parameters:
#
# $export_directory Define which directory to export.
#
# $export_target Define which target to export.
#
# $ensure Default: present.
#
# $export_options Define export options.
# Default: 'rw,no_root_squash,no_subtree_check'.
#
define nfs::export (
$export_directory,
$export_target,
$ensure = present,
$export_options = 'rw,no_root_squash,no_subtree_check',
) {

if ! $::nfs::server {
fail 'NFS server support is not enabled.'
}
Expand Down

0 comments on commit c7c4aa5

Please sign in to comment.