summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/POSIX.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py
index c5d82a403..ce609848d 100644
--- a/src/lib/Client/Tools/POSIX.py
+++ b/src/lib/Client/Tools/POSIX.py
@@ -190,6 +190,9 @@ class POSIX(Bcfg2.Client.Tools.Tool):
def InstallConfigFile(self, entry):
'''Install ConfigFile Entry'''
+ if entry.text == None and entry.get('empty', 'false') != 'true':
+ self.logger.info("Incomplete information for ConfigFile %s" % entry.get('name'))
+ return False
self.logger.info("Installing ConfigFile %s" % (entry.get('name')))
parent = "/".join(entry.get('name').split('/')[:-1])