File: _gssapi.epp

package info (click to toggle)
puppet-module-puppetlabs-apache 12.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,664 kB
  • sloc: ruby: 275; sh: 32; makefile: 2
file content (131 lines) | stat: -rw-r--r-- 5,037 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<%- |
  # https://github.com/gssapi/mod_auth_gssapi
  Optional[Variant[String[1], Enum['{HOSTNAME}']]]        $acceptor_name = undef,
  Optional[Array[Enum['krb5','iakerb','ntlmssp']]]        $allowed_mech = undef,
  Optional[Boolean]                                       $basic_auth = undef,
  Optional[Array[Enum['krb5','iakerb','ntlmssp']]]        $basic_auth_mech = undef,
  Optional[[Integer[1]]]                                  $basic_ticket_timeout = undef,
  Optional[String[1]]                                     $authname = undef,
  Optional[String[1]]                                     $authtype = undef,
  Optional[Boolean]                                       $connection_bound = undef,
  Optional[Struct[{
    Optional['ccache']        => Array[Stdlib::Unixpath],
    Optional['client_keytab'] => Array[Stdlib::Unixpath],
    Optional['keytab']        => Array[Stdlib::Unixpath],
  }]]                                                     $cred_store = undef,
  Optional[Stdlib::Unixpath]                              $deleg_ccache_dir = undef,
  Optional[[String[1]]]                                   $deleg_ccache_env_var = undef,
  Optional[Struct[{
    'mode' => Stdlib::Filemode,
    'uid'  => Variant[Integer[1], String[1]],
    'gid'  => Variant[Integer[1], String[1]],
  }]]                                                     $deleg_ccache_perms = undef,
  Optional[Boolean]                                       $deleg_ccache_unique = undef,
  Optional[Boolean]                                       $impersonate = undef,
  Optional[Boolean]                                       $local_name = undef,
  Optional[Variant[String[1], Enum['json']]]              $name_attributes = undef,
  Optional[Boolean]                                       $negotiate_once = undef,
  Optional[Boolean]                                       $publish_errors = undef,
  Optional[Boolean]                                       $publish_mech = undef,
  Optional[[String[1]]]                                   $required_name_attributes = undef,
  Optional[[String[1]]]                                   $session_key = undef,
  Optional[Boolean]                                       $signal_persistent_auth = undef,
  Optional[Boolean]                                       $ssl_only   = undef,
  Optional[Boolean]                                       $use_s4u2_proxy = undef,
  Optional[Boolean]                                       $use_sessions = undef,
| -%>

    # mod_auth_gssapi configuration
<%- if $acceptor_name { -%>
    GssapiAcceptorName <%= $acceptor_name %>
<%- } -%>
<%- if $allowed_mech { -%>
  <%- $allowed_mech.each |$mech| { -%>
    GssapiAllowedMech <%= $mech %>
  <%- } -%>
<%- } -%>
<%- if $authname { -%>
    AuthName "<%= $authname %>"
<%- } -%>
<%- if $authtype { -%>
    AuthType <%= $authtype %>
<%- } -%>
<%- if $basic_auth { -%>
    GssapiBasicAuth On
<%- } -%>
<%- if $basic_auth_mech { -%>
<%- $basic_auth_mech.each |$mech| { -%>
    GssapiBasicAuthMech <%= $mech %>
<%- } -%>
<%- } -%>
<%- if $basic_ticket_timeout { -%>
    GssapiBasicTicketTimeout <%= $basic_ticket_timeout %>
<%- } -%>
<%- if $connection_bound { -%>
    GssapiConnectionBound On
<%- } -%>
<%- if $cred_store { -%>
  <%- if $cred_store[ccache] { -%>
    <%- $cred_store[ccache].each |$path| { -%>
    GssapiCredStore ccache:FILE:<%= $path %>
    <%- } -%>
  <%- } -%>
  <%- if $cred_store[client_keytab] { -%>
    <%- $cred_store[client_keytab].each |$path| { -%>
    GssapiCredStore client_keytab:<%= $path %>
    <%- } -%>
  <%- } -%>
  <%- if $cred_store[keytab] { -%>
    <%- $cred_store[keytab].each |$path| { -%>
    GssapiCredStore keytab:<%= $path %>
    <%- } -%>
  <%- } -%>
<%- } -%>
<%- if $deleg_ccache_dir { -%>
    GssapiDelegCcacheDir <%= $deleg_ccache_dir %>
<%- } -%>
<%- if $deleg_ccache_env_var { -%>
    GssapiDelegCcacheEnvVar <%= $deleg_ccache_env_var %>
<%- } -%>
<%- if $deleg_ccache_perms { -%>
    GssapiDelegCcachePerms mode:<%= $deleg_ccache_perms[mode] %> uid:<%= $deleg_ccache_perms[uid] %> gid:<%= $deleg_ccache_perms[gid] %>
<%- } -%>
<%- if $deleg_ccache_unique { -%>
    GssapiDelegCcacheUnique On
<%- } -%>
<%- if $impersonate { -%>
    GssapiImpersonate On
<%- } -%>
<%- if $local_name { -%>
    GssapiLocalName On
<%- } -%>
<%- if $name_attributes { -%>
    GssapiNameAttributes <%= $name_attributes %>
<%- } -%>
<%- if $negotiate_once { -%>
    GssapiNegotiateOnce On
<%- } -%>
<%- if $publish_errors { -%>
    GssapiPublishErrors On
<%- } -%>
<%- if $publish_mech { -%>
    GssapiPublishMech On
<%- } -%>
<%- if $required_name_attributes { -%>
    GssapiRequiredNameAttributes "<%= $required_name_attributes %>"
<%- } -%>
<%- if $session_key { -%>
    GssapiSessionKey <%= $session_key %>
<%- } -%>
<%- if $signal_persistent_auth { -%>
    GssapiSignalPersistentAuth On
<%- } -%>
<%- if $ssl_only { -%>
    GssapiSSLonly On
<%- } -%>
<%- if $use_s4u2_proxy and $deleg_ccache_dir { -%>
    GssapiUseS4U2Proxy On
<%- } -%>
<%- if $use_sessions { -%>
    GssapiUseSessions On
<%- } -%>