projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9682bb
)
Fix apache2/jessie conf-enabled symlinks
author
Peter Palfrader
<peter@palfrader.org>
Tue, 23 Dec 2014 12:19:19 +0000
(12:19 +0000)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 23 Dec 2014 12:19:19 +0000
(12:19 +0000)
modules/apache2/manifests/config.pp
patch
|
blob
|
history
diff --git
a/modules/apache2/manifests/config.pp
b/modules/apache2/manifests/config.pp
index
f44dc01
..
4faa33f
100644
(file)
--- a/
modules/apache2/manifests/config.pp
+++ b/
modules/apache2/manifests/config.pp
@@
-49,14
+49,14
@@
define apache2::config (
}
}
- $link_ensure = $ensure
== present
? {
- present =>
'link'
,
- absent =>
'absent'
+ $link_ensure = $ensure ? {
+ present =>
link
,
+ absent =>
absent
}
- file { "/etc/apache2/conf-enabled/${name}":
+ file { "/etc/apache2/conf-enabled/${name}
.conf
":
ensure => $link_ensure,
- target => "
/etc/apache2/conf-available/${bas
e}.conf",
+ target => "
../conf-available/${nam
e}.conf",
notify => Service['apache2'],
}
}