Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
inhysningspuppet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Lysator
Puppet
inhysningspuppet
Commits
a372b662
Commit
a372b662
authored
5 years ago
by
Hugo Hörnquist
Committed by
Hugo Hörnquist
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Openproject format cleanup.
parent
7b5826f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/insidan/manifests/openproject.pp
+15
-17
15 additions, 17 deletions
modules/insidan/manifests/openproject.pp
with
15 additions
and
17 deletions
modules/insidan/manifests/openproject.pp
+
15
−
17
View file @
a372b662
define
insidan::openproject
(
define
insidan::openproject
(
$logo
=
"
holgerlogo.png
"
,
$logo
=
'
holgerlogo.png
'
,
$url
=
"
insidan.holgerspexet.se
"
,
$url
=
'
insidan.holgerspexet.se
'
,
)
{
)
{
# class insidan::openproject {
include
nginx
include
nginx
# insidan::certificates { 'openprojectcert': # url => $url,
# insidan::certificates { 'openprojectcert': # url => $url,
# email => 'hugo.hornquist@liuformulastudent.se', # TODO NOOOOOOO
# email => 'hugo.hornquist@liuformulastudent.se', # TODO NOOOOOOO
...
@@ -13,12 +12,12 @@ define insidan::openproject (
...
@@ -13,12 +12,12 @@ define insidan::openproject (
command
=>
'bash -e wget -qO- https://dl.packager.io/srv/opf/openproject/key | apt-key add -; sudo wget -O /etc/apt/sources.list.d/openproject.list https://dl.packager.io/srv/opf/openproject/stable/10/installer/ubuntu/18.04.repo'
,
command
=>
'bash -e wget -qO- https://dl.packager.io/srv/opf/openproject/key | apt-key add -; sudo wget -O /etc/apt/sources.list.d/openproject.list https://dl.packager.io/srv/opf/openproject/stable/10/installer/ubuntu/18.04.repo'
,
creates
=>
'/etc/apt/sources.list.d/openproject.list'
,
creates
=>
'/etc/apt/sources.list.d/openproject.list'
,
path
=>
[
'/usr/bin'
,
'/usr/sbin'
,
'/bin'
],
path
=>
[
'/usr/bin'
,
'/usr/sbin'
,
'/bin'
],
}
~>
}
exec
{
'apt update'
:
~>
exec
{
'apt update'
:
command
=>
'apt update'
,
command
=>
'apt update'
,
path
=>
[
'/usr/bin'
,
'/usr/sbin'
,
'/bin'
],
path
=>
[
'/usr/bin'
,
'/usr/sbin'
,
'/bin'
],
}
}
package
{
'openproject'
:
~>
package
{
'openproject'
:
ensure
=>
installed
,
ensure
=>
installed
,
# Here, someone MUST run `openproject configure`. At least until we
# Here, someone MUST run `openproject configure`. At least until we
# configure it via puppet...
# configure it via puppet...
...
@@ -37,7 +36,7 @@ define insidan::openproject (
...
@@ -37,7 +36,7 @@ define insidan::openproject (
file
{
'/opt/pg_dump.sh'
:
file
{
'/opt/pg_dump.sh'
:
ensure
=>
file
,
ensure
=>
file
,
mode
=>
'755'
,
mode
=>
'
0
755'
,
source
=>
'puppet:///modules/insidan/pg_dump.sh'
,
source
=>
'puppet:///modules/insidan/pg_dump.sh'
,
}
}
...
@@ -50,7 +49,6 @@ define insidan::openproject (
...
@@ -50,7 +49,6 @@ define insidan::openproject (
}
}
# Setup Nginx
# Setup Nginx
nginx::resource::server
{
$url
:
nginx::resource::server
{
$url
:
listen_port
=>
8080
,
listen_port
=>
8080
,
...
...
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