Sha256: 2f292400ff657b59a106354d789f5e28e877527fb8c97931cb4c06031c10bef2

Contents?: true

Size: 588 Bytes

Versions: 5

Compression:

Stored size: 588 Bytes

Contents

include "../mysql/mysql.sfp"
include "../apache/apache.sfp"

schema Wordpress {
	installed : Bool
	http isref Apache
	database isref Mysql
	db_name = "wordpress"
	db_user = "wordpress"
	db_password = "password"
	path = "/wp"
	source_url = "http://wordpress.org/latest.tar.gz"

	sub install {
		condition {
			this.http.running = true
			this.http.php_module = true
			this.http.php_mysql_module = true
			this.database.running = true
		}
		effect {
			this.installed = true
		}
	}

	sub uninstall {
		condition {
			this.installed = true
		}
		effect {
			this.installed = false
		}
	}
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nuri-0.5.5 modules/wordpress/wordpress.sfp
nuri-0.5.4 modules/wordpress/wordpress.sfp
nuri-0.5.3 modules/wordpress/wordpress.sfp
nuri-0.5.2 modules/wordpress/wordpress.sfp
nuri-0.5.1 modules/wordpress/wordpress.sfp