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

Installing specific version of python #544

Open
nibbles83 opened this issue Apr 7, 2020 · 0 comments
Open

Installing specific version of python #544

nibbles83 opened this issue Apr 7, 2020 · 0 comments

Comments

@nibbles83
Copy link

nibbles83 commented Apr 7, 2020

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.14
  • Ruby: 2.5.1
  • Distribution: Puppet Server - Ubuntu 18.04, Puppet Node - Amazon Linux 2
  • Module version: 4.0.0

How to reproduce (e.g Puppet code you use)

Simply set the version to a specific yum package in the form name-epoch:ver-rel.arch (3-0:3.7.4-1.amzn2.0.4.x86_64)

What are you seeing

If i check my configured repository if have the following python3 versions available.

repoquery --show-duplicates python3
python3-0:3.7.4-1.amzn2.0.3.i686
python3-0:3.7.4-1.amzn2.0.3.x86_64
python3-0:3.7.4-1.amzn2.0.4.i686
python3-0:3.7.4-1.amzn2.0.4.x86_64
python3-0:3.7.6-1.amzn2.0.1.i686
python3-0:3.7.6-1.amzn2.0.1.x86_64

Locally running "yum install python3-0:3.7.4-1.amzn2.0.4.x86_64" installs the version i specify.

However when using the version parameter of this puppet module it only supports the first number of the version string.

So if configure a version parameter of
3-0:3.7.4-1.amzn2.0.4.x86_64
It simply reads the "3" at the start and ignores everything else.
Therefore the actual package installed by yum is just python3

What behaviour did you expect instead

Ability to support package versions other than default repo latest versions.

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

No branches or pull requests

1 participant