Skip to content

Commit

Permalink
Use just Integer for Epoch
Browse files Browse the repository at this point in the history
  • Loading branch information
traylenator committed May 13, 2020
1 parent 155e0cb commit 16dfe2e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion manifests/versionlock.pp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
Enum['present', 'absent', 'exclude'] $ensure = 'present',
Optional[Yum::RpmVersion] $version = undef,
Yum::RpmRelease $release = '*',
Variant[Yum::RpmEpoch, Enum['*']] $epoch = 0,
Integer[0] $epoch = 0,
Optional[Variant[Yum::RpmArch, Enum['*']]] $arch = undef,
) {
require yum::plugin::versionlock
Expand Down
10 changes: 0 additions & 10 deletions spec/type_aliases/yum_rpmepoch_spec.rb

This file was deleted.

4 changes: 0 additions & 4 deletions types/rpmepoch.pp

This file was deleted.

0 comments on commit 16dfe2e

Please sign in to comment.