diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Plugins/Hostbase.py | 23 |
1 files changed, 9 insertions, 14 deletions
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 |