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:
f547f56
)
export onion list to dillon
author
Peter Palfrader
<peter@palfrader.org>
Fri, 29 Jul 2016 19:52:01 +0000
(19:52 +0000)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 29 Jul 2016 19:52:01 +0000
(19:52 +0000)
modules/roles/manifests/static_master.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/static_master.pp
b/modules/roles/manifests/static_master.pp
index
73f74c8
..
457c558
100644
(file)
--- a/
modules/roles/manifests/static_master.pp
+++ b/
modules/roles/manifests/static_master.pp
@@
-13,4
+13,17
@@
class roles::static_master {
file { '/etc/static-clients.conf':
content => template('roles/static-mirroring/static-clients.conf.erb'),
}
+
+ # export some information for the onion.debian.org build
+ if $::hostname in [dillon] {
+ file { '/srv/puppet.debian.org':
+ ensure => directory
+ }
+ file { '/srv/puppet.debian.org/puppet-facts':
+ ensure => directory
+ }
+ concat { '/srv/puppet.debian.org/puppet-facts/onionbalance-services.yaml':
+ }
+ Concat::Fragment <<| tag == "onionbalance-services.yaml" |>>
+ }
}