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

manage_unit: correct minor mistakes in examples #415

Merged
merged 2 commits into from
Feb 27, 2024
Merged

manage_unit: correct minor mistakes in examples #415

merged 2 commits into from
Feb 27, 2024

Conversation

zbentley
Copy link
Contributor

Pull Request (PR) description

Updates two sections of REFERENCE.md that contained invalid syntax, with the goal of making all examples in REFERENCE.md valid for paste-and-run execution.

This Pull Request (PR) fixes the following issues

Fixes #414

@kenyon
Copy link
Member

kenyon commented Feb 27, 2024

REFERENCE.md is generated from the comments in the code (https://www.puppet.com/docs/puppet/8/puppet_strings.html), so the fix needs to be made there, then regenerate the doc with bundle exec rake strings:generate:reference.

@zbentley
Copy link
Contributor Author

Done!

@kenyon kenyon added the docs Improvements or additions to documentation label Feb 27, 2024
@kenyon kenyon changed the title [Fix #414] correct minor mistakes in REFERENCE.md to make all snippets pasteable manage_unit: correct minor mistakes in REFERENCE.md to make all snippets pasteable Feb 27, 2024
@kenyon kenyon changed the title manage_unit: correct minor mistakes in REFERENCE.md to make all snippets pasteable manage_unit: correct minor mistakes in examples Feb 27, 2024
@kenyon kenyon merged commit bcec820 into voxpupuli:master Feb 27, 2024
34 checks passed
@zbentley zbentley deleted the fix_414 branch February 27, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running the example code for systemd::manage_unit from REFERENCE.md causes an error:
2 participants