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

(PUP-12065) Add task to generate configuration reference #9459

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

joshcooper
Copy link
Contributor

bundle exec rake references:configuration

It runs puppet doc -r configuration to generate references/configuration.md.

In order for the output to not be dependent on the hostname/domain facts, allow them to be overridden as an environment variable. This can't be done using FACTER_*, because structured facts like networking.hostname can't be overridden by an env variable.

To determine if any meaningful changes have been made, you can run:

git diff  -I built_from_commit -I 'This page was generated from the Puppet source code' references/

    bundle exec rake references:configuration

It runs `puppet doc -r configuration` to generate references/configuration.md.

In order for the output to not be dependent on the hostname/domain facts, allow
them to be overridden as an environment variable. This can't be done using
FACTER_*, because structured facts like `networking.hostname` can't be overridden
by an env variable.

To determine if any meaningful changes have been made, you can run:

    git diff  -I built_from_commit -I 'This page was generated from the Puppet source code' references/
@joshcooper joshcooper requested a review from a team as a code owner August 28, 2024 18:04
@mhashizume mhashizume added the maintenance Maintenance chores are excluded from changelogs label Aug 29, 2024
@mhashizume mhashizume merged commit d70f906 into puppetlabs:main Aug 29, 2024
10 checks passed
@joshcooper joshcooper deleted the references_config_12065 branch October 10, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance chores are excluded from changelogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants