Skip to content

Commit

Permalink
Merge pull request #20 from voxpupuli/typo
Browse files Browse the repository at this point in the history
README.md: fix stupid linebreak in git diff & Fix Therefor->Therefore
  • Loading branch information
bastelfreak authored Jul 28, 2023
2 parents 4c100c3 + 41f2c66 commit db408d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ 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
blocks in auth.conf for the same path. Therefore you need to patch
`/opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/profile/certificate_authority.pp`

```diff
Expand All @@ -127,8 +127,7 @@ index ba4de6b..4c71dd5 100644
+ match_request_type => 'regex',
match_request_method => ['get','put','delete'],
- allow => $_client_allowlist << $ca_cli_extension,
+ allow => ['$1', $_client_allowlist].flatten <<
$ca_cli_extension,
+ allow => ['$1', $_client_allowlist].flatten << $ca_cli_extension,
sort_order => 500,
path => '/etc/puppetlabs/puppetserver/conf.d/auth.conf',
notify => Service['pe-puppetserver'],
Expand Down

0 comments on commit db408d9

Please sign in to comment.