Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions quattor/types/component.pan
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ declaration template quattor/types/component;

include 'quattor/functions/validation';

type caf_service_actions = string with choice(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm going to come back on my own remark:
reintroduce the caf_service_action type (and remove ti from metaconfig)
and also introduce the following

type caf_service_actions = {
    daemons ? caf_service_action{}
};

that way we can add support by simply including this type in the schema, rather than copy pasting it everywhere

'restart',
'reload',
'stop_sleep_start',
);

type structure_component_dependency = {
"pre" ? string[] with is_component_list(SELF)
"post" ? string[] with is_component_list(SELF)
Expand Down