Skip to content

Commit b684e0e

Browse files
committed
Ignore repo_version when repo_location is set
1 parent 3d87f73 commit b684e0e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

manifests/repo.pp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@
4040
if $version == undef and $repo_location == undef {
4141
fail('`version` or `repo_location` is required')
4242
}
43-
if $version != undef and $repo_location != undef {
44-
fail('`version` is not supported with `repo_location`')
45-
}
4643
if $version != undef and versioncmp($version, '4.4') < 0 {
4744
fail('Package repositories for versions older than 4.4 are unsupported')
4845
}

0 commit comments

Comments
 (0)