-##
-## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
-## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
-##
-
-<%=
-nagii = []
-roles = scope.lookupvar('deprecated::roles')
-roles['nagiosmaster'].each do |nag|
- nagii << scope.lookupvar('deprecated::allnodeinfo')[nag]['ipHostNumber']
-end
-roles['extranrpeclient'].each do |nag|
- nagii << scope.lookupvar('deprecated::allnodeinfo')[nag]['ipHostNumber']
-end
-
-out = "allowed_hosts=" + nagii.flatten.sort.uniq.join(',')
-out
-%>
-
-
# the string "system-in-shutdown" is used by the remote side to tell
# if a system is running shutdown. We do not use check_nrpe's
# exit code as that does not reliably tell us if the check could