Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lysator
Puppet
Datorhandbok
Commits
873152e5
Commit
873152e5
authored
Feb 01, 2021
by
Hugo Hörnquist
Browse files
Minor cleanup.
parent
de024abd
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/init.pp
View file @
873152e5
...
...
@@ -10,15 +10,15 @@ class datorhandbok (
{ ensure => installed, }
)
service
{ 'apache2':
ensure
=> running,
enable
=> true,
require
=> Package['apache2'],
ensure => running,
enable => true,
require => Package['apache2'],
}
service
{ 'mysql':
ensure
=> running,
enable
=> true,
require
=> Package['default-mysql-server'],
ensure => running,
enable => true,
require => Package['default-mysql-server'],
}
...
...
@@ -47,10 +47,10 @@ class datorhandbok (
}
user
{ 'mysql':
ensure
=> present,
system
=> true,
gid
=> 'mysql',
home
=> '/var/lib/mysql',
ensure => present,
system => true,
gid => 'mysql',
home => '/var/lib/mysql',
}
file
{ '/var/lib/mysql':
...
...
@@ -129,6 +129,9 @@ class datorhandbok (
group => www-data,
mode => '0440',
content => epp('datorhandbok/LocalSettings.php',
# Wrapping $mysql_password in Sensitive() would prevent it from
# showing up in logs, but the file then contained
# "Sensitive [value redacted]"...
{ 'mysql_password' => $mysql_password }
),
require
=>
Package
[
'mediawiki'
],
}
...
...
@@ -137,7 +140,7 @@ class datorhandbok (
ensure => file,
owner => www-data,
group => www-data,
source =>
"
puppet:///modules/datorhandbok/lyslogo-liten.png
"
,
source =>
'
puppet:///modules/datorhandbok/lyslogo-liten.png
'
,
require => Package['mediawiki'],
}
...
...
@@ -145,7 +148,7 @@ class datorhandbok (
ensure => file,
owner => root,
group => root,
source =>
"
puppet:///modules/datorhandbok/favicon.ico
"
,
source =>
'
puppet:///modules/datorhandbok/favicon.ico
'
,
require => Package['mediawiki'],
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment