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
Merge requests
!4
Devel
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Devel
devel
into
test
Overview
0
Commits
16
Pipelines
2
Changes
3
Merged
Magnus Svensson
requested to merge
devel
into
test
3 years ago
Overview
0
Commits
16
Pipelines
2
Changes
3
Expand
0
0
Merge request reports
Viewing commit
b7ce9f1a
Prev
Next
Show latest version
3 files
+
20
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
b7ce9f1a
Use 'devel' branch from COMM repo for the devel machine.
· b7ce9f1a
Filip Strömbäck
authored
4 years ago
manifests/auth.pp
+
3
−
1
Options
@@ -14,9 +14,11 @@ class aes::auth(
if
$facts
[
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'
{
# The AD service account for this key is: ida_sys004_srv
$auth_keytab_data
=
$keytab_devel
$server_type
=
"devel"
}
else
{
$auth_keytab_data
=
undef
}
@@ -107,7 +109,7 @@ class aes::auth(
}
exec
{
'update-auth-repo'
:
command
=>
"/opt/utils/update_repo.sh
${auth_home}
/src https://oauth2:F-agHaRXCdyFy38q4c-N@gitlab.liu.se/upp-aes/communication.git
production
"
,
command
=>
"/opt/utils/update_repo.sh
${auth_home}
/src https://oauth2:F-agHaRXCdyFy38q4c-N@gitlab.liu.se/upp-aes/communication.git
${server_type}
"
,
environment
=>
[
"REPO_USER=
${auth_user}
"
,
"REPO_GROUP=
${auth_group}
"
,
"REPO_ON_UPDATE=
${auth_home}
/on_update.sh"
],
# This command will need to run "on_update" as root in order to restart the service.
user
=>
root
,
Loading