Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
liu-puppet-modules
aes
Commits
b4c889e7
Commit
b4c889e7
authored
1 year ago
by
Filip Strömbäck
Browse files
Options
Downloads
Patches
Plain Diff
Fixed issues notified by Thomas.
parent
c311f911
No related branches found
Branches containing commit
No related tags found
2 merge requests
!50
Fix: Puppet Defining "data_provider": "hiera" in metadata.json is deprecated....
,
!40
Merge from devel. Commits related to RHEL9 upgrade and pdk cleanup.
Pipeline
#103200
passed
1 year ago
Stage: puppet
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
manifests/auth.pp
+3
-2
3 additions, 2 deletions
manifests/auth.pp
manifests/auth_keydb.pp
+2
-2
2 additions, 2 deletions
manifests/auth_keydb.pp
manifests/broker.pp
+2
-2
2 additions, 2 deletions
manifests/broker.pp
with
7 additions
and
6 deletions
manifests/auth.pp
+
3
−
2
View file @
b4c889e7
...
...
@@ -29,16 +29,17 @@ class aes::auth (
# Pick the right keytab for the current environment. We use the fqdn rather than
# $environment since the keys are tied to the domain name rather than what
# environment the machine is configured in.
if
$facts
[
fqdn
]
==
'aes.edu.liu.se'
{
if
$facts
[
networking
][
fqdn
]
==
'aes.edu.liu.se'
{
# The AD service account for this key is: ida_sys002_srv
$auth_keytab_data
=
$keytab_production
$server_type
=
'production'
}
elsif
$facts
[
fqdn
]
==
'aes-devel.edu.liu.se'
{
}
elsif
$facts
[
networking
][
fqdn
]
==
'aes-devel.edu.liu.se'
{
# The AD service account for this key is: ida_sys004_srv
$auth_keytab_data
=
$keytab_devel
$server_type
=
'devel'
}
else
{
$auth_keytab_data
=
undef
$server_type
=
'devel'
}
# Note: We rely on Boost being installed by the broker. It seems Puppet does not like
...
...
This diff is collapsed.
Click to expand it.
manifests/auth_keydb.pp
+
2
−
2
View file @
b4c889e7
...
...
@@ -12,9 +12,9 @@ class aes::auth_keydb {
$keydb_service
=
'aes_auth_keydb'
# Figure out which certificate to use based on the hostname.
if
$facts
[
fqdn
]
==
'aes.edu.liu.se'
{
if
$facts
[
networking
][
fqdn
]
==
'aes.edu.liu.se'
{
$server_type
=
'production'
}
elsif
$facts
[
fqdn
]
==
'aes-devel.edu.liu.se'
{
}
elsif
$facts
[
networking
][
fqdn
]
==
'aes-devel.edu.liu.se'
{
$server_type
=
'devel'
}
else
{
$server_type
=
undef
...
...
This diff is collapsed.
Click to expand it.
manifests/broker.pp
+
2
−
2
View file @
b4c889e7
...
...
@@ -22,9 +22,9 @@ class aes::broker {
}
# Figure out which certificate to use based on the hostname.
if
$facts
[
fqdn
]
==
'aes.edu.liu.se'
{
if
$facts
[
networking
][
fqdn
]
==
'aes.edu.liu.se'
{
$server_type
=
'production'
}
elsif
$facts
[
fqdn
]
==
'aes-devel.edu.liu.se'
{
}
elsif
$facts
[
networking
][
fqdn
]
==
'aes-devel.edu.liu.se'
{
$server_type
=
'devel'
}
else
{
$server_type
=
undef
...
...
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