Last change
on this file since 12585 was
12585,
checked in by bas, 13 years ago
|
lisa/cf-runagent.lisa.cmt:
- forgot to add background_children setting
|
-
Property svn:keywords set to
Id URL
|
File size:
1.3 KB
|
Line | |
---|
1 | # This file is automagicly generated by SARA CMT |
---|
2 | # |
---|
3 | # SARA - Computing and Networking Services |
---|
4 | # Date : Wed, 18 Aug 2010 |
---|
5 | # Version : {{ version }} |
---|
6 | # Generated : {% now "r" %} |
---|
7 | # |
---|
8 | # Description : |
---|
9 | # |
---|
10 | # SVN: |
---|
11 | # {{ svn_id }} |
---|
12 | # {{ svn_url }} |
---|
13 | # |
---|
14 | {% load cmts_extras %} |
---|
15 | {% noblanklines %} |
---|
16 | |
---|
17 | {% store /usr/sara/etc/cfengine3/hosts.lisa as output %} |
---|
18 | {% use HardwareUnit with 'cluster__name=Lisa' as lisa_hosts %} |
---|
19 | |
---|
20 | {% epilogue %} |
---|
21 | /usr/bin/scp /usr/sara/etc/cfengine3/hosts.lisa cfengine3:/data/cfengine3/cf-runagent |
---|
22 | {% endepilogue %} |
---|
23 | |
---|
24 | |
---|
25 | body runagent control |
---|
26 | { |
---|
27 | any:: |
---|
28 | # Hack else we can not use it. Lisa cluster has the same keys for |
---|
29 | # compute nodes. |
---|
30 | # |
---|
31 | trustkey => "true"; |
---|
32 | max_children => "40"; |
---|
33 | background_children => "true"; |
---|
34 | |
---|
35 | output_to_file => "true"; |
---|
36 | output_directory => "/var/log/cf-runagent/lisa"; |
---|
37 | |
---|
38 | hosts => { |
---|
39 | {% for hw in lisa_hosts %} |
---|
40 | {% for i in hw.interfaces.all %} |
---|
41 | {% if i.network.name == 'lisa admin' %} |
---|
42 | {% if not "inactive" in hw.roles and not "administration" in hw.roles and not "fileserver" in hw.roles %} |
---|
43 | |
---|
44 | "{{ i.fqdn }}", |
---|
45 | |
---|
46 | {% endif %} |
---|
47 | {% endif %} |
---|
48 | {% endfor %} |
---|
49 | {% endfor %} |
---|
50 | }; |
---|
51 | } |
---|
52 | {% endnoblanklines %} |
---|
Note: See
TracBrowser
for help on using the repository browser.