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:
981874f
)
and install template
author
Peter Palfrader
<peter@palfrader.org>
Sat, 28 Jan 2017 18:21:56 +0000
(19:21 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 28 Jan 2017 18:21:56 +0000
(19:21 +0100)
modules/roles/manifests/static_mirror.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/static_mirror.pp
b/modules/roles/manifests/static_mirror.pp
index
6bac924
..
9508e3a
100644
(file)
--- a/
modules/roles/manifests/static_mirror.pp
+++ b/
modules/roles/manifests/static_mirror.pp
@@
-69,6
+69,10
@@
class roles::static_mirror {
ensure => absent,
}
+ apache2::site { '010-static-vhosts-00-manpages':
+ ensure => has_static_component('manpages.debian.org') ? { true => "present", false => "absent" },
+ content => template('roles/static-mirroring/vhost/manpages.debian.org.erb'),
+ }
apache2::site { '010-static-vhosts-simple':
site => 'static-vhosts-simple',
content => template('roles/static-mirroring/vhost/static-vhosts-simple.erb'),