Skip to content

Commit

Permalink
Update manifests/setting.pp
Browse files Browse the repository at this point in the history
Simplify apt::setting logic

Co-authored-by: Tim Meusel <[email protected]>
  • Loading branch information
2 people authored and jamesps-ebi committed Nov 20, 2024
1 parent f4a1cd9 commit 8dcb847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/setting.pp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
}

if ($setting_type == 'list') or ($setting_type == 'pref') or ($setting_type == 'sources') {
if $setting_type in ['list', 'pref', 'sources'] {
$_priority = ''
} else {
$_priority = $priority
Expand Down

0 comments on commit 8dcb847

Please sign in to comment.