Skip to content

Commit a3985da

Browse files
committed
ncm-nagios: Remove lint from pan templates
1 parent 36de8bd commit a3985da

File tree

1 file changed

+11
-11
lines changed
  • ncm-nagios/src/main/pan/components/nagios

1 file changed

+11
-11
lines changed

ncm-nagios/src/main/pan/components/nagios/schema.pan

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ include 'pan/types';
1111
# validation code easier. If you want hosts to inherit settings then use
1212
# Pan statements like create ("...") or value ("...")
1313

14-
type nagios_hoststring = string with exists ("/software/components/nagios/hosts/" + SELF) || SELF=="*";
14+
type nagios_hoststring = string with exists("/software/components/nagios/hosts/" + SELF) || SELF == "*";
1515

16-
type nagios_hostgroupstring = string with exists ("/software/components/nagios/hostgroups/" + SELF) || SELF=="*";
16+
type nagios_hostgroupstring = string with exists("/software/components/nagios/hostgroups/" + SELF) || SELF == "*";
1717

18-
type nagios_commandstrings = string [] with exists ("/software/components/nagios/commands/" + SELF[0]);
18+
type nagios_commandstrings = string [] with exists("/software/components/nagios/commands/" + SELF[0]);
1919

20-
type nagios_timeperiodstring = string with exists ("/software/components/nagios/timeperiods/" + SELF) || SELF=="*";
20+
type nagios_timeperiodstring = string with exists("/software/components/nagios/timeperiods/" + SELF) || SELF == "*";
2121

22-
type nagios_contactgroupstring = string with exists ("/software/components/nagios/contactgroups/" + SELF) || SELF=="*";
22+
type nagios_contactgroupstring = string with exists("/software/components/nagios/contactgroups/" + SELF) || SELF == "*";
2323

24-
type nagios_contactstring = string with exists ("/software/components/nagios/contacts/" + SELF) || SELF=="*";
24+
type nagios_contactstring = string with exists("/software/components/nagios/contacts/" + SELF) || SELF == "*";
2525

26-
type nagios_servicegroupstring = string with exists ("/software/components/nagios/servicegroups/" + SELF) || SELF=="*";
26+
type nagios_servicegroupstring = string with exists("/software/components/nagios/servicegroups/" + SELF) || SELF == "*";
2727

28-
type nagios_servicestring = string with exists ("/software/components/nagios/services/" + SELF) || SELF=="*";
28+
type nagios_servicestring = string with exists("/software/components/nagios/services/" + SELF) || SELF == "*";
2929

3030
type nagios_service_notification_string = string with match (SELF, "^(w|u|c|r|f)$");
3131
type nagios_host_notification_string = string with match (SELF, "^(d|u|r|f)$");
@@ -144,7 +144,7 @@ type structure_nagios_service = {
144144
"register" : boolean = true
145145
"failure_prediction_enabled" ? boolean
146146
"action_url" ? string
147-
} with nagios_has_host_or_hostgroup (SELF);;
147+
} with nagios_has_host_or_hostgroup (SELF);
148148

149149
# Servicegroup definition:
150150
type structure_nagios_servicegroup = {
@@ -168,7 +168,7 @@ type structure_nagios_servicedependency = {
168168
"execution_failure_criteria" ? nagios_execution_failure_string []
169169
"notification_failure_criteria" ? nagios_notification_failure_string []
170170
"dependency_period" ? nagios_timeperiodstring
171-
} with nagios_has_host_or_hostgroup (SELF);;
171+
} with nagios_has_host_or_hostgroup (SELF);
172172

173173
# Contact definition
174174
type structure_nagios_contact = {
@@ -378,7 +378,7 @@ type structure_nagios_nagios_cfg = {
378378
"ocsp_command" ? string
379379
};
380380

381-
type structure_nagios_service_list=structure_nagios_service[];
381+
type structure_nagios_service_list = structure_nagios_service[];
382382

383383
# Everything that can be handled by this component
384384
type structure_component_nagios = {

0 commit comments

Comments
 (0)