From c7c4aa5e9dce02fa6a54d0fcfe30bfb70dd5e64c Mon Sep 17 00:00:00 2001 From: Tom De Vylder Date: Wed, 8 May 2013 14:12:41 +0200 Subject: [PATCH] Add documentation --- manifests/export.pp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/manifests/export.pp b/manifests/export.pp index fc9a77a..2bc11ba 100644 --- a/manifests/export.pp +++ b/manifests/export.pp @@ -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.' }