Ubuntu: More strictly validate repos

The repos parameter accepts only updates or proposed. Enforce this
requirement by typing the parameter.

Change-Id: Ibc799d5bda8a42db15200521a83113416c1ba03c
This commit is contained in:
Takashi Kajinami 2024-07-10 23:21:07 +09:00
parent adcaf171c2
commit e9bc4eec41

View File

@ -44,7 +44,7 @@
class openstack_extras::repo::debian::ubuntu(
String[1] $release = 'caracal',
Boolean $manage_uca = true,
String[1] $repo = 'updates',
Enum['updates', 'proposed'] $repo = 'updates',
Hash $source_hash = {},
Hash $source_defaults = {},
Boolean $package_require = false,