- 'arch' => $architecture,
- 'trusted' => $allow_unsigned ? { true => 'yes', false => undef },
- 'allow-insecure' => $allow_insecure ? { true => 'yes', false => undef },
- 'signed-by' => $keyring,
+ 'arch' => $architecture,
+ 'trusted' => $allow_unsigned ? { true => 'yes', false => undef },
+ 'allow-insecure' => $allow_insecure ? { true => 'yes', false => undef },
+ 'signed-by' => $keyring,
+ 'check-valid-until' => $check_valid_until? { true => undef, false => 'false' },