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:
3fdbdc9
)
No longer configure apache just because it is installed. Instead, fail if it is...
author
Peter Palfrader
<peter@palfrader.org>
Mon, 23 Sep 2019 06:03:27 +0000
(08:03 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 23 Sep 2019 06:03:27 +0000
(08:03 +0200)
manifests/site.pp
patch
|
blob
|
history
diff --git
a/manifests/site.pp
b/manifests/site.pp
index
29ac94f
..
e939261
100644
(file)
--- a/
manifests/site.pp
+++ b/
manifests/site.pp
@@
-41,10
+41,6
@@
node default {
include acpi
}
- if $::apache2 {
- include apache2
- }
-
if $::hostname in [buxtehude,milanollo,lw01,lw02,lw03,lw04,lw09,lw10,senfter,gretchaninov,sibelius] {
include nfs_server
}
@@
-68,4
+64,10
@@
node default {
if $::hostname == 'pkgmirror-csail' {
include varnish_pkgmirror
}
+
+ if $::apache2 {
+ if ! defined(Class['apache2']) {
+ fail('We have apache installed but no role pulled it in.')
+ }
+ }
}