summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin/Init.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2011-01-03 21:17:34 -0600
committerNarayan Desai <desai@mcs.anl.gov>2011-01-03 21:17:34 -0600
commit1ae62017ffc2a0783567736573d72b7d16729770 (patch)
tree4b8d5fb5518a7f7b1e8c2df8c0874c4ccd0b65fa /src/lib/Server/Admin/Init.py
parent71bb583ac04ff1c52e03d69a91bbb508783566f8 (diff)
downloadbcfg2-1ae62017ffc2a0783567736573d72b7d16729770.tar.gz
bcfg2-1ae62017ffc2a0783567736573d72b7d16729770.tar.bz2
bcfg2-1ae62017ffc2a0783567736573d72b7d16729770.zip
NagiosGen: Dependency support (from Stéphane Graber <stgraber@ubuntu.com>)
From the patch description: As we have several hundred machines in Bcfg2 at work and are using NagiosGen to generate our Nagios configuration, the dependency tree was quite a mess. The following patch adds support for a 'parents.xml' file in the NagiosGen directory. This one contains a basic dependency tree like this: <Depends> <Depend name='something' on='something-else'> </Depends> The plugin will then use this file to add 'parents' tag to nagiosgen.cfg when possible. It's being added when generating nagiosgen.cfg instead of when generating the individual host entries for two reasons: - To avoid having to wait for a run of bcfg2 on all machines when changing parents.xml - To also support dynamic parents for manually added entries in NagiosGen (example: network equipement).
Diffstat (limited to 'src/lib/Server/Admin/Init.py')
0 files changed, 0 insertions, 0 deletions