Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
suitpuppet
su_apache
Commits
79293d16
Commit
79293d16
authored
Sep 08, 2020
by
Adam Lewenberg
Browse files
more puppet-lint cleanup
parent
4f753756
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/conf.pp
View file @
79293d16
...
...
@@ -28,7 +28,7 @@ define su_apache::conf(
fail
(
"Unsupported apache::conf operating system
${::operatingsystem}
"
)
}
if
(
$lsbdistcodename
==
'wheezy'
)
{
if
(
$
::
lsbdistcodename
==
'wheezy'
)
{
$parent
=
"/etc/apache2/
${directory}
"
$realname
=
"
${parent}
/
${name}
"
...
...
@@ -62,7 +62,7 @@ define su_apache::conf(
$conf_id
=
"
${name}
.conf"
}
# Install the file.
file
{
"/etc/apache2/conf-available/
$conf_id
"
:
file
{
"/etc/apache2/conf-available/
$
{
conf_id
}
"
:
ensure
=>
$ensure
,
source
=>
$source
,
content
=>
$content
,
...
...
@@ -73,7 +73,7 @@ define su_apache::conf(
command
=>
"a2enconf
${conf_id}
"
,
path
=>
'/usr/bin:/usr/sbin'
,
refreshonly
=>
true
,
require
=>
File
[
"/etc/apache2/conf-available/
$conf_id
"
],
require
=>
File
[
"/etc/apache2/conf-available/
$
{
conf_id
}
"
],
notify
=>
Exec
[
'su_apache_reload'
],
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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