Commit f3115a79 authored by anarcat's avatar anarcat

properly pass configs around

parent 91ce6f17
......@@ -55,13 +55,13 @@ class Provision_Service_http_pack extends Provision_Service_http {
}
function create_config($config) {
$this->_each_server($this->server->master_web_servers, __FUNCTION__);
$this->_each_server($this->server->slave_web_servers, __FUNCTION__);
$this->_each_server($this->server->master_web_servers, __FUNCTION__, array($config));
$this->_each_server($this->server->slave_web_servers, __FUNCTION__, array($config));
}
function delete_config($config) {
$this->_each_server($this->server->master_web_servers, __FUNCTION__);
$this->_each_server($this->server->slave_web_servers, __FUNCTION__);
$this->_each_server($this->server->master_web_servers, __FUNCTION__, array($config));
$this->_each_server($this->server->slave_web_servers, __FUNCTION__, array($config));
}
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