nuri 0.5.4 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -3
- data/VERSION +1 -1
- data/bin/nuri +10 -7
- data/nuri.gemspec +17 -17
- metadata +19 -94
- data/examples/.gitignore +0 -4
- data/examples/bonfire.sfp +0 -87
- data/examples/bonfire/epcc.sfp +0 -43
- data/examples/bonfire/epcc0.sfp +0 -49
- data/examples/bonfire/epcc2.sfp +0 -52
- data/examples/bonfire/epcc2a.sfp +0 -25
- data/examples/bonfire/inria.sfp +0 -72
- data/examples/bonfire/inria0.sfp +0 -49
- data/examples/bonfire/inria2.sfp +0 -71
- data/examples/bonfire/inria2a.sfp +0 -44
- data/examples/bonfire/inria2b.sfp +0 -54
- data/examples/bonfire/inria2c.sfp +0 -62
- data/examples/bonfire/inria2d.sfp +0 -71
- data/examples/bonfire/inria2e.sfp +0 -80
- data/examples/bonfire/main.sfp +0 -33
- data/examples/bonfire/old/bonfire-1-1-1.sfp +0 -76
- data/examples/bonfire/old/bonfire-1-10-1.sfp +0 -77
- data/examples/bonfire/old/bonfire-1-2-1.sfp +0 -58
- data/examples/bonfire/old/bonfire-1-3-1.sfp +0 -61
- data/examples/bonfire/old/bonfire-1-4-1.sfp +0 -64
- data/examples/bonfire/old/bonfire-1-5-1.sfp +0 -67
- data/examples/bonfire/old/bonfire-1-6-1.sfp +0 -82
- data/examples/bonfire/old/bonfire-1-7-1.sfp +0 -82
- data/examples/bonfire/old/bonfire-1-8-1.sfp +0 -79
- data/examples/bonfire/old/bonfire-1-9-1.sfp +0 -83
- data/examples/bonfire/old/wp-test1a.sfp +0 -38
- data/examples/bonfire/old/wp-test1b.sfp +0 -18
- data/examples/bonfire/old/wp-test1c.sfp +0 -7
- data/examples/bonfire/old/wp-test2.sfp +0 -47
- data/examples/bonfire/old3/bonfire-epcc.sfp +0 -57
- data/examples/bonfire/old3/bonfire-inria.sfp +0 -72
- data/examples/bonfire/old3/bonfire-master.sfp +0 -18
- data/examples/bonfire/old3/bonfire.sfp +0 -23
- data/examples/bonfire/old3/bonfire2.sfp +0 -49
- data/examples/bonfire/old3/bonfire3.sfp +0 -76
- data/examples/bonfire/old3/bonfire4.sfp +0 -78
- data/examples/bonfire/old3/bonfire5.sfp +0 -34
- data/examples/bonfire/old3/bonfire5b.sfp +0 -84
- data/examples/bonfire/old3/hpvm6.sfp +0 -22
- data/examples/bonfire/old3/model.json +0 -1
- data/examples/bonfire/old3/test0.sfp +0 -16
- data/examples/bonfire/old3/test1.sfp +0 -5
- data/examples/bonfire/old3/test10.sfp +0 -5
- data/examples/bonfire/old3/test2.sfp +0 -18
- data/examples/bonfire/old3/test3.sfp +0 -10
- data/examples/bonfire/old3/test4.sfp +0 -11
- data/examples/bonfire/old3/test5.sfp +0 -18
- data/examples/bonfire/old3/test6.sfp +0 -19
- data/examples/bonfire/old3/test7.sfp +0 -34
- data/examples/bonfire/old3/test8.sfp +0 -5
- data/examples/bonfire/old3/test9.sfp +0 -16
- data/examples/bonfire/old3/wordpress-test-cluster.sfp +0 -38
- data/examples/bonfire/old3/wordpress-test.sfp +0 -22
- data/examples/bonfire/old3/wp-test-2.sfp +0 -49
- data/examples/bonfire/test.sfp +0 -13
- data/examples/hadoop1.sfp +0 -21
- data/examples/hadoop2.sfp +0 -21
- data/examples/hpcloud.sfp +0 -18
- data/examples/mockcloud/apache2.sfp +0 -14
- data/examples/mockcloud/generator.rb +0 -22
- data/examples/mockcloud/generator.rb.bak +0 -66
- data/examples/mockcloud/hadoop2.sfp.template +0 -25
- data/examples/mockcloud/ping.rb +0 -38
- data/examples/mockcloud/run.rb +0 -17
- data/examples/openstack/openstack-hadoop1-cluster.sfp +0 -37
- data/examples/openstack/openstack-hadoop2-cluster.sfp +0 -39
- data/examples/test.inc +0 -0
- data/examples/test.sfp +0 -11
- data/examples/v2/apache.sfp +0 -30
- data/examples/v2/aptpackage.sfp +0 -6
- data/examples/v2/mock1.sfp +0 -12
- data/examples/v2/package.sfp +0 -22
- data/examples/v2/service.sfp +0 -94
- data/examples/v2/tarpackage.sfp +0 -5
- data/examples/wordpress.sfp +0 -41
@@ -1,71 +0,0 @@
|
|
1
|
-
include "../modules/vm/vm.sfp"
|
2
|
-
include "../modules/apache/apache.sfp"
|
3
|
-
include "../modules/mysql/mysql.sfp"
|
4
|
-
include "../modules/wordpresscluster/wordpresscluster.sfp"
|
5
|
-
|
6
|
-
vm1x isa VM {
|
7
|
-
created = true
|
8
|
-
apache isa Apache {
|
9
|
-
running is true
|
10
|
-
is_load_balancer is true
|
11
|
-
}
|
12
|
-
in_cloud is proxy.epcc
|
13
|
-
}
|
14
|
-
vm2x isa VM {
|
15
|
-
created = true
|
16
|
-
apache isa Apache {
|
17
|
-
running is true
|
18
|
-
}
|
19
|
-
wp_web isa WordpressWeb {
|
20
|
-
installed is true
|
21
|
-
http is vm2x.apache
|
22
|
-
database is vm10x.wp_db
|
23
|
-
}
|
24
|
-
in_cloud is proxy.epcc
|
25
|
-
}
|
26
|
-
vm3x extends vm2x {
|
27
|
-
wp_web isa WordpressWeb {
|
28
|
-
installed is true
|
29
|
-
http is vm3x.apache
|
30
|
-
database is vm10x.wp_db
|
31
|
-
}
|
32
|
-
}
|
33
|
-
vm4x extends vm2x {
|
34
|
-
wp_web isa WordpressWeb {
|
35
|
-
installed is true
|
36
|
-
http is vm4x.apache
|
37
|
-
database is vm10x.wp_db
|
38
|
-
}
|
39
|
-
}
|
40
|
-
vm5x extends vm2x {
|
41
|
-
wp_web isa WordpressWeb {
|
42
|
-
installed is true
|
43
|
-
http is vm5x.apache
|
44
|
-
database is vm10x.wp_db
|
45
|
-
}
|
46
|
-
}
|
47
|
-
vm10x isa VM {
|
48
|
-
created = true
|
49
|
-
mysql isa Mysql {
|
50
|
-
running is true
|
51
|
-
}
|
52
|
-
wp_db isa WordpressDB {
|
53
|
-
installed is true
|
54
|
-
mysql is vm10x.mysql
|
55
|
-
}
|
56
|
-
in_cloud is proxy.epcc
|
57
|
-
}
|
58
|
-
|
59
|
-
global {
|
60
|
-
if vm1x.apache.running = true then {
|
61
|
-
vm2x.apache.running = true
|
62
|
-
vm3x.apache.running = true
|
63
|
-
vm4x.apache.running = true
|
64
|
-
vm5x.apache.running = true
|
65
|
-
}
|
66
|
-
|
67
|
-
if vm2x.apache.running = true then vm10x.mysql.running = true
|
68
|
-
if vm3x.apache.running = true then vm10x.mysql.running = true
|
69
|
-
if vm4x.apache.running = true then vm10x.mysql.running = true
|
70
|
-
if vm5x.apache.running = true then vm10x.mysql.running = true
|
71
|
-
}
|
@@ -1,80 +0,0 @@
|
|
1
|
-
include "../modules/vm/vm.sfp"
|
2
|
-
include "../modules/apache/apache.sfp"
|
3
|
-
include "../modules/mysql/mysql.sfp"
|
4
|
-
include "../modules/wordpresscluster/wordpresscluster.sfp"
|
5
|
-
|
6
|
-
vm1x isa VM {
|
7
|
-
created = true
|
8
|
-
apache isa Apache {
|
9
|
-
running is true
|
10
|
-
is_load_balancer is true
|
11
|
-
}
|
12
|
-
in_cloud is proxy.epcc
|
13
|
-
}
|
14
|
-
vm2x isa VM {
|
15
|
-
created = true
|
16
|
-
apache isa Apache {
|
17
|
-
running is true
|
18
|
-
}
|
19
|
-
wp_web isa WordpressWeb {
|
20
|
-
installed is true
|
21
|
-
http is vm2x.apache
|
22
|
-
database is vm10x.wp_db
|
23
|
-
}
|
24
|
-
in_cloud is proxy.epcc
|
25
|
-
}
|
26
|
-
vm3x extends vm2x {
|
27
|
-
wp_web isa WordpressWeb {
|
28
|
-
installed is true
|
29
|
-
http is vm3x.apache
|
30
|
-
database is vm10x.wp_db
|
31
|
-
}
|
32
|
-
}
|
33
|
-
vm4x extends vm2x {
|
34
|
-
wp_web isa WordpressWeb {
|
35
|
-
installed is true
|
36
|
-
http is vm4x.apache
|
37
|
-
database is vm10x.wp_db
|
38
|
-
}
|
39
|
-
}
|
40
|
-
vm5x extends vm2x {
|
41
|
-
wp_web isa WordpressWeb {
|
42
|
-
installed is true
|
43
|
-
http is vm5x.apache
|
44
|
-
database is vm10x.wp_db
|
45
|
-
}
|
46
|
-
}
|
47
|
-
vm6x extends vm2x {
|
48
|
-
wp_web isa WordpressWeb {
|
49
|
-
installed is true
|
50
|
-
http is vm6x.apache
|
51
|
-
database is vm10x.wp_db
|
52
|
-
}
|
53
|
-
}
|
54
|
-
vm10x isa VM {
|
55
|
-
created = true
|
56
|
-
mysql isa Mysql {
|
57
|
-
running is true
|
58
|
-
}
|
59
|
-
wp_db isa WordpressDB {
|
60
|
-
installed is true
|
61
|
-
mysql is vm10x.mysql
|
62
|
-
}
|
63
|
-
in_cloud is proxy.epcc
|
64
|
-
}
|
65
|
-
|
66
|
-
global {
|
67
|
-
if vm1x.apache.running = true then {
|
68
|
-
vm2x.apache.running = true
|
69
|
-
vm3x.apache.running = true
|
70
|
-
vm4x.apache.running = true
|
71
|
-
vm5x.apache.running = true
|
72
|
-
vm6x.apache.running = true
|
73
|
-
}
|
74
|
-
|
75
|
-
if vm2x.apache.running = true then vm10x.mysql.running = true
|
76
|
-
if vm3x.apache.running = true then vm10x.mysql.running = true
|
77
|
-
if vm4x.apache.running = true then vm10x.mysql.running = true
|
78
|
-
if vm5x.apache.running = true then vm10x.mysql.running = true
|
79
|
-
if vm6x.apache.running = true then vm10x.mysql.running = true
|
80
|
-
}
|
data/examples/bonfire/main.sfp
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
include "../modules/node/node.sfp"
|
2
|
-
include "../modules/bonfire/bonfire.sfp"
|
3
|
-
include "../modules/client/client.sfp"
|
4
|
-
|
5
|
-
proxy isa Node {
|
6
|
-
sfpAddress is "localhost"
|
7
|
-
|
8
|
-
epcc isa Bonfire {
|
9
|
-
experiment is "autocloud"
|
10
|
-
location is "uk-epcc"
|
11
|
-
image_name is "BonFIRE Debian Squeeze 10G v5"
|
12
|
-
wan_name is "BonFIRE WAN"
|
13
|
-
}
|
14
|
-
inria extends proxy.epcc {
|
15
|
-
location is "fr-inria"
|
16
|
-
}
|
17
|
-
client isa Client {
|
18
|
-
refer is vm1x.apache
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
include "inria2e.sfp"
|
23
|
-
//include "epcc2a.sfp"
|
24
|
-
|
25
|
-
//include "test.sfp"
|
26
|
-
|
27
|
-
global {
|
28
|
-
//proxy.client.refer in (vm1.apache, vm1x.apache)
|
29
|
-
//if proxy.client.refer = vm1.apache then vm1.apache.running = true
|
30
|
-
if proxy.client.refer = vm1x.apache then vm1x.apache.running = true
|
31
|
-
}
|
32
|
-
|
33
|
-
|
@@ -1,76 +0,0 @@
|
|
1
|
-
include "../modules/machine/machine.sfp"
|
2
|
-
include "../modules/bonfire/bonfire.sfp"
|
3
|
-
include "../modules/vm/vm.sfp"
|
4
|
-
include "../modules/apache/apache.sfp"
|
5
|
-
include "../modules/mysql/mysql.sfp"
|
6
|
-
|
7
|
-
master isa Machine {
|
8
|
-
sfpAddress is "localhost"
|
9
|
-
bonfireEPCC isa Bonfire {
|
10
|
-
experiment is "autocloud"
|
11
|
-
location is "uk-epcc"
|
12
|
-
image_name is "BonFIRE Debian Squeeze 10G v5"
|
13
|
-
wan_name is "BonFIRE WAN"
|
14
|
-
}
|
15
|
-
bonfireINRIA extends master.bonfireEPCC {
|
16
|
-
location is "fr-inria"
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
vm1 isa VM {
|
21
|
-
created = true
|
22
|
-
apache isa Apache {
|
23
|
-
running is true
|
24
|
-
is_load_balancer is true
|
25
|
-
}
|
26
|
-
in_cloud is master.bonfireEPCC
|
27
|
-
}
|
28
|
-
vm2 isa VM {
|
29
|
-
created = true
|
30
|
-
apache isa Apache {
|
31
|
-
running is true
|
32
|
-
}
|
33
|
-
in_cloud is master.bonfireEPCC
|
34
|
-
}
|
35
|
-
/*vm3 extends vm2
|
36
|
-
vm4 extends vm2
|
37
|
-
vm5 extends vm2
|
38
|
-
vm6 extends vm2
|
39
|
-
vm7 extends vm2
|
40
|
-
vm8 extends vm2
|
41
|
-
vm9 extends vm2
|
42
|
-
vm11 extends vm2
|
43
|
-
vm12 extends vm2*/
|
44
|
-
vm10 isa VM {
|
45
|
-
created = true
|
46
|
-
mysql isa Mysql {
|
47
|
-
running is true
|
48
|
-
}
|
49
|
-
in_cloud is master.bonfireEPCC
|
50
|
-
}
|
51
|
-
|
52
|
-
global {
|
53
|
-
if vm1.apache.running = true then {
|
54
|
-
vm2.apache.running = true
|
55
|
-
/*vm3.apache.running = true
|
56
|
-
vm4.apache.running = true
|
57
|
-
vm5.apache.running = true
|
58
|
-
vm6.apache.running = true
|
59
|
-
vm7.apache.running = true
|
60
|
-
vm8.apache.running = true
|
61
|
-
vm9.apache.running = true
|
62
|
-
vm11.apache.running = true
|
63
|
-
vm12.apache.running = true*/
|
64
|
-
}
|
65
|
-
|
66
|
-
if vm2.apache.running = true then vm10.mysql.running = true
|
67
|
-
/*if vm3.apache.running = true then vm10.mysql.running = true
|
68
|
-
if vm4.apache.running = true then vm10.mysql.running = true
|
69
|
-
if vm5.apache.running = true then vm10.mysql.running = true
|
70
|
-
if vm6.apache.running = true then vm10.mysql.running = true
|
71
|
-
if vm7.apache.running = true then vm10.mysql.running = true
|
72
|
-
if vm8.apache.running = true then vm10.mysql.running = true
|
73
|
-
if vm9.apache.running = true then vm10.mysql.running = true
|
74
|
-
if vm11.apache.running = true then vm10.mysql.running = true
|
75
|
-
if vm12.apache.running = true then vm10.mysql.running = true*/
|
76
|
-
}
|
@@ -1,77 +0,0 @@
|
|
1
|
-
include "../modules/machine/machine.sfp"
|
2
|
-
include "../modules/bonfire/bonfire.sfp"
|
3
|
-
include "../modules/vm/vm.sfp"
|
4
|
-
include "../modules/apache/apache.sfp"
|
5
|
-
include "../modules/mysql/mysql.sfp"
|
6
|
-
|
7
|
-
master isa Machine {
|
8
|
-
sfpAddress is "localhost"
|
9
|
-
|
10
|
-
bonfireEPCC isa Bonfire {
|
11
|
-
experiment is "autocloud"
|
12
|
-
location is "uk-epcc"
|
13
|
-
image_name is "BonFIRE Debian Squeeze 10G v5"
|
14
|
-
wan_name is "BonFIRE WAN"
|
15
|
-
}
|
16
|
-
bonfireINRIA extends master.bonfireEPCC {
|
17
|
-
location is "fr-inria"
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
vm1 isa VM {
|
22
|
-
created = true
|
23
|
-
apache isa Apache {
|
24
|
-
running is true
|
25
|
-
is_load_balancer is true
|
26
|
-
}
|
27
|
-
in_cloud is master.bonfireINRIA
|
28
|
-
}
|
29
|
-
vm2 isa VM {
|
30
|
-
created = true
|
31
|
-
apache isa Apache {
|
32
|
-
running is true
|
33
|
-
}
|
34
|
-
in_cloud is master.bonfireINRIA
|
35
|
-
}
|
36
|
-
vm3 extends vm2
|
37
|
-
vm4 extends vm2
|
38
|
-
vm5 extends vm2
|
39
|
-
vm6 extends vm2
|
40
|
-
vm7 extends vm2
|
41
|
-
vm8 extends vm2
|
42
|
-
vm9 extends vm2
|
43
|
-
vm11 extends vm2
|
44
|
-
vm12 extends vm2
|
45
|
-
vm10 isa VM {
|
46
|
-
created = true
|
47
|
-
mysql isa Mysql {
|
48
|
-
running is true
|
49
|
-
}
|
50
|
-
in_cloud is master.bonfireINRIA
|
51
|
-
}
|
52
|
-
|
53
|
-
global {
|
54
|
-
if vm1.apache.running = true then {
|
55
|
-
vm2.apache.running = true
|
56
|
-
vm3.apache.running = true
|
57
|
-
vm4.apache.running = true
|
58
|
-
vm5.apache.running = true
|
59
|
-
vm6.apache.running = true
|
60
|
-
vm7.apache.running = true
|
61
|
-
vm8.apache.running = true
|
62
|
-
vm9.apache.running = true
|
63
|
-
vm11.apache.running = true
|
64
|
-
vm12.apache.running = true
|
65
|
-
}
|
66
|
-
|
67
|
-
if vm2.apache.running = true then vm10.mysql.running = true
|
68
|
-
if vm3.apache.running = true then vm10.mysql.running = true
|
69
|
-
if vm4.apache.running = true then vm10.mysql.running = true
|
70
|
-
if vm5.apache.running = true then vm10.mysql.running = true
|
71
|
-
if vm6.apache.running = true then vm10.mysql.running = true
|
72
|
-
if vm7.apache.running = true then vm10.mysql.running = true
|
73
|
-
if vm8.apache.running = true then vm10.mysql.running = true
|
74
|
-
if vm9.apache.running = true then vm10.mysql.running = true
|
75
|
-
if vm11.apache.running = true then vm10.mysql.running = true
|
76
|
-
if vm12.apache.running = true then vm10.mysql.running = true
|
77
|
-
}
|
@@ -1,58 +0,0 @@
|
|
1
|
-
include "../modules/machine/machine.sfp"
|
2
|
-
include "../modules/bonfire/bonfire.sfp"
|
3
|
-
include "../modules/vm/vm.sfp"
|
4
|
-
include "../modules/apache/apache.sfp"
|
5
|
-
include "../modules/mysql/mysql.sfp"
|
6
|
-
|
7
|
-
master isa Machine {
|
8
|
-
sfpAddress is "localhost"
|
9
|
-
|
10
|
-
bonfireEPCC isa Bonfire {
|
11
|
-
experiment is "autocloud"
|
12
|
-
location is "uk-epcc"
|
13
|
-
image_name is "BonFIRE Debian Squeeze 10G v5"
|
14
|
-
wan_name is "BonFIRE WAN"
|
15
|
-
}
|
16
|
-
bonfireINRIA isa Bonfire {
|
17
|
-
experiment is "autocloud"
|
18
|
-
location is "fr-inria"
|
19
|
-
image_name is "BonFIRE Debian Squeeze 10G v5"
|
20
|
-
wan_name is "BonFIRE WAN"
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
vm1 isa VM {
|
25
|
-
created = true
|
26
|
-
apache isa Apache {
|
27
|
-
running is true
|
28
|
-
is_load_balancer is true
|
29
|
-
}
|
30
|
-
in_cloud is master.bonfireINRIA
|
31
|
-
}
|
32
|
-
|
33
|
-
vm2 isa VM {
|
34
|
-
created = true
|
35
|
-
apache isa Apache {
|
36
|
-
running is true
|
37
|
-
}
|
38
|
-
in_cloud is master.bonfireINRIA
|
39
|
-
}
|
40
|
-
|
41
|
-
vm3 extends vm2
|
42
|
-
|
43
|
-
vm7 isa VM {
|
44
|
-
created = true
|
45
|
-
mysql isa Mysql {
|
46
|
-
running is true
|
47
|
-
}
|
48
|
-
in_cloud is master.bonfireINRIA
|
49
|
-
}
|
50
|
-
|
51
|
-
global {
|
52
|
-
if vm1.apache.running = true then {
|
53
|
-
vm2.apache.running = true
|
54
|
-
vm3.apache.running = true
|
55
|
-
}
|
56
|
-
if vm2.apache.running = true then vm7.mysql.running = true
|
57
|
-
if vm3.apache.running = true then vm7.mysql.running = true
|
58
|
-
}
|
@@ -1,61 +0,0 @@
|
|
1
|
-
include "../modules/machine/machine.sfp"
|
2
|
-
include "../modules/bonfire/bonfire.sfp"
|
3
|
-
include "../modules/vm/vm.sfp"
|
4
|
-
include "../modules/apache/apache.sfp"
|
5
|
-
include "../modules/mysql/mysql.sfp"
|
6
|
-
|
7
|
-
master isa Machine {
|
8
|
-
sfpAddress is "localhost"
|
9
|
-
|
10
|
-
bonfireEPCC isa Bonfire {
|
11
|
-
experiment is "autocloud"
|
12
|
-
location is "uk-epcc"
|
13
|
-
image_name is "BonFIRE Debian Squeeze 10G v5"
|
14
|
-
wan_name is "BonFIRE WAN"
|
15
|
-
}
|
16
|
-
bonfireINRIA isa Bonfire {
|
17
|
-
experiment is "autocloud"
|
18
|
-
location is "fr-inria"
|
19
|
-
image_name is "BonFIRE Debian Squeeze 10G v5"
|
20
|
-
wan_name is "BonFIRE WAN"
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
vm1 isa VM {
|
25
|
-
created = true
|
26
|
-
apache isa Apache {
|
27
|
-
running is true
|
28
|
-
is_load_balancer is true
|
29
|
-
}
|
30
|
-
in_cloud is master.bonfireINRIA
|
31
|
-
}
|
32
|
-
|
33
|
-
vm2 isa VM {
|
34
|
-
created = true
|
35
|
-
apache isa Apache {
|
36
|
-
running is true
|
37
|
-
}
|
38
|
-
in_cloud is master.bonfireINRIA
|
39
|
-
}
|
40
|
-
|
41
|
-
vm3 extends vm2
|
42
|
-
vm4 extends vm2
|
43
|
-
|
44
|
-
vm7 isa VM {
|
45
|
-
created = true
|
46
|
-
mysql isa Mysql {
|
47
|
-
running is true
|
48
|
-
}
|
49
|
-
in_cloud is master.bonfireINRIA
|
50
|
-
}
|
51
|
-
|
52
|
-
global {
|
53
|
-
if vm1.apache.running = true then {
|
54
|
-
vm2.apache.running = true
|
55
|
-
vm3.apache.running = true
|
56
|
-
vm4.apache.running = true
|
57
|
-
}
|
58
|
-
if vm2.apache.running = true then vm7.mysql.running = true
|
59
|
-
if vm3.apache.running = true then vm7.mysql.running = true
|
60
|
-
if vm4.apache.running = true then vm7.mysql.running = true
|
61
|
-
}
|