Fix gem-based bootstrap on Ubuntu 14.04 and up#454
Fix gem-based bootstrap on Ubuntu 14.04 and up#454leonid-shevtsov wants to merge 1 commit intomatschaffer:masterfrom
Conversation
…led in bootstrap for Debian [Fixes matschaffer#373]
|
What led to the check code? If it's something we really need I'd rather see it consistently across all installation strategies rather than just a feature for the debianoid_gem_install. Pretty sure we have a helper in the project somewhere that also does this (i.e., runs a command fails the whole knife command if the command fails). |
|
Oh I think I was wrong on the helper. Must have been thinking of something else. Anyway, I'd like to have any checking code be consistent across more that just one strategy if you think it's worth including. Also knife-solo/lib/chef/knife/solo_cook.rb Line 315 in 6f7ae02 |
|
Maybe the |
|
It will at least need some way to allow failures since I'm pretty sure it's the same function that's used to do things like check for presence of sudo, ver, etc. |
Fixes #373 - I was setting up another machine and finally took the time to fix the script.
libopenssl-rubyandlibopenssl-ruby1.9are both virtual packages, meaning they don't contain any files, and only instruct apt to installlibruby, which is the real package. And, unlike the virtual packages, it has available on both older and newer (>14.04) systems.I've also added a check that the package installation had succeeded.