Status updates, SSL updates

This commit is contained in:
Deon George
2013-11-08 22:02:32 +11:00
parent 28ea1ac613
commit 2d9d7f383c
31 changed files with 688 additions and 299 deletions

View File

@@ -12,14 +12,14 @@
class Task_SSL_Renew extends Minion_Task {
protected $_options = array(
'id'=>NULL,
'force'=>FALSE,
);
/**
* Renew a certificate
*/
protected function _execute(array $params) {
// @todo, Change this to be a SSL id, maybe list all the certs expiring
ORM::factory('Service',$params['id'])->plugin()->renew();
ORM::factory('Service',$params['id'])->plugin()->renew($params['force']);
}
}
?>