-
Notifications
You must be signed in to change notification settings - Fork 48
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 forcing of os/dist for repository install #32
Conversation
Sometimes it is very useful to be able to force an specific os platform. This commit enables the end user to force, here a couple examples: ``` packagecloud_repo "computology/packagecloud-cookbook-test-public" do type "deb" force_os "ubuntu" end packagecloud_repo "computology/packagecloud-test-packages" do type "rpm" force_os "rhel" end ``` Idea from sous-chefs#31
566ff63
to
777f4ea
Compare
This commit enables the end user to force the os distribution to configure. ``` packagecloud_repo 'computology/packagecloud-cookbook-test-public' do type 'rpm' force_dist '6.5' end ``` Closes sous-chefs#31
@capotej Any thoughts on this? 😄 |
Looks great! Although I think a I'll merge as soon as our test suite finishes running |
@capotej |
Oops! Must have missed it :) Merging as soon as tests pass (almost done) |
Allow forcing of os/dist for repository install
Thanks @afiune! |
@capotej Thank you for the review/merge. May I ask when the cookbook could be released to supermarket? 😄 I have to make two more changes and I would love to make them today if possible. Anything I can help with? |
Just pushed it up 👍 |
That is terrific!!! thank you so much. 😄 |
No problem, thanks for the patch! |
The `imeyer/runit` packagecloud repo does not have the ability to resolve packages for OEL systems. By consuming [PR#32](sous-chefs/packagecloud#32) this commit enables `runit` cookbook to be able to install in OEL systems by forcing the os platform to be `rhel` since that is the base and packages should work the same way. Pointing to packagecloud repo (master) in github since there is where the new code for forcing exist. (Need to release it to Supermarket)
The `imeyer/runit` packagecloud repo does not have the ability to resolve packages for OEL systems. By consuming [PR#32](sous-chefs/packagecloud#32) this commit enables `runit` cookbook to be able to install in OEL systems by forcing the os platform to be `rhel` since that is the base and packages should work the same way. Pointing to packagecloud repo (master) in github since there is where the new code for forcing exist. (Need to release it to Supermarket)
The `imeyer/runit` packagecloud repo does not have the ability to resolve packages for OEL systems. By consuming [PR#32](sous-chefs/packagecloud#32) this commit enables `runit` cookbook to be able to install in OEL systems by forcing the os platform to be `rhel` since that is the base and packages should work the same way. Pointing to packagecloud repo (master) in github since there is where the new code for forcing exist. (Need to release it to Supermarket)
The `imeyer/runit` packagecloud repo does not have the ability to resolve packages for OEL systems. By consuming [PR#32](sous-chefs/packagecloud#32) this commit enables `runit` cookbook to be able to install in OEL systems by forcing the os platform to be `rhel` since that is the base and packages should work the same way. Pointing to packagecloud repo (master) in github since there is where the new code for forcing exist. (Need to release it to Supermarket)
There are two PR's that enables Delivery to work with OEL systems, one of them is against packagecloud cookbook and it has already been merged. sous-chefs/packagecloud#32 The other one though is still pending. It is to runit but it is working fine. chef-cookbooks/runit#164 Until we get this merged we will point to this repo that has the improvement. https://github.com/afiune/runit/tree/afiune/make-it-work-in-oel
The `imeyer/runit` packagecloud repo does not have the ability to resolve packages for OEL systems. By consuming [PR#32](sous-chefs/packagecloud#32) this commit enables `runit` cookbook to be able to install in OEL systems by forcing the os platform to be `rhel` since that is the base and packages should work the same way. Pointing to packagecloud repo (master) in github since there is where the new code for forcing exist. (Need to release it to Supermarket)
Sometimes it is very useful to be able to force an specific os platform or even the distribution.
This commit enables the end user to be able to force it, here a couple examples: