Changeset 10365 in genesis


Ignore:
Timestamp:
Apr 7, 2012, 10:01:02 AM (13 years ago)
Author:
rick
Message:

Ugly hack needed to fix the odd behaviour around proxy naming.

This is fixed the moment only names will be used.

Related-To beheer#174

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r10364 r10365  
    739739
    740740def get_fqdn(datadump):
    741   # Proxy naming convention is special
     741  # Proxy naming convention is special, as the proxy name is also included in
     742  # the nodename, when it comes to the numbered proxies.
    742743  if datadump['nodetype'] == 'Proxy':
    743     fqdn = datadump['nodename']
     744    fqdn = datadump['nodetype'] + datadump['nodename'].replace('proxy','')
    744745  else:
    745746    # By default the full name is listed and also a shortname CNAME for easy use.
Note: See TracChangeset for help on using the changeset viewer.