- if $::lsbdistcodename == squeeze {
- include roles::udldap::client
- } else {
- include roles::pubsub::client
- class { 'roles::udldap::client':
- ensure => absent
- }
+ # 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