Closed haf closed 10 years ago
BTW -- I don't know how this happened, but one of our Vagrant boxes ended up with Riak 1.3.1
instead of 1.3.0
, despite 1.3.0
being specified for the version... The installation goes exclusively through this Puppet module. If I can figure out what happened, I'll let you know.
It's because the module only installs the package but doesn't give the version parameter to the package installer; hence it will install that latest.
If you don't want the latest it would be a good thing to freeze the version as you wanted to do (but that you wanted to do once to target the latest version), but when that is done, I get the pasted (above) error from yum; so I can't let the package resource get the $version parameter until I can understand why giving it produces the errors.
The reason it gives errors is because of suffix on the semver that are needed for yum, such as "_1.el6", so that the version becomes "1.2.3_1.el6" or similar. That's next up to fix.
Closing thx to @rdark.
When I try this on another puppet module:
for code:
Is this a problem with puppet or am I doing something wrong?