Changeset 1243


Ignore:
Timestamp:
12/19/06 09:17:58 (6 years ago)
Author:
mglb1
Message:

Remove event listeners from all templates. This seemed like a good idea at the
time, but in reality it just makes the daemon slower to respond and leads to
configuration being changed at random times.

Better to let the admin regenerate the templates when they're ready and not
before.

The infrastructure is still there to have templates autogenerated on events.
Maybe it will be usefull for something...

Location:
ccsd/private/templates
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • ccsd/private/templates/host/dhcpd_conf.tmpl

    r1169 r1243  
    88#attr $copyright = "Copyright (C) 2006  The University of Waikato" 
    99#attr $license = "No usage or redistribution rights are granted. See LICENSE for details." 
    10 #attr $eventList = ["hostAdded", "hostModified" ] 
     10#attr $eventList = [] 
    1111#attr $fileName = "dhcpd.conf" 
    1212#attr $serviceName = "dhcp" 
  • ccsd/private/templates/host/dhcpd_default.tmpl

    r1169 r1243  
    88#attr $copyright = "Copyright (C) 2006  The University of Waikato" 
    99#attr $license = "No usage or redistribution rights are granted. See LICENSE for details." 
    10 #attr $eventList = ["hostAdded", "hostModified" ] 
     10#attr $eventList = [] 
    1111#attr $fileName = "dhcpd_default" 
    1212#attr $serviceName = "dhcp" 
  • ccsd/private/templates/host/hostapd_default.tmpl

    r1170 r1243  
    88#attr $copyright = "Copyright (C) 2006  The University of Waikato" 
    99#attr $license = "No usage or redistribution rights are granted. See LICENSE for details." 
    10 #attr $eventList = ["hostAdded", "hostModified" ] 
     10#attr $eventList = [] 
    1111#attr $fileName = "hostapd_default" 
    1212#attr $serviceName = "hostapd" 
  • ccsd/private/templates/host/hosts.tmpl

    r1200 r1243  
    88#attr $copyright = "Copyright (C) 2006  The University of Waikato" 
    99#attr $license = "No usage or redistribution rights are granted. See LICENSE for details." 
    10 #attr $eventList = ["hostAdded", "hostModified" ] 
     10#attr $eventList = [] 
    1111 
    1212#from crcnetd._utils.ccsd_cfengine import ccs_template 
  • ccsd/private/templates/host/interface_rules.tmpl

    r926 r1243  
    1111#attr $copyright = "Copyright (C) 2006  The University of Waikato" 
    1212#attr $license = "No usage or redistribution rights are granted. See LICENSE for details." 
    13 #attr $eventList = ["hostAdded", "hostModified" ] 
     13#attr $eventList = [] 
    1414#attr $fileName = "interface.rules" 
    1515#from crcnetd.modules.ccs_interface import INTERFACE_TYPE_VAP 
  • ccsd/private/templates/host/interfaces.tmpl

    r1180 r1243  
    88#attr $copyright = "Copyright (C) 2006  The University of Waikato" 
    99#attr $license = "No usage or redistribution rights are granted. See LICENSE for details." 
    10 #attr $eventList = ["hostAdded", "hostModified" ] 
     10#attr $eventList = [] 
    1111#from crcnetd.modules.ccs_asset import ccs_subasset 
    1212#from crcnetd._utils.ccsd_cfengine import ccs_template 
  • ccsd/private/templates/host/ospfd_conf.tmpl

    r1169 r1243  
    88#attr $copyright = "Copyright (C) 2006  The University of Waikato" 
    99#attr $license = "No usage or redistribution rights are granted. See LICENSE for details." 
    10 #attr $eventList = ["hostAdded", "hostModified" ] 
     10#attr $eventList = [] 
    1111#attr $fileName = "ospfd.conf" 
    1212#attr $serviceName = "quagga" 
  • ccsd/private/templates/host/pxemap.tmpl

    r926 r1243  
    1010#attr $copyright = "Copyright (C) 2006  The University of Waikato" 
    1111#attr $license = "No usage or redistribution rights are granted. See LICENSE for details." 
    12 #attr $eventList = ["hostAdded", "hostModified" ] 
     12#attr $eventList = [] 
    1313#attr $multiFile = True 
    1414#from crcnetd._utils.ccsd_cfengine import ccs_template 
  • ccsd/private/templates/host/quagga_daemons.tmpl

    r1169 r1243  
    88#attr $copyright = "Copyright (C) 2006  The University of Waikato" 
    99#attr $license = "No usage or redistribution rights are granted. See LICENSE for details." 
    10 #attr $eventList = ["hostAdded", "hostModified" ] 
     10#attr $eventList = [] 
    1111#attr $serviceName = "quagga" 
    1212#from crcnetd._utils.ccsd_cfengine import ccs_template 
  • ccsd/private/templates/host/zebra_conf.tmpl

    r1169 r1243  
    88#attr $copyright = "Copyright (C) 2006  The University of Waikato" 
    99#attr $license = "No usage or redistribution rights are granted. See LICENSE for details." 
    10 #attr $eventList = ["hostAdded", "hostModified" ] 
     10#attr $eventList = [] 
    1111#attr $fileName = "zebra.conf" 
    1212#attr $serviceName = "quagga" 
  • ccsd/private/templates/network/cfrun_hosts.tmpl

    r926 r1243  
    88#attr $copyright = "Copyright (C) 2006  The University of Waikato" 
    99#attr $license = "No usage or redistribution rights are granted. See LICENSE for details." 
    10 #attr $eventList = ["hostAdded", "hostModified" ] 
     10#attr $eventList = [] 
    1111#attr $fileName = "cfrun.hosts" 
    1212#from crcnetd._utils.ccsd_cfengine import ccs_template 
Note: See TracChangeset for help on using the changeset viewer.