Closed patrickkirsch closed 8 years ago
Hmm, does anyone remember if the mapping value is going to cause issues with older releases of Jinja? I feel like we've run into this before...
Its an issue in jinja < 2.6, but that's been out for a while.
waits with baited breath for an issue 20 minutes from now.
oh boy
This breaks if nrpe_commands
isn't defined:
----------
ID: /etc/nagios/nrpe.cfg
Function: file.managed
Result: False
Comment: Unable to manage file: Jinja variable 'dict object' has no attribute 'nrpe_commands'
Started: 13:53:47.626577
Duration: 22.57 ms
Changes:
----------
ID: nrpe-server-service
Function: service.running
Name: nagios-nrpe-server
Result: False
Comment: One or more requisite failed: nagios.nrpe.server./etc/nagios/nrpe.cfg
Started:
Duration:
Changes:
In the case of hierarchical design it is desirable to have overriding behaviour.
Signed-off-by: patrick.kirsch@olanis.de patrick.kirsch@olanis.de