Skip to content

Commit 27b25a3

Browse files
jps-helpbastelfreak
authored andcommitted
Update manifests/setting.pp
Simplify apt::setting logic Co-authored-by: Tim Meusel <[email protected]>
1 parent 6f66c98 commit 27b25a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/setting.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
}
5252
}
5353

54-
if ($setting_type == 'list') or ($setting_type == 'pref') or ($setting_type == 'sources') {
54+
if $setting_type in ['list', 'pref', 'sources'] {
5555
$_priority = ''
5656
} else {
5757
$_priority = $priority

0 commit comments

Comments
 (0)