Adding CheckerComponent Object. #7227

Hi @nickchappell,
not sure about the directory to save this file. Based on our chat last time I decided move to /etc/icinga2/conf.d. Let me know if you want to move to another place.

https://dev.icinga.org/issues/7227.


You'll have to set `$target_file_name` to `$name`. The `$name` variable is available and defined when Puppet evaluates the defined type, but it looks like the `$object_name` variable doesn't get 'set' internally until after it tries to create the file resource. When I tested it, it created the file as `/etc/icinga2/conf.d/.conf`.