From: Peter Palfrader Date: Sat, 8 Dec 2012 17:05:04 +0000 (+0100) Subject: Ship componentlist in puppet X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=7c585ebe7158441bac0b23c73b3727437d06e9a1;p=mirror%2Fdsa-puppet.git Ship componentlist in puppet --- diff --git a/modules/roles/files/static-mirroring/static-components.conf b/modules/roles/files/static-mirroring/static-components.conf new file mode 100644 index 000000000..1fff938d5 --- /dev/null +++ b/modules/roles/files/static-mirroring/static-components.conf @@ -0,0 +1,3 @@ +# puppetd maintained + +planet.debian.org senfl.debian.org /srv/planet.debian.org/www diff --git a/modules/roles/manifests/static_base.pp b/modules/roles/manifests/static_base.pp index 2de3b9b6e..267c8ba61 100644 --- a/modules/roles/manifests/static_base.pp +++ b/modules/roles/manifests/static_base.pp @@ -5,6 +5,12 @@ class roles::static_base { onlyif => '/usr/bin/getent passwd staticsync > /dev/null && ! [ -e /home/staticsync/.ssh/id_rsa ]' } } + + file { + '/etc/static-components.conf': + source => "puppet:///modules/roles/static-mirroring/static-components.conf", + ; + } } # vim:set et: # vim:set sts=4 ts=4: