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
data/examples/v2/tarpackage.sfp
DELETED
data/examples/wordpress.sfp
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
include "modules/vm/vm.sfp"
|
2
|
-
include "modules/hpcloud/hpcloud.sfp"
|
3
|
-
include "modules/apache/apache.sfp"
|
4
|
-
include "modules/mysql/mysql.sfp"
|
5
|
-
include "modules/wordpress/wordpress.sfp"
|
6
|
-
proxy isa Node {
|
7
|
-
sfpAddress is "localhost"
|
8
|
-
hpcloud isa HPCloud {
|
9
|
-
vm_ssh_key_name is "herrykey3"
|
10
|
-
}
|
11
|
-
}
|
12
|
-
lb isa VM {
|
13
|
-
apache isa Apache {
|
14
|
-
load_balancer is true
|
15
|
-
lb_members is (app1,app2,app3)
|
16
|
-
}
|
17
|
-
}
|
18
|
-
app1 isa VM {
|
19
|
-
apache isa Apache {
|
20
|
-
modules is ("php", "php-mysql")
|
21
|
-
}
|
22
|
-
wp isa WordpressWeb {
|
23
|
-
database is vmdb.wp
|
24
|
-
}
|
25
|
-
}
|
26
|
-
app2 extends app1
|
27
|
-
app3 extends app1
|
28
|
-
db isa VM {
|
29
|
-
mysql isa Mysql
|
30
|
-
wp isa WordpressDB
|
31
|
-
}
|
32
|
-
global {
|
33
|
-
if lb.apache.running is true then {
|
34
|
-
app1.apache.running is true
|
35
|
-
app2.apache.running is true
|
36
|
-
app3.apache.running is true
|
37
|
-
}
|
38
|
-
if app1.apache.running is true then db.mysql.running is true
|
39
|
-
if app2.apache.running is true then db.mysql.running is true
|
40
|
-
if app3.apache.running is true then db.mysql.running is true
|
41
|
-
}
|