We want to be able to specify which puppet classes a node should include
using hiera. Start by including hiera classes in the site manifest,
and move the site class so we include something using this mechanism.
Eventually we want to move all the include entries out of manifests/site.pp.
- loghost-grnet-01.debian.org
- loghost-osuosl-01.debian.org
- lotti.debian.org
+
+classes:
+ - site
}
node default {
- include site
+ # this is magic: it will include whatever classes says we should
+ # include, based on the value of the "classes" array
+ hiera_include('classes')
+
include munin
include syslog_ng
include sudo