Sha256: 2e7a5e5738aec00cb96dc49ac68c14053c12a5f34c3e2a7ce1df58f7566faa90

Contents?: true

Size: 576 Bytes

Versions: 1

Compression:

Stored size: 576 Bytes

Contents

include "service.sfp"

schema Apache extends Service {
	package_name = "apache2"
	service_name = "apache2"
	installed = true
	running = true
	configured = true

	final port = 80
	final document_root = "/var/www"
	final modules isset String
	final server_name = ""

	// load balancer config
	final load_balancer = false
	final lb_members isset Node
	final lb_method = "byrequests"  // byrequests, bytraffic, bybusyness

	sub configure {
		condition {
			this.installed = true
			this.running = false
			this.configured = false
		}
		effect {
			this.configured = true
		}
	}
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nuri-0.5.4 examples/v2/apache.sfp