diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-08-29 20:30:19 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-08-29 20:30:19 +0000 |
commit | d712ddcb33fdaad922a06b8bbd8301240796fe7c (patch) | |
tree | ecac34d9edc31b03499b8e97efe695c999772907 /src/lib/Server | |
parent | 2ec7c7a2e69d678a2c2310f38c707a4131aa331c (diff) | |
download | bcfg2-d712ddcb33fdaad922a06b8bbd8301240796fe7c.tar.gz bcfg2-d712ddcb33fdaad922a06b8bbd8301240796fe7c.tar.bz2 bcfg2-d712ddcb33fdaad922a06b8bbd8301240796fe7c.zip |
minor formatting
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2146 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-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 |