source: branches/1.0/sara_cmt/templates/examples/simple_hostnames.cmt @ 14184

Last change on this file since 14184 was 14184, checked in by ramonb, 12 years ago
  • more example changes
File size: 578 bytes
Line 
1# This file is automagicly generated by SARA CMT
2#
3#               SARA - Computing and Networking Services
4# Date        : Fri 6 Jul 2012
5# Version     : {{ version }}
6# Generated   : {% now "r" %}
7#
8# Description : This is an simple file containing hostnames of all machines in rack 31
9#
10# SVN:
11#       {{ svn_id }}
12#       {{ svn_url }}
13#
14{% load cmt_client %}
15
16{% use hardwareunit with 'rack=31' as machines %}
17
18{% store '/tmp/hostnames_example.txt' %}
19
20{% noblanklines %}
21{% for machine in machines %}
22{{ machine.label }}
23{% endfor %}
24{% endnoblanklines %}
25
26{% endstore %}
Note: See TracBrowser for help on using the repository browser.