X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=af7c23d9c73b278aac50d85d2f512996f7cd4654;hb=9a42179a031f740c7ada9f6c8e83e8afd4ceb09e;hp=2e8000b060e8dd2786672563a8868c12e2eb25a8;hpb=f3e377f781db5994054c1969b3639143a92f6a26;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index 2e8000b06..af7c23d9c 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 { @@ -73,8 +78,8 @@ node default { { include geodns } default: {} } -} - -node penalosa inherits default { - include hosts + case $brokenhosts { + "true": { include hosts } + default: {} + } }