Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
egg
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
egg
Commits
2a135168
Commit
2a135168
authored
9 months ago
by
Nils Olof Paulsson
Browse files
Options
Downloads
Plain Diff
Merge branch 'devel' into 'test'
Devel See merge request
!9
parents
f91cc2ef
6bed1b73
No related branches found
Branches containing commit
No related tags found
2 merge requests
!10
Test
,
!9
Devel
Pipeline
#130848
passed
9 months ago
Stage: puppet
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
files/egg.conf
+8
-2
8 additions, 2 deletions
files/egg.conf
manifests/nginx.pp
+5
-2
5 additions, 2 deletions
manifests/nginx.pp
with
13 additions
and
4 deletions
files/egg.conf
+
8
−
2
View file @
2a135168
...
@@ -19,18 +19,24 @@ server {
...
@@ -19,18 +19,24 @@ server {
}
}
server
{
server
{
listen
[::]:
80
ipv6only
=
on
;
listen
80
;
listen
80
;
server_name
ntadigital
.
it
.
liu
.
se
;
server_name
ntadigital
.
it
.
liu
.
se
;
location
/ {
location
/ {
return
301
http
://
egg
.
it
.
liu
.
se
;
return
301
http
s
://
egg
.
it
.
liu
.
se
;
}
}
}
}
server
{
server
{
listen
80
;
listen
[::]:
443
ssl
ipv6only
=
on
;
listen
443
ssl
;
server_name
egg
.
it
.
liu
.
se
;
server_name
egg
.
it
.
liu
.
se
;
ssl_certificate
/
etc
/
pki
/
tls
/
certs
/
letsencrypt
-
cert_chain
-
egg
.
devel
.
it
.
liu
.
se
.
pem
;
ssl_certificate_key
/
etc
/
pki
/
tls
/
private
/
letsencrypt
-
egg
.
devel
.
it
.
liu
.
se
.
key
;
client_max_body_size
0
;
client_max_body_size
0
;
location
= /
favicon
.
ico
{
location
= /
favicon
.
ico
{
...
...
This diff is collapsed.
Click to expand it.
manifests/nginx.pp
+
5
−
2
View file @
2a135168
# intelligent comment here
# intelligent comment here
class
egg::nginx
()
{
class
egg::nginx
()
{
$hostname
=
fact
(
'networking.fqdn'
)
$hostname
=
fact
(
'networking.fqdn'
)
$hostalias
=
[]
$hostalias
=
[
'teman.it.liu.se'
,
'ntadigital.it.liu.se'
,
'egg.it.liu.se'
]
profiles::letsencrypt::cert
{
$hostname
:
addn_domains
=>
$hostalias
}
package
{
'nginx'
:
package
{
'nginx'
:
ensure
=>
'installed'
,
ensure
=>
'installed'
,
}
}
...
@@ -20,7 +23,7 @@ class egg::nginx () {
...
@@ -20,7 +23,7 @@ class egg::nginx () {
# Housekeeping
# Housekeeping
service
{
'nginx'
:
service
{
'nginx'
:
ensure
=>
'
running
'
,
ensure
=>
'
stopped
'
,
enable
=>
true
,
enable
=>
true
,
}
}
firewalld_service
{
'Allow http in the liu Zone'
:
firewalld_service
{
'Allow http in the liu Zone'
:
...
...
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