Changeset 11974 for trunk/sara_cmt/templates/dns-icua.cmt
- Timestamp:
- 08/18/10 16:57:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sara_cmt/templates/dns-icua.cmt
r11951 r11974 11 11 # 12 12 {% load cmts_extras %} 13 { % store /usr/sara/etc/dns.nodes as output %}14 { # {% store /etc/bind/prim/db.icua.sara.nl as output %} #}13 {# {% store /usr/sara/etc/dns.nodes as output %} #} 14 {% store /etc/bind/prim/db.icua.sara.nl as output %} 15 15 {% noblanklines %} 16 16 … … 18 18 /usr/sara/sbin/bind.sh {{output}} 19 19 {% endepilogue %} 20 { # {% epilogue %} #}21 {# echo /etc/init.d/bind9 restart #} 22 { # {% endepilogue %} #}20 {% epilogue %} #} 21 /etc/init.d/bind9 restart 22 {% endepilogue %} #} 23 23 24 24 {% use interface with 'network__name=icua' as ifaces_icua %} … … 39 39 {% for iface in ifaces_icua %} 40 40 {{ iface.label }} IN A {{ iface.ip }} 41 {% if iface.cnames != None %} 42 {% for cname in iface.cnames %} 43 {{cname}} IN CNAME {{ iface.label }} 44 {% endfor %} 45 {% endif %} 41 46 {% endfor %} 42 47 {% endnoblanklines %}
Note: See TracChangeset
for help on using the changeset viewer.