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

Last change on this file since 13715 was 13715, checked in by ramonb, 12 years ago

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

  • added cp statement for CentOS 6 tree
  • Property svn:keywords set to Id URL
File size: 1.0 KB
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 13715 2011-12-12 13:57:36Z 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/bin/cp --force /data/cfengine/data/co5/overlay/global/etc/ssh/shosts.equiv /data/cfengine/data/co6/overlay/global/etc/ssh/shosts.equiv
22{% endepilogue %}
23
24{% use HardwareUnit with 'cluster__name=Gina' as gina_hosts %}
25
26{% for hw in gina_hosts %}
27  {% for i in hw.interfaces.all %}
28    {% if i.network.name == 'gina admin' %}
29
30{{ hw.label }}
31{{ i.fqdn }}
32{{ i.ip }}
33
34    {% endif %}
35    {% if i.network.name == 'gina productie' %}
36
37{{ i.fqdn }}
38{{ i.ip }}
39
40    {% endif %}
41  {% endfor %}
42{% endfor %}
43
44{% endnoblanklines %}
Note: See TracBrowser for help on using the repository browser.