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

Allow floating versions #7

Closed
axos88 opened this issue Apr 26, 2017 · 3 comments
Closed

Allow floating versions #7

axos88 opened this issue Apr 26, 2017 · 3 comments
Labels
Type: Enhancement Adds new functionality.

Comments

@axos88
Copy link

axos88 commented Apr 26, 2017

Cookbook version

:latest

Chef-client version

12.19.36

Platform Details

N/A

Scenario:

Allow version specification such as "<13.0.0", or "~>12.19" etc.

Expected Result:

Available versions should be match using the known ruby version rules, and the latest version that matches installed.

@iennae iennae added the Type: Enhancement Adds new functionality. label May 2, 2017
@tas50 tas50 added Type: Enhancement Adds new functionality. and removed Type: Enhancement Adds new functionality. labels May 11, 2017
@mitom
Copy link

mitom commented May 18, 2017

Currently you can specify a version like '12' which will try to install the latest of version 12 the way the omnibus installer works. This will either send chef into a loop where it will keep triggering a new chef client run, which will trigger another update that triggers another chef client run and so on if the post action is exec, or it will keep killing the chef run every single time if it's set to kill as it seems unable to detect that it's on the right version already.

Rarian added a commit to Rarian/chef_client_updater that referenced this issue May 25, 2017
This allows the option of specifying a constrained version using the
standard constraint syntax [1].

[1] https://docs.chef.io/cookbook_versions.html

Resolves chef-cookbooks#7
Rarian added a commit to Rarian/chef_client_updater that referenced this issue May 25, 2017
This allows the option of specifying a constrained version using the
standard constraint syntax [1].

[1] https://docs.chef.io/cookbook_versions.html

Resolves chef-cookbooks#7

Signed-off-by: Andy Wagner <andy@andywagner.ca>
Rarian added a commit to Rarian/chef_client_updater that referenced this issue May 25, 2017
This allows the option of specifying a constrained version using the
standard constraint syntax [1].

[1] https://docs.chef.io/cookbook_versions.html

Resolves chef-cookbooks#7

Signed-off-by: Andy Wagner <andy@andywagner.ca>
@lamont-granquist
Copy link
Contributor

closing in favor of #17

@lamont-granquist
Copy link
Contributor

infinite loop fixed in #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Adds new functionality.
Projects
None yet
Development

No branches or pull requests

5 participants