Commit 891fdaf
committed
Support mod_auth_gssapi parameters
mod_auth_gssapi parameters can only used inside a directory section of a vhost.
Parameters are specified as a hash `gssapi` to the directories parameter.
Currently only the three obvious parameters are supported, adding extra ones is a
trivial addition to the `_gssapi.epp` template.
Example
```puppet
include apache::mod::auth_gssapi
apache::vhost { 'sample.example.net':
docroot => '/path/to/directory',
directories => [
{ path => '/path/to/different/dir',
gssapi => {
credstore => 'keytab:/foo/bar.keytab',
localname => 'Off',
sslonly => 'On',
}
},
],
```
These 3 values match to an apache configuration of
```config
<Directory /path/to/directory>
GssapiSSLonly Off
GssapiLocalName On
GssapiCredStore keytab:/foo/bar.keytab
</Directory>
```
https://github.com/gssapi/mod_auth_gssapi#gssapisslonly1 parent 3877dd9 commit 891fdaf
File tree
4 files changed
+57
-0
lines changed- manifests
- spec/defines
- templates/vhost
4 files changed
+57
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1475 | 1475 | | |
1476 | 1476 | | |
1477 | 1477 | | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
1478 | 1496 | | |
1479 | 1497 | | |
1480 | 1498 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
249 | 254 | | |
250 | 255 | | |
251 | 256 | | |
| |||
921 | 926 | | |
922 | 927 | | |
923 | 928 | | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
924 | 944 | | |
925 | 945 | | |
926 | 946 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
500 | 503 | | |
501 | 504 | | |
502 | 505 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments