summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorBrian Pellin <bpellin@mcs.anl.gov>2005-01-11 19:25:27 +0000
committerBrian Pellin <bpellin@mcs.anl.gov>2005-01-11 19:25:27 +0000
commit30b9f709717b13bf194fa00b6008b9b9afd3f406 (patch)
tree323aa24d73bbb1f2d8378242fb07ba533ea2ae84 /src/lib/Server
parentdaed42d6e09e2f8d7673bddff8241b51fb51b0c3 (diff)
downloadbcfg2-30b9f709717b13bf194fa00b6008b9b9afd3f406.tar.gz
bcfg2-30b9f709717b13bf194fa00b6008b9b9afd3f406.tar.bz2
bcfg2-30b9f709717b13bf194fa00b6008b9b9afd3f406.zip
This should handle the created event.
(Logical change 1.185) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@789 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Generators/Cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Generators/Cfg.py b/src/lib/Server/Generators/Cfg.py
index 77202fa03..e9b8dd120 100644
--- a/src/lib/Server/Generators/Cfg.py
+++ b/src/lib/Server/Generators/Cfg.py
@@ -113,7 +113,7 @@ class ConfigFileEntry(object):
if action == 'changed':
syslog(LOG_INFO, "Cfg: File %s changed" % event.filename)
entry.HandleEvent(event)
- elif action == 'exists':
+ elif action == 'exists' or action == 'created':
entry.HandleEvent(event)
elif action == 'deleted':
[flist.remove(entry) for flist in [self.basefiles, self.deltas] if entry in flist]