From d712ddcb33fdaad922a06b8bbd8301240796fe7c Mon Sep 17 00:00:00 2001 From: Ken Raffenetti Date: Tue, 29 Aug 2006 20:30:19 +0000 Subject: minor formatting git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2146 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugins/Hostbase.py | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/lib/Server/Plugins/Hostbase.py b/src/lib/Server/Plugins/Hostbase.py index 2a3c07e43..51bd2c536 100644 --- a/src/lib/Server/Plugins/Hostbase.py +++ b/src/lib/Server/Plugins/Hostbase.py @@ -386,13 +386,10 @@ class Hostbase(Plugin): def buildPrinters(self): """The /mcs/etc/printers.data file""" header = """# This file is automatically generated. DO NOT EDIT IT! - # To update the contents of this file execute a 'make printers' - # and then an 'install printers' in /mcs/adm/hostbase as root - # on antares. This datafile is for use with /mcs/bin/printers. - # - Name Room User Type Notes - ============== ========== ============================== ======================== ==================== - """ +# +Name Room User Type Notes +============== ========== ============================== ======================== ==================== +""" cursor = connection.cursor() # fetches all the printers from the database @@ -469,13 +466,11 @@ class Hostbase(Plugin): def buildNetgroups(self): """Makes the *-machine files""" header = """################################################################### - # This file lists hosts in the '%s' machine netgroup, it is - # automatically generated. DO NOT EDIT THIS FILE! To update - # the hosts in this file, edit hostbase and do a 'make nets' - # in /mcs/adm/hostbase. - # - # Number of hosts in '%s' machine netgroup: %i - #\n\n""" +# This file lists hosts in the '%s' machine netgroup, it is +# automatically generated. DO NOT EDIT THIS FILE! +# +# Number of hosts in '%s' machine netgroup: %i +#\n\n""" cursor = connection.cursor() # fetches all the hosts that with valid netgroup entries -- cgit v1.2.3-1-g7c22