Sha256: acc97339b53d583d505bbad64c217d254230ac08ec0a6f073d93ebc826b146eb

Contents?: true

Size: 1.8 KB

Versions: 4

Compression:

Stored size: 1.8 KB

Contents

include "../modules/vm/vm.sfp"
include "../modules/apache/apache.sfp"
include "../modules/mysql/mysql.sfp"
include "../modules/wordpresscluster/wordpresscluster.sfp"

vm1x isa VM {
	created = true
	apache isa Apache {
		running is true
		is_load_balancer is true
		//lb_members is ( vm2x )
	}
	in_cloud is proxy.inria
}
vm2x isa VM {
	created = true
	apache isa Apache {
		running is true
	}
	wp_web isa WordpressWeb {
		installed is true
		http is vm2x.apache
		database is vm10x.wp_db
	}
	in_cloud is proxy.inria
}
/*vm3x extends vm2x
vm4x extends vm2x
vm5x extends vm2x
vm6x extends vm2x
vm7x extends vm2x
vm8x extends vm2x
vm9x extends vm2x
vm11x extends vm2x
vm12x extends vm2x*/
vm10x isa VM {
	created = true
	mysql isa Mysql {
		running is true
	}
	wp_db isa WordpressDB {
		installed is true
		mysql is vm10x.mysql
	}
	in_cloud is proxy.inria
}

global {
	if vm1x.apache.running = true then {
		vm2x.apache.running = true
		/*vm3x.apache.running = true
		vm4x.apache.running = true
		vm5x.apache.running = true
		vm6x.apache.running = true
		vm7x.apache.running = true
		vm8x.apache.running = true
		vm9x.apache.running = true
		vm11x.apache.running = true
		vm12x.apache.running = true*/
	}

	if vm2x.apache.running = true then vm10x.mysql.running = true
	/*if vm3x.apache.running = true then vm10x.mysql.running = true
	if vm4x.apache.running = true then vm10x.mysql.running = true
	if vm5x.apache.running = true then vm10x.mysql.running = true
	if vm6x.apache.running = true then vm10x.mysql.running = true
	if vm7x.apache.running = true then vm10x.mysql.running = true
	if vm8x.apache.running = true then vm10x.mysql.running = true
	if vm9x.apache.running = true then vm10x.mysql.running = true
	if vm11x.apache.running = true then vm10x.mysql.running = true
	if vm12x.apache.running = true then vm10x.mysql.running = true*/
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nuri-0.5.4 examples/bonfire/inria.sfp
nuri-0.5.3 examples/bonfire/inria.sfp
nuri-0.5.2 examples/bonfire/inria.sfp
nuri-0.5.1 examples/bonfire/inria.sfp