X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fpuppetmaster%2Fmanifests%2Finit.pp;h=08b400f5172771d6613976aec6325ab8cdced427;hb=a02b7a339535bbe2769a4d111daa2eccdc11f28a;hp=f1c567dccd11fe39186833252aa6639f2d13f2a1;hpb=16eed32a3024a77e67ff9cab8e0126d3777484d1;p=mirror%2Fdsa-puppet.git diff --git a/modules/puppetmaster/manifests/init.pp b/modules/puppetmaster/manifests/init.pp index f1c567dcc..08b400f51 100644 --- a/modules/puppetmaster/manifests/init.pp +++ b/modules/puppetmaster/manifests/init.pp @@ -6,6 +6,9 @@ class puppetmaster { file { '/etc/puppet/hiera.yaml': source => 'puppet:///modules/puppetmaster/hiera.yaml' } + file { '/etc/puppet/puppetdb.conf': + source => 'puppet:///modules/puppetmaster/puppetdb.conf' + } @ferm::rule { 'dsa-puppet': description => 'Allow puppet access', @@ -16,4 +19,22 @@ class puppetmaster { description => 'Allow puppet access', rule => '&SERVICE_RANGE(tcp, 8140, $HOST_DEBIAN_V6)' } + + 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" |>> + + file { '/etc/cron.d/puppet-update-fastly-ips': + source => 'puppet:///modules/puppetmaster/update-fastly-ips.cron' + } + file { '/etc/cron.d/update-fastly-ips': + ensure => absent, + } + file { '/usr/local/bin/update-fastly-ips': + source => 'puppet:///modules/puppetmaster/update-fastly-ips.sh', + mode => '0555', + } }