Sha256: e6456a2645afba3cc8d6122f2ff83394a900da160f0247b586fcd07654370b1b

Contents?: true

Size: 678 Bytes

Versions: 4

Compression:

Stored size: 678 Bytes

Contents

include "../modules/node/node.sfp"
include "../modules/apache/apache.sfp"
include "../modules/mysql/mysql.sfp"

hpvm6 isa Node {
	sfpAddress = "hpvm6.diy.inf.ed.ac.uk"
	mysql isa Mysql {
		running = true
		//root_password = "mysql"
		//public = true
		//installed = false
	}
}

hpvm7 isa Node {
	sfpAddress is "hpvm7.diy.inf.ed.ac.uk"

	apache isa Apache {
		//installed = false
		running = true
		//php_module = false
		//php_mysql_module = false
		//version = "2.2.22-1ubuntu1."

		is_load_balancer = true
		lb_method = "bytraffic"
		lb_members = ( hpvm6 )
	}
}

global {
	if hpvm7.apache.running then hpvm6.mysql.running
	//if hpvm6.mysql.running then hpvm7.apache.running
}

Version data entries

4 entries across 4 versions & 1 rubygems

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