Sha256: 84a7b8bc40fe889be41c6908018d431f7e4bcfe880abcd39e4b49fc8854e4434

Contents?: true

Size: 1.4 KB

Versions: 4

Compression:

Stored size: 1.4 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
	}
	in_cloud is proxy.epcc
}
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.epcc
}
vm3x extends vm2x {
	wp_web isa WordpressWeb {
		installed is true
		http is vm3x.apache
		database is vm10x.wp_db
	}
}
vm4x extends vm2x {
	wp_web isa WordpressWeb {
		installed is true
		http is vm4x.apache
		database is vm10x.wp_db
	}
}
vm5x extends vm2x {
	wp_web isa WordpressWeb {
		installed is true
		http is vm5x.apache
		database is vm10x.wp_db
	}
}
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.epcc
}

global {
	if vm1x.apache.running = true then {
		vm2x.apache.running = true
		vm3x.apache.running = true
		vm4x.apache.running = true
		vm5x.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
}

Version data entries

4 entries across 4 versions & 1 rubygems

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