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

Document PE workaround for auth.conf #19

Merged
merged 2 commits into from
Jul 24, 2023
Merged

Document PE workaround for auth.conf #19

merged 2 commits into from
Jul 24, 2023

Conversation

bastelfreak
Copy link
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak self-assigned this Jul 21, 2023
README.md Outdated Show resolved Hide resolved
Co-authored-by: Kenyon Ralph <[email protected]>
@bastelfreak bastelfreak merged commit 4c100c3 into master Jul 24, 2023
@bastelfreak bastelfreak deleted the docs branch July 24, 2023 07:05
@@ -105,6 +105,35 @@ Example auth.conf rule:
}
```

Puppet Enterprise already has a rule for this API. You cannot have multiple
blocks in auth.conf for the same path. Therefor you need to patch
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
blocks in auth.conf for the same path. Therefor you need to patch
blocks in auth.conf for the same path. Therefore you need to patch

https://www.grammarly.com/blog/therefore-vs-therefor

match_request_method => ['get','put','delete'],
- allow => $_client_allowlist << $ca_cli_extension,
+ allow => ['$1', $_client_allowlist].flatten <<
$ca_cli_extension,
Copy link
Member

Choose a reason for hiding this comment

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

With this (accidental?) line break, I think this diff is broken?

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.

3 participants