source: trunk/sara_cmt/templates/lisa/dontrun_dns-irc.cmt @ 13865

Last change on this file since 13865 was 13865, checked in by sil, 12 years ago

we shouldn't update bind settings before the new certificates are added

File size: 2.2 KB
Line 
1;
2; SVN: {{ svn_id }}
3;      {{ svn_url }}
4;
5; This file is automagically generated by CMTSARA
6;
7;             SARA - Computing and Networking Services
8; Date        : August 17 2010
9; Version     : {{ version }}
10; Generated   : {% now "r" %}
11;
12{% load cmts_extras %}
13{# {% store /var/tmp/dns.nodes as output %} #}
14{% store /etc/bind/prim/db.irc.sara.nl as output %}
15{% noblanklines %}
16
17{% epilogue %}
18/usr/sara/sbin/bind.sh {{output}}
19{% endepilogue %}
20{% epilogue %} #}
21/etc/init.d/bind9 restart
22{% endepilogue %}
23
24{% use interface with 'network__name=lisa consoles' as ifaces_lisa_consoles %}
25{% use interface with 'network__name=lisa admin' as ifaces_lisa_admin %}
26{% use interface with 'network__name=lisa infiniband' as ifaces_lisa_infiniband %}
27{% use interface with 'network__name=lisa switches' as ifaces_lisa_switches %}
28
29@       IN      SOA     ns.irc.sara.nl. root.ns.irc.sara.nl. (
30                                         {% now "ymdHi" %}   ; Serial
31                                        7200            ; Refresh
32                                        600             ; Retry
33                                        604800          ; Expire
34                                        86400 )         ; Minimum
35        IN      NS      ns.irc.sara.nl.
36        IN      NS      ns2.irc.sara.nl.
37{% endnoblanklines %}
38
39$INCLUDE {{output}}.manual
40
41{% noblanklines %}
42{% for iface in ifaces_lisa_admin %}
43{{ iface.label }}       IN      A       {{ iface.ip }}
44{% if iface.cnames != None %}
45{% for cname in iface.cnames %}
46{{cname}}       IN      CNAME   {{ iface.label }}
47{% endfor %}
48{% endif %}
49{% endfor %}
50
51{% for iface in ifaces_lisa_consoles %}
52{{ iface.label }}       IN      A       {{ iface.ip }}
53{% if iface.cnames != None %}
54{% for cname in iface.cnames %}
55{{cname}}       IN      CNAME   {{ iface.label }}
56{% endfor %}
57{% endif %}
58{% endfor %}
59
60{% for iface in ifaces_lisa_infiniband %}
61{{ iface.label }}       IN      A       {{ iface.ip }}
62{% if iface.cnames != None %}
63{% for cname in iface.cnames %}
64{{cname}}       IN      CNAME   {{ iface.label }}
65{% endfor %}
66{% endif %}
67{% endfor %}
68
69{% for iface in ifaces_lisa_switches %}
70{{ iface.label }}       IN      A       {{ iface.ip }}
71{% if iface.cnames != None %}
72{% for cname in iface.cnames %}
73{{cname}}       IN      CNAME   {{ iface.label }}
74{% endfor %}
75{% endif %}
76{% endfor %}
77{% endnoblanklines %}
Note: See TracBrowser for help on using the repository browser.