puppet-mongodb icon indicating copy to clipboard operation
puppet-mongodb copied to clipboard

Move default version to repo.pp

Open mikhaildudzin opened this issue 1 year ago • 0 comments

Pull Request (PR) description

Default version in globals.pp doesn't allow to use repo_location and having repo_location doesn't work at all, because it fails on check, as version is always defined if $version != undef and $repo_location != undef { fail('version' is not supported with 'repo_location') } To fix this I propose to set default version only if both $version and $repo_location are undef.

This Pull Request (PR) fixes the following issues

One can't use repo_location setting

mikhaildudzin avatar Oct 29 '24 14:10 mikhaildudzin