parent
7fc0da6e21
commit
37f3d1a3e8
|
@ -130,6 +130,16 @@ class SettingsForm extends QuickForm
|
||||||
),
|
),
|
||||||
'value' => $settings->getStoredValue('deployment_path_v1')
|
'value' => $settings->getStoredValue('deployment_path_v1')
|
||||||
));
|
));
|
||||||
|
|
||||||
|
$this->addElement('text', 'activation_script_v1', array(
|
||||||
|
'label' => $this->translate('Activation Tool'),
|
||||||
|
'description' => $this->translate(
|
||||||
|
'Script or tool to call when activating a new configuration stage.'
|
||||||
|
. ' (e.g. sudo /usr/local/bin/icinga-director-activate)'
|
||||||
|
. ' (name of the stage will be the argument for the script)'
|
||||||
|
),
|
||||||
|
'value' => $settings->getStoredValue('activation_script_v1')
|
||||||
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function eventuallyConfiguredEnum($name, $enum)
|
protected function eventuallyConfiguredEnum($name, $enum)
|
||||||
|
|
|
@ -20,6 +20,7 @@ class Settings
|
||||||
'enable_audit_log' => 'n',
|
'enable_audit_log' => 'n',
|
||||||
'deployment_mode_v1' => 'active-passive',
|
'deployment_mode_v1' => 'active-passive',
|
||||||
'deployment_path_v1' => null,
|
'deployment_path_v1' => null,
|
||||||
|
'activation_script_v1' => null,
|
||||||
// 'experimental_features' => null, // 'allow'
|
// 'experimental_features' => null, // 'allow'
|
||||||
// 'master_zone' => null,
|
// 'master_zone' => null,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue