source: trunk/sara_cmt/templates/gina/shosts.equiv.cmt @ 12420

Last change on this file since 12420 was 12420, checked in by ramonb, 13 years ago

gina/shosts.equiv.cmt,
gina/ssh_known_hosts2.cmt:

  • svn keywords
  • Property svn:keywords set to Id URL
File size: 921 bytes
Line 
1# This file is automagicly generated by SARA CMT
2#
3#               SARA - Computing and Networking Services
4# Date        : Wed, 20 Jan 2011
5# Version     : {{ version }}
6# Generated   : {% now "r" %}
7#
8# Description :
9#
10# SVN:
11#       $Id: shosts.equiv.cmt 12420 2011-01-21 09:23:43Z ramonb $
12#       $URL: trunk/sara_cmt/templates/gina/shosts.equiv.cmt $
13#
14{% load cmts_extras %}
15{% noblanklines %}
16
17{% store /data/cfengine/data/co5/overlay/global/etc/ssh/shosts.equiv as output %}
18
19{% epilogue %}
20/bin/cp --force /data/cfengine/data/co5/overlay/global/etc/ssh/shosts.equiv /data/cfengine/data/sl4/overlay/global/etc/ssh/shosts.equiv
21{% endepilogue %}
22
23{% use HardwareUnit with 'cluster__name=Gina' as gina_hosts %}
24
25{% for hw in gina_hosts %}
26  {% for i in hw.interfaces.all %}
27    {% if i.network.name == 'gina admin' %}
28
29{{ hw.label }}
30{{ i.fqdn }}
31{{ i.ip }}
32
33    {% endif %}
34    {% if i.network.name == 'gina productie' %}
35
36{{ i.fqdn }}
37{{ i.ip }}
38
39    {% endif %}
40  {% endfor %}
41{% endfor %}
42
43{% endnoblanklines %}
Note: See TracBrowser for help on using the repository browser.