- Timestamp:
- 11/08/11 15:28:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sara_cmt/templates/lisa/cf-runagent.lisa.cmt
r12585 r13620 15 15 {% noblanklines %} 16 16 17 {% store / usr/sara/etc/cfengine3/hosts.lisa as output %}17 {% store /data/cfengine3/cf-runagent/hosts.lisa as output %} 18 18 {% use HardwareUnit with 'cluster__name=Lisa' as lisa_hosts %} 19 19 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 %} 24 23 25 24 body runagent control … … 40 39 {% for i in hw.interfaces.all %} 41 40 {% 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 %} 43 42 44 43 "{{ i.fqdn }}",
Note: See TracChangeset
for help on using the changeset viewer.