Sha256: 0d80c40374b9e51b50f66005434eeb4ab84501334cb80a94c1ab1f52cb047bf1

Contents?: true

Size: 1.33 KB

Versions: 4

Compression:

Stored size: 1.33 KB

Contents

include "../modules/machine/machine.sfp"
include "../modules/bonfire/bonfire.sfp"
include "../modules/vm/vm.sfp"
include "../modules/apache/apache.sfp"
include "../modules/mysql/mysql.sfp"

master isa Machine {
	sfpAddress is "localhost"

	bonfireEPCC isa Bonfire {
		experiment is "autocloud"
		location is "uk-epcc"
		image_name is "BonFIRE Debian Squeeze 10G v5"
		wan_name is "BonFIRE WAN"
	}
	bonfireINRIA isa Bonfire {
		experiment is "autocloud"
		location is "fr-inria"
		image_name is "BonFIRE Debian Squeeze 10G v5"
		wan_name is "BonFIRE WAN"
	}
}

vm1 isa VM {
	created = true
	apache isa Apache {
		running is true
		is_load_balancer is true
	}
	in_cloud is master.bonfireINRIA
}

vm2 isa VM {
	created = true
	apache isa Apache {
		running is true
	}
	in_cloud is master.bonfireINRIA
}

vm3 extends vm2
vm4 extends vm2
vm5 extends vm2

vm7 isa VM {
	created = true
	mysql isa Mysql {
		running is true
	}
	in_cloud is master.bonfireINRIA
}

global {
	if vm1.apache.running = true then {
		vm2.apache.running = true
		vm3.apache.running = true
		vm4.apache.running = true
		vm5.apache.running = true
	}
	if vm2.apache.running = true then vm7.mysql.running = true
	if vm3.apache.running = true then vm7.mysql.running = true
	if vm4.apache.running = true then vm7.mysql.running = true
	if vm5.apache.running = true then vm7.mysql.running = true
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nuri-0.5.4 examples/bonfire/old/bonfire-1-4-1.sfp
nuri-0.5.3 examples/bonfire/old/bonfire-1-4-1.sfp
nuri-0.5.2 examples/bonfire/old/bonfire-1-4-1.sfp
nuri-0.5.1 examples/bonfire/old/bonfire-1-4-1.sfp