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
17be3994
Commit
17be3994
authored
4 years ago
by
Klas Arvidsson
Browse files
Options
Downloads
Patches
Plain Diff
corrections
parent
61d01347
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
manifests/aes_broker.pp
+3
-3
3 additions, 3 deletions
manifests/aes_broker.pp
manifests/aes_sw.pp
+23
-13
23 additions, 13 deletions
manifests/aes_sw.pp
manifests/latex.pp
+1
-0
1 addition, 0 deletions
manifests/latex.pp
with
27 additions
and
16 deletions
manifests/aes_broker.pp
+
3
−
3
View file @
17be3994
class
aes::broker
{
class
aes::
aes_
broker
{
$broker_user
=
broker
$broker_group
"
${broker_user}
"
$broker_group
=
"
${broker_user}
"
$broker_home
=
"/srv/
${broker_user}
"
$broker_service
=
"
${broker_user}
"
...
...
@@ -40,4 +40,4 @@ class aes::broker {
# TODO: We still need to download the source from Git as needed and update the broker and auth service.
# To compile the broker, we need to do "source /opt/rh/devtoolset-7/enable" first. Otherwise, we will not get a good enough GCC.
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
manifests/aes_sw.pp
+
23
−
13
View file @
17be3994
...
...
@@ -21,6 +21,13 @@ class aes::aes_sw {
shell
=>
'/sbin/nologin'
,
}
file
{
"
${examadm_home}
"
:
ensure
=>
directory
,
mode
=>
'0755'
,
owner
=>
"
${examadm_user}
"
,
group
=>
"
${examadm_group}
"
,
}
file
{
"/etc/systemd/system/aes_login.service"
:
ensure
=>
present
,
owner
=>
root
,
...
...
@@ -84,7 +91,20 @@ class aes::aes_sw {
ensure
=>
"running"
,
}
file
{
"
${examadm_home}
/.ssh/known_hosts"
:
ensure
=>
present
,
owner
=>
"
${examadm_user}
"
,
group
=>
"
${examadm_group}
"
,
mode
=>
'0644'
,
content
=>
@
(
KNOWNHOST
)
gitlab
.
liu
.
se
,
2001
:
6
b0
:
17
:
f003::44
ecdsa
-
sha2
-
nistp256
AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBF3yWjkuKo7f3OH4BhGwcd71lkWZqdyk7cxOCn5exPoqLldt2OfbhEA7lM
+
89
Gr
/
AqRbHlbrS1M8An7j4Lj77hc
=
|
KNOWNHOST
}
exec
{
'script-repo-clone'
:
# TODO
# git config user.name "aes-devel.edu.liu.se"
# git config user.email "klas.arvidsson@liu.se"
command
=>
'/usr/bin/git clone --quiet --single-branch --branch master --depth 1 git@gitlab.liu.se:examadm/scripts.git'
,
cwd
=>
"
${examadm_home}
"
,
creates
=>
"
${examadm_home}
/scripts"
,
...
...
@@ -99,21 +119,11 @@ class aes::aes_sw {
}
exec
{
'script-repo-pull'
:
c
ommand
=>
'/usr/bin/git pull --depth 1'
,
cwd
=>
"
${examadm_home}
/
scripts"
,
onlyif
=>
"/usr/bin/
test -d
${examadm_home}
/scripts/.git
"
,
c
wd
=>
"
${examadm_home}
"
,
# 'cwd' is set before 'onlyif' and 'command'
onlyif
=>
"/usr/bin/test -d
scripts
/.git
"
,
command
=>
"/usr/bin/
git --git-dir scripts/.git --work-tree scripts pull --depth 1
"
,
user
=>
"
${examadm_user}
"
,
group
=>
"
${examadm_group}
"
,
# schedule => 'everyday',
}
file
{
"
${examadm_home}
/.ssh/known_hosts"
:
ensure
=>
present
,
owner
=>
"
${examadm_user}
"
,
group
=>
"
${examadm_group}
"
,
mode
=>
'0644'
,
content
=>
@
(
KNOWNHOST
)
gitlab
.
liu
.
se
,
2001
:
6
b0
:
17
:
f003::44
ecdsa
-
sha2
-
nistp256
AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBF3yWjkuKo7f3OH4BhGwcd71lkWZqdyk7cxOCn5exPoqLldt2OfbhEA7lM
+
89
Gr
/
AqRbHlbrS1M8An7j4Lj77hc
=
|
KNOWNHOST
}
}
This diff is collapsed.
Click to expand it.
manifests/latex.pp
+
1
−
0
View file @
17be3994
...
...
@@ -10,6 +10,7 @@ class aes::latex {
'texlive-collection-latexrecommended'
,
'texlive-xetex-def'
,
'texlive-tcolorbox'
,
'texlive-booktabs'
,
'latexmk'
,
]:
ensure
=>
installed
,
...
...
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