I anticipate that I've never used the host_parent parameter but, curiously, I've to implement it, in the icinga module, in the next days for a customer of mine.
Anyway, I've given a look at the code and actually, as it is now, it will never work.
The @host_parent variable used in templates/host.erb is expected to come from the nagios::host define in manifests/host.pp which actually has such a parameter (set as '' by default).
This define is declared in the nagios::target class and it's here where there's no mention of this parameter.
It's here the place where we have to fix the thing, adding the host_parent parameter in the nagios::host declaration.
Since the nagios::target class has to be applied to all the nodes, and can't refer/include the main nagios class (included on the nagios srver) here we should manage the host_parent as a top scope variable, as we do with other parameters.
It's not difficult, if you can wait 2/3 days I can do it, otherwise a PR is welcomed.