Skip to content

Commit e49d872

Browse files
author
Neil Anderson
committed
Fixing lint
1 parent 8b2e7eb commit e49d872

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

functions/pe_db_names.pp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,22 @@ function peadm::pe_db_names (
88
'pe-orchestrator',
99
'pe-rbac',
1010
]
11+
12+
$pe_2025_or_later = SemVerRange('>= 2025.0.0')
13+
$pe_2023_8_or_later = SemVerRange('>= 2023.8.0')
14+
1115
case $pe_ver {
1216
# The patching service was added in 2025.0.0
13-
SemVerRange('>= 2025.0.0'): {
17+
$pe_2025_or_later: {
1418
$original_db_names + [
1519
'pe-hac',
1620
'pe-patching',
1721
]
1822
}
1923

2024
# The host-action-collector (hac) was added in 2023.8
21-
SemVerRange('>= 2023.8.0'): {
22-
$original_db_names + [ 'pe-hac' ]
25+
$pe_2023_8_or_later: {
26+
$original_db_names + ['pe-hac']
2327
}
2428

2529
default: {

0 commit comments

Comments
 (0)