puppet 4 foo
[mirror/dsa-puppet.git] / modules / puppetmaster / manifests / init.pp
index 1aad49c..f16e715 100644 (file)
@@ -1,5 +1,8 @@
 class puppetmaster {
 
+       package { 'puppetmaster':
+               ensure => installed,
+       }
        file { '/etc/puppet/hiera.yaml':
                source => 'puppet:///modules/puppetmaster/hiera.yaml'
        }
@@ -13,4 +16,11 @@ 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" |>>
 }