upgrade to stdlib 4.6.1
[mirror/dsa-puppet.git] / modules / puppetmaster / manifests / init.pp
1 class puppetmaster {
2
3         package { 'puppetmaster':
4                 ensure => installed,
5         }
6         file { '/etc/puppet/hiera.yaml':
7                 source => 'puppet:///modules/puppetmaster/hiera.yaml'
8         }
9
10         @ferm::rule { 'dsa-puppet':
11                 description     => 'Allow puppet access',
12                 rule            => '&SERVICE_RANGE(tcp, 8140, $HOST_DEBIAN_V4)'
13         }
14         @ferm::rule { 'dsa-puppet-v6':
15                 domain          => 'ip6',
16                 description     => 'Allow puppet access',
17                 rule            => '&SERVICE_RANGE(tcp, 8140, $HOST_DEBIAN_V6)'
18         }
19
20         ssl::service { 'puppet-dashboard.debian.org':
21                 notify => Service['apache2'],
22         }
23 }