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

Support to install specific patch version #95

Open
vchung-nz opened this issue Mar 15, 2017 · 3 comments
Open

Support to install specific patch version #95

vchung-nz opened this issue Mar 15, 2017 · 3 comments

Comments

@vchung-nz
Copy link
Contributor

Is there any interest in adding an optional attribute to "pin" the client / server to a specific version? Something like this for client_install.rb

include_recipe 'gluster::repository' unless node['gluster']['repo'] == 'private'

# Install the client package
package node['gluster']['client']['package'] do
  version node['gluster']['client']['version']
end
@vchung-nz vchung-nz changed the title Support for install specific version Support to install specific version? Mar 15, 2017
@shortdudey123
Copy link
Owner

Right now the version is already pinned to a minor version, but does not go so far as to pin patch versions

You can use node['gluster']['version'], but you would also need to modify the repo recipe since it assumes the latest patch version as well as server_install

@shortdudey123 shortdudey123 changed the title Support to install specific version? Support to install specific patch version Mar 15, 2017
@vchung-nz
Copy link
Contributor Author

Yes, but node['gluster']['version'] is only apply if using public repo. There is no control within the package resource if using a private repo, hence the suggested edit.
But I am not sure how often people run into that problem 😄

@shortdudey123
Copy link
Owner

Correct

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

No branches or pull requests

2 participants