Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move default version to repo.pp #768

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikhaildudzin
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant