We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3afa42f commit 2d0765eCopy full SHA for 2d0765e
manifests/globals.pp
@@ -77,7 +77,7 @@
77
Optional[String[1]] $version = undef,
78
Optional[String[1]] $client_version = undef,
79
Boolean $manage_package_repo = true,
80
- String[1] $repo_version = '5.0',
+ Optional[String[1]] $repo_version = undef,
81
Boolean $use_enterprise_repo = false,
82
Optional[String] $repo_location = undef,
83
Optional[String] $keyring_location = undef,
manifests/repo.pp
@@ -38,7 +38,7 @@
38
Optional[String[1]] $proxy_password = undef,
39
) {
40
if $version == undef and $repo_location == undef {
41
- fail('`version` or `repo_location` is required')
+ $version = '5.0'
42
}
43
if $version != undef and $repo_location != undef {
44
fail('`version` is not supported with `repo_location`')
0 commit comments