more printf debug
[mirror/dsa-puppet.git] / modules / site / manifests / init.pp
1 class site {
2
3         $localinfo = yamlinfo('*', '/etc/puppet/modules/debian-org/misc/local.yaml')
4         $nodeinfo  = nodeinfo($::fqdn, '/etc/puppet/modules/debian-org/misc/local.yaml')
5         $allnodeinfo = allnodeinfo('sshRSAHostKey ipHostNumber', 'purpose mXRecord physicalHost purpose')
6         notice( sprintf('hoster for %s is %s', $::fqdn, getfromhash($nodeinfo, 'hoster', 'name') ) )
7         notice( sprintf('facter hoster for %s is %s', $::fqdn, $::hoster) )
8         notice( sprintf('hiera resolver for %s is %s', $::fqdn, hiera('nameservers') ) )
9
10         service { 'procps':
11                 hasstatus   => false,
12                 status      => '/bin/true',
13         }
14 }