Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
puppetpublic
base
Commits
c5b4d0d1
Commit
c5b4d0d1
authored
8 years ago
by
Adam Lewenberg
Browse files
Options
Downloads
Patches
Plain Diff
add support for qa kerberos environment
parent
7e41ce0e
No related branches found
Branches containing commit
Tags
release/005.006
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS
+4
-0
4 additions, 0 deletions
NEWS
manifests/kerberos.pp
+12
-9
12 additions, 9 deletions
manifests/kerberos.pp
templates/kerberos/krb5.conf.erb
+8
-0
8 additions, 0 deletions
templates/kerberos/krb5.conf.erb
with
24 additions
and
9 deletions
NEWS
+
4
−
0
View file @
c5b4d0d1
release/005.006 (2017-02-16)
[kerberos] Add support for the new kerberos environment 'qa'. [adamhl]
release/005.005 (2017-02-02)
[kerberos] Add the option rdns_enabled so that Kerberos can be
...
...
This diff is collapsed.
Click to expand it.
manifests/kerberos.pp
+
12
−
9
View file @
c5b4d0d1
...
...
@@ -17,20 +17,23 @@
# **********************************************************************
#
#
# $krb_env: Which kerberos environment to use. Must be one of:
# 'prod', 'uat', or 'test'.
# $krb_env:
# Which kerberos environment to use. Must be one of:
# 'prod', 'uat', 'qa', or 'test'.
# Default: 'prod'
#
# $prefer_tcp: Normal kerberos traffic uses UDP, but some applications
# $prefer_tcp:
# Normal kerberos traffic uses UDP, but some applications
# (lookin' at you Java!) work better with TCP. Set this parameter to
# "true" to force the client to prefer TCP to UDP.
# Default: false
#
# $rdns_enabled: if 'true' have the Kerberos client do a reverse DNS
# lookup on the hostname when connecting to a server. This should be set
# to 'false' if you want the client to be able to connect to services where
# the service name's IP address PTR record may not match the hostname
# (e.g., for services running in Amazon Web Services).
# $rdns_enabled:
# If 'true' have the Kerberos client do a reverse DNS lookup on the
# hostname when connecting to a server. This should be set to 'false' if
# you want the client to be able to connect to services where the service
# name's IP address PTR record may not match the hostname (e.g., for
# services running in Amazon Web Services).
# Default: true
class
base::kerberos
(
$prefer_tcp
=
false
,
...
...
@@ -40,7 +43,7 @@ class base::kerberos(
# We only allow the 'prod', 'uat', and 'test' environments.
case
$krb_env
{
'prod'
,
'uat'
,
'test'
:
{}
'prod'
,
'uat'
,
'test'
,
'qa'
:
{}
default
:
{
fail
(
"unrecognized kerberos environment '
${krb_env}
'"
)
}
}
...
...
This diff is collapsed.
Click to expand it.
templates/kerberos/krb5.conf.erb
+
8
−
0
View file @
c5b4d0d1
...
...
@@ -76,6 +76,14 @@ elsif (@krb_env == 'test') then
admin_server = kerberos-test.stanford.edu
kpasswd_server = kerberos-test.stanford.edu
<%
elsif
(
@krb_env
==
'qa'
)
then
-%>
kdc = kerberos-qa2.stanford.edu:88
kdc = kerberos-qa1.stanford.edu:88
master_kdc = master-kdc-qa.stanford.edu:88
admin_server = master-kdc-qa.stanford.edu
kpasswd_server = master-kdc-qa.stanford.edu
<%
else
if
(
@drSite
)
then
-%>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment