You are here

public function hostingService::context_options in Hostmaster (Aegir) 6

6 calls to hostingService::context_options()
hostingService_db_mysql::context_options in modules/hosting/db_server/hosting_db_server.service.inc
hostingService_dns_master::context_options in modules/hosting/dns/hosting_dns.service.inc
hostingService_example_basic::context_options in modules/hosting/example/hosting_example.service.inc
Pass values to the provision backend when we call provision-save.
hostingService_http_cluster::context_options in modules/hosting/web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::context_options in modules/hosting/web_pack/hosting_web_pack.service.inc

... See full list

6 methods override hostingService::context_options()
hostingService_db_mysql::context_options in modules/hosting/db_server/hosting_db_server.service.inc
hostingService_dns_master::context_options in modules/hosting/dns/hosting_dns.service.inc
hostingService_example_basic::context_options in modules/hosting/example/hosting_example.service.inc
Pass values to the provision backend when we call provision-save.
hostingService_http_cluster::context_options in modules/hosting/web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::context_options in modules/hosting/web_pack/hosting_web_pack.service.inc

... See full list

File

modules/hosting/server/hosting_server.service.inc, line 141

Class

hostingService

Code

public function context_options($task_type, $ref_type, &$task) {
  $task->context_options[$this->service . '_service_type'] = $this->type;
  if ($this->has_restart_cmd) {
    $task->context_options[$this->service . '_restart_cmd'] = $this->restart_cmd;
  }
  if ($this->has_port) {
    $task->context_options[$this->service . '_port'] = $this->port;
  }
}