X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=d8f1b09cbfced976b19ac04c2d4dbb36566bedf8;hb=d3080539839db901b4e766e49fcaf4263026cd2c;hp=2e8000b060e8dd2786672563a8868c12e2eb25a8;hpb=d47582aa27e2e383f790e50f72ae082c2eca2826;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index 2e8000b06..d8f1b09cb 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -14,14 +14,15 @@ Exec { } node default { + $nodeinfo = nodeinfo($fqdn, "/etc/puppet/modules/debian-org/misc/local.yaml") + include munin-node include sudo + include ssh include debian-org include monit include apt-keys - $nodeinfo = nodeinfo($fqdn, "/etc/puppet/modules/debian-org/misc/local.yaml") - include motd include samhain @@ -55,11 +56,15 @@ node default { default: { } } - case $hostname { - ancina,arcadelt,argento,brahms,goedel,goetz,lafayette,malo,murphy,praetorius,puccini,paer: - { include buildd } - default: {} - } + case extractnodeinfo($nodeinfo, 'buildd') { + "true": { include buildd } + default: { } + } + case extractnodeinfo($nodeinfo, 'apache2_security_mirror') { + "true": { include apache2::security_mirror } + default: { } + } + # maybe wait for rietz to be upgraded to lenny # case $hostname { @@ -70,11 +75,16 @@ node default { case $hostname { geo1,geo2,geo3: - { include geodns } + { + include geodns + include ntp::server + } + default: { + include ntp::client + } + } + case $brokenhosts { + "true": { include hosts } default: {} } } - -node penalosa inherits default { - include hosts -}