From 610b556a908e6782504aa4ec466f819b31303154 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 17 Jul 2013 15:26:56 +0200 Subject: Bcfg2/Client/Tools: do not get bootstatus directly from the entry Bootstatus is optional and should have the value of status if not specified. This is handled by get_bootstatus. --- src/lib/Bcfg2/Client/Tools/DebInit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/Bcfg2/Client/Tools/DebInit.py') diff --git a/src/lib/Bcfg2/Client/Tools/DebInit.py b/src/lib/Bcfg2/Client/Tools/DebInit.py index 761c51db7..b544e44d4 100644 --- a/src/lib/Bcfg2/Client/Tools/DebInit.py +++ b/src/lib/Bcfg2/Client/Tools/DebInit.py @@ -108,7 +108,7 @@ class DebInit(Bcfg2.Client.Tools.SvcTool): def InstallService(self, entry): """Install Service entry.""" self.logger.info("Installing Service %s" % (entry.get('name'))) - bootstatus = entry.get('bootstatus') + bootstatus = self.get_bootstatus(entry) # check if init script exists try: -- cgit v1.2.3-1-g7c22