Changeset 13670


Ignore:
Timestamp:
11/22/11 09:38:49 (12 years ago)
Author:
sil
Message:

enhanced filter to add batch to hosts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sara_cmt/templates/lisa/cf-runagent.lisa.cmt

    r13620 r13670  
    2424body runagent control
    2525{
    26         any::
    27                 # Hack else we can not use it. Lisa cluster has the same keys for
    28                 # compute nodes.
    29                 #
    30                 trustkey                => "true";
    31                 max_children            => "40";
    32                 background_children     => "true";
     26    any::
     27        # Hack else we can not use it. Lisa cluster has the same keys for
     28        # compute nodes.
     29        #
     30        trustkey                => "true";
     31        max_children            => "40";
     32        background_children     => "true";
    3333
    34                 output_to_file          => "true";
    35                 output_directory        => "/var/log/cf-runagent/lisa";
     34        output_to_file          => "true";
     35        output_directory        => "/var/log/cf-runagent/lisa";
    3636
    37                 hosts => {
     37        hosts => {
    3838{% for hw in lisa_hosts %}
    3939  {% for i in hw.interfaces.all %}
    4040    {% if i.network.name == 'lisa admin' %}
    41       {% if "loginnode" in hw.roles or "computenode" in hw.roles or "software node" in hw.roles %}
     41      {% if "computenode" in hw.roles "loginnode" in hw.roles or or "software node" in hw.roles or "batchsystem" in hw.roles %}
    4242
    43                          "{{ i.fqdn }}",
     43             "{{ i.fqdn }}",
    4444
    4545      {% endif %}
     
    4747  {% endfor %}
    4848{% endfor %}
    49                 };
     49        };
    5050}
    5151{% endnoblanklines %}
Note: See TracChangeset for help on using the changeset viewer.