X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=6ff112d29e7ff5a4f0df9cc5d2fe72082ed7ddb7;hb=b257d8b21426a653d1afae4578fcd826412def6b;hp=b735738c292bb192a2057acc42478611743f2f1f;hpb=e4818dbab72dc4aaeb120b3dbae082f99f8b83d7;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index b735738c2..6ff112d29 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -19,40 +19,20 @@ Service { } node default { - include site - include munin - include syslog_ng - include sudo - include ssh - include debian_org - include monit - include time - include ssl - include hardware - include nagios::client - include resolv - include roles - include motd - include unbound - include bacula::client - include autofs - include dsa_lvm - include grub - include multipath - include popcon - include portforwarder - include postgres - include haveged - include huge_mem - include tcp_bbr - include certregen::client + # we really should rename this one + include deprecated + include base + + # this is magic: it will include whatever classes says we should + # include, based on the value of the "classes" array + hiera_include('classes') include roles::pubsub::client class { 'roles::udldap::client': ensure => absent } - if getfromhash($site::nodeinfo, 'ganeti') { + if getfromhash($deprecated::nodeinfo, 'ganeti') { include ganeti2 } @@ -62,7 +42,7 @@ node default { } if $::mta == 'exim4' { - if getfromhash($site::nodeinfo, 'heavy_exim') { + if getfromhash($deprecated::nodeinfo, 'heavy_exim') { include exim::mx } else { include exim