From b3d1e16b4dabefa8e1c978f2cf2a697676cdf3cf Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 29 Jul 2016 19:52:01 +0000 Subject: [PATCH] export onion list to dillon --- modules/roles/manifests/static_master.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/roles/manifests/static_master.pp b/modules/roles/manifests/static_master.pp index 73f74c834..457c558e1 100644 --- 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" |>> + } } -- 2.20.1