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

Convert classes to puppet-strings #617

Merged
merged 1 commit into from
Oct 31, 2022
Merged

Conversation

bastelfreak
Copy link
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak self-assigned this Oct 31, 2022
# @summary Sets up a Consul healthcheck
# @see http://www.consul.io/docs/agent/checks.html
#
# @param ensure Define availability of check. Use 'absent' to remove existing checks. Defaults to 'present'
Copy link
Member

Choose a reason for hiding this comment

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

Do you not prefer the style where the description is on the line below? (Also you can leave out Defaults to 'present' here as puppet-strings will produce that information itself).

Copy link
Member Author

Choose a reason for hiding this comment

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

I removed the defaults mentions. My personal preference is to have it in a single line, and my guess is that we've a slight majority of modules with that style. But I can live with multiline as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

maybe that's something for our styleguide 🤔

Copy link
Member

Choose a reason for hiding this comment

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

My preference is the opposite :)

The upstream styleguide says use either, but presumably the author preferred the indented description style as that's used in all the examples.

@bastelfreak bastelfreak merged commit 8019e94 into voxpupuli:master Oct 31, 2022
@bastelfreak bastelfreak deleted the docs2 branch October 31, 2022 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants