diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2012-05-27 16:50:03 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2012-05-27 16:50:03 -0500 |
commit | 31d83ac25259cb9478aa82d2f99a9686c40de771 (patch) | |
tree | dbe9ccb1d46a42edf4f61d3ddf7cfde492b5d7a1 /doc | |
parent | 4908edb26c3f0d2e6b37b6fb0c55a3758464def6 (diff) | |
download | bcfg2-31d83ac25259cb9478aa82d2f99a9686c40de771.tar.gz bcfg2-31d83ac25259cb9478aa82d2f99a9686c40de771.tar.bz2 bcfg2-31d83ac25259cb9478aa82d2f99a9686c40de771.zip |
doc: Fix missing configuration step
Omitting this step while setting up the NagiosGen plugin causes
tracebacks when restarting the bcfg2-server process. We should probably
also allow for a missing config.xml (or create one in the code).
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/server/plugins/generators/nagiosgen.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/server/plugins/generators/nagiosgen.txt b/doc/server/plugins/generators/nagiosgen.txt index b839c10ca..db0a06d9f 100644 --- a/doc/server/plugins/generators/nagiosgen.txt +++ b/doc/server/plugins/generators/nagiosgen.txt @@ -18,6 +18,10 @@ Create the NagiosGen directory:: $ mkdir /var/lib/bcfg2/NagiosGen +Create an empty config.xml:: + + $ echo "<NagiosGen></NagiosGen>" >> /var/lib/bcfg2/NagiosGen/config.xml + Create default host, and group specs in: * /var/lib/bcfg2/NagiosGen/default-host.cfg:: |