hi, I've found the reason. The class profile::icinga2::agent must be loaded after all other classes. Than I get all classes from the node back.
cu denny -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/215688c3-159a-4ee7-98be-96d940577989%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.