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

Add reference docs and remove redundant recurse parameter #9

Merged
merged 1 commit into from Nov 6, 2018

Conversation

alexjfisher
Copy link
Member

@alexjfisher alexjfisher commented Nov 5, 2018

  • The recurse parameter has been removed. The relevant file resource now uses just the value of nrpe::purge for both purge and recurse.
  • purge is now just Boolean, instead of Optional[Boolean]

Documentation came from the template file comments, this PR, (thanks @vollmerk), and stuff I made up myself.

@alexjfisher alexjfisher force-pushed the puppet-strings branch 2 times, most recently from 3f8b65c to 884813d Compare November 5, 2018 17:03
README.md Outdated

## Reference

This module has been documented with [puppet-strings](https://github.com/puppetlabs/puppet-strings). See [REFERENCE.md](REFERENCE.md).
Copy link
Member

Choose a reason for hiding this comment

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

I'd first link to the reference and then tell you how it's generated.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed. I've also added the command to generate it to the Development section.

REFERENCE.md Outdated

Data type: `Optional[Stdlib::Filemode]`

The mode to use for the command file. Defaults to `$nrpe::command_file_default_mode`.
Copy link
Member

Choose a reason for hiding this comment

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

Below it says it defaults to undef. Perhaps it should say it'll use that var when it's undef?

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.

@alexjfisher alexjfisher changed the title WIP: Add reference docs and remove redundant recurse parameter Add reference docs and remove redundant recurse parameter Nov 5, 2018
@alexjfisher alexjfisher merged commit 59cbae6 into voxpupuli:master Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants