Commit 66f1aaa0 authored by anarcat's avatar anarcat

also sync configs to slave server, which means we *can't* mount /var/aegir as a whole anymore

parent a2bcd849
...@@ -51,14 +51,17 @@ class Provision_Service_http_pack extends Provision_Service_http { ...@@ -51,14 +51,17 @@ class Provision_Service_http_pack extends Provision_Service_http {
function parse_configs() { function parse_configs() {
$this->_each_server($this->server->master_web_servers, __FUNCTION__); $this->_each_server($this->server->master_web_servers, __FUNCTION__);
$this->_each_server($this->server->slave_web_servers, __FUNCTION__);
} }
function create_config($config) { function create_config($config) {
$this->_each_server($this->server->master_web_servers, __FUNCTION__); $this->_each_server($this->server->master_web_servers, __FUNCTION__);
$this->_each_server($this->server->slave_web_servers, __FUNCTION__);
} }
function delete_config($config) { function delete_config($config) {
$this->_each_server($this->server->master_web_servers, __FUNCTION__); $this->_each_server($this->server->master_web_servers, __FUNCTION__);
$this->_each_server($this->server->slave_web_servers, __FUNCTION__);
} }
function restart() { function restart() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment