3 package { 'puppetmaster':
6 file { '/etc/puppet/hiera.yaml':
7 source => 'puppet:///modules/puppetmaster/hiera.yaml'
9 file { '/etc/puppet/puppetdb.conf':
10 source => 'puppet:///modules/puppetmaster/puppetdb.conf'
13 ferm::rule { 'dsa-puppet':
14 description => 'Allow puppet access',
16 rule => '&SERVICE_RANGE(tcp, 8140, $HOST_DEBIAN)',
19 file { '/srv/puppet.debian.org/puppet-facts':
22 concat { '/srv/puppet.debian.org/puppet-facts/onionbalance-services.yaml':
24 Concat::Fragment <<| tag == "onionbalance-services.yaml" |>>
26 file { '/etc/cron.d/puppet-update-fastly-ips': ensure => absent, }
27 file { '/etc/cron.d/update-fastly-ips': ensure => absent, }
28 concat::fragment { 'puppet-crontab---fastly-ips':
29 target => '/etc/cron.d/puppet-crontab',
31 @daily root /usr/local/bin/update-fastly-ips /srv/puppet.debian.org/puppet-facts/fastly_ranges.yaml
34 file { '/usr/local/bin/update-fastly-ips':
35 source => 'puppet:///modules/puppetmaster/update-fastly-ips.sh',