Sha256: 7f50bb9bdea5545f18bd5827bda20c658875815208292a76e05350cde48c9dbe

Contents?: true

Size: 1.06 KB

Versions: 51

Compression:

Stored size: 1.06 KB

Contents

# Copyright (c) 2012 National ICT Australia Limited (NICTA).
# This software may be used and distributed solely under the terms of the MIT license (License).
# You should find a copy of the License in LICENSE.TXT or at http://opensource.org/licenses/MIT.
# By downloading or using this software you accept the terms and the liability disclaimer in the License.

#
# Test 2
#
# Testing 2 nodes in multiple groups running exec commandis for already installed apps
#

defProperty('res1', "node1", "ID of a node")
defProperty('res2', "node2", "ID of a node")

defGroup('Alice', property.res1)
defGroup('Bob', property.res2)
defGroup('Couple', property.res1, property.res2)
defGroup('GroupOfGroup', "Alice", "Bob")

onEvent(:ALL_UP) do
  info "-------------"
  info "TEST - Group of 2 (res1,res2)"
  group("Couple").exec("/bin/hostname")
  info "---------------------"
  info "TEST - Group of Group ( (res1) and (res2) )"
  group("GroupOfGroup").exec("/bin/hostname")
  info "---------------"
  info "TEST - allGroup"
  allGroups.exec("/bin/hostname")

  after(20) { Experiment.done }
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
omf_ec-6.2.3 example/test_exp/test02.rb
omf_ec-6.2.2 example/test_exp/test02.rb
omf_ec-6.2.1 example/test_exp/test02.rb
omf_ec-6.2.0 example/test_exp/test02.rb
omf_ec-6.2.0.pre.2 example/test_exp/test02.rb
omf_ec-6.2.0.pre.1 example/test_exp/test02.rb
omf_ec-6.1.14.pre.2 example/test_exp/test02.rb
omf_ec-6.1.14.pre.1 example/test_exp/test02.rb
omf_ec-6.1.12 example/test_exp/test02.rb
omf_ec-6.1.11 example/test_exp/test02.rb
omf_ec-6.1.10 example/test_exp/test02.rb
omf_ec-6.1.9 example/test_exp/test02.rb
omf_ec-6.1.9.pre.4 example/test_exp/test02.rb
omf_ec-6.1.9.pre.3 example/test_exp/test02.rb
omf_ec-6.1.9.pre.2 example/test_exp/test02.rb
omf_ec-6.1.8 example/test_exp/test02.rb
omf_ec-6.1.7 example/test_exp/test02.rb
omf_ec-6.1.6 example/test_exp/test02.rb
omf_ec-6.1.6.pre.2 example/test_exp/test02.rb
omf_ec-6.1.6.pre.1 example/test_exp/test02.rb