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

Allow custom userdir directives #2164

Merged
merged 2 commits into from
Jul 26, 2021
Merged

Conversation

hunner
Copy link
Contributor

@hunner hunner commented Jul 1, 2021

UserDir can be various forms of strings (see
https://httpd.apache.org/docs/2.4/howto/public_html.html) whereas
Directory must be an absolute path. This allows UserDir to be
specified separately.

The unit test showing multiple values for $path seems to be incorrect
according to https://httpd.apache.org/docs/2.4/mod/core.html#directory

`UserDir` can be various forms of strings (see
https://httpd.apache.org/docs/2.4/howto/public_html.html) whereas
`Directory` must be an absolute path. This allows UserDir to be
specified separately.

The unit test showing multiple values for `$path` seems to be incorrect
according to https://httpd.apache.org/docs/2.4/mod/core.html#directory
@hunner hunner requested a review from a team as a code owner July 1, 2021 18:15
@puppet-community-rangefinder
Copy link

apache::mod::userdir is a class

that may have no external impact to Forge modules.

This module is declared in 175 of 576 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

manifests/mod/userdir.pp Outdated Show resolved Hide resolved
manifests/mod/userdir.pp Outdated Show resolved Hide resolved
REFERENCE.md Outdated Show resolved Hide resolved
@hunner hunner requested a review from ekohl July 20, 2021 18:58
@ekohl
Copy link
Collaborator

ekohl commented Jul 20, 2021

Perhaps another reviewer can also take a look (I only got merge permissions recently). If nobody takes a look in a few days I'll merge it.

@ekohl ekohl added the feature label Jul 20, 2021
Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

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

LGTM

@david22swan
Copy link
Member

Look's good to me so gonna go ahead and merge :)

@david22swan david22swan merged commit c2103f6 into puppetlabs:main Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants