blob: 2ff7a6c5ff02dd27fcede95b0eaa6028c3e75d66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
default["apache"]["remote_host_ip"] = "127.0.0.1"
default["webapp"]["database"] = "webapp"
default["webapp"]["db_username"] = "webapp"
default["webapp"]["path"] = "/srv/webapp"
# XXX: apache2 cookbook 2.0.0 has bugs around changing the mpm and then attempting a graceful restart
# which fails and leaves the service down.
case node["platform"]
when "ubuntu"
if node["platform_version"].to_f >= 14.04
default[:apache][:mpm] = "event"
end
end
|