Changeset 13620 for trunk


Ignore:
Timestamp:
11/08/11 15:28:57 (12 years ago)
Author:
bas
Message:

changed the template to only include computnode, loginnode or software node

File:
1 edited

Legend:

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

    r12585 r13620  
    1515{% noblanklines %}
    1616
    17 {% store /usr/sara/etc/cfengine3/hosts.lisa as output %}
     17{% store /data/cfengine3/cf-runagent/hosts.lisa as output %}
    1818{% use HardwareUnit with 'cluster__name=Lisa' as lisa_hosts %}
    1919
    20 {% epilogue %}
    21 /usr/bin/scp /usr/sara/etc/cfengine3/hosts.lisa cfengine3:/data/cfengine3/cf-runagent
    22 {% endepilogue %}
    23 
     20#{% epilogue %}
     21#/usr/bin/scp /usr/sara/etc/cfengine3/hosts.lisa cfengine3:/data/cfengine3/cf-runagent
     22#{% endepilogue %}
    2423
    2524body runagent control
     
    4039  {% for i in hw.interfaces.all %}
    4140    {% 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 %}
     41      {% if "loginnode" in hw.roles or "computenode" in hw.roles or "software node" in hw.roles %}
    4342
    4443                         "{{ i.fqdn }}",
Note: See TracChangeset for help on using the changeset viewer.