Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct wrong documentation of nfs::server::export::clients #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ The following parameters are available in the `nfs::server::export` defined type

Data type: `String[1]`

String or Array. Sets the allowed clients and options for the export in the exports file.
String. Sets the allowed clients and options for the export in the exports file.
Defaults to <tt>localhost(ro)</tt>

Default value: `'localhost(ro)'`
Expand Down
2 changes: 1 addition & 1 deletion manifests/server/export.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Parameters
#
# @param clients
# String or Array. Sets the allowed clients and options for the export in the exports file.
# String. Sets the allowed clients and options for the export in the exports file.
# Defaults to <tt>localhost(ro)</tt>
Comment on lines +10 to 11
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

puppet-strings already generates the data type and default value automatically, so we can trim this down even more:

Suggested change
# String. Sets the allowed clients and options for the export in the exports file.
# Defaults to <tt>localhost(ro)</tt>
# Sets the allowed clients and options for the export in the exports file.

#
# @param bind
Expand Down
Loading