Allow pinning kernel versions to work around hardware / driver issues
authorMatt Amos <zerebubuth@gmail.com>
Thu, 27 Aug 2015 18:29:59 +0000 (19:29 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 27 Aug 2015 18:29:59 +0000 (19:29 +0100)
commitd1be18e9426db54d3cf367855ee95fd8ed117e3b
treebc09a8c7ccf2f53041d659161285198ac9cba9bb
parent3c54ec033cbaa0e1cb58c7157c5741d857e36613
Allow pinning kernel versions to work around hardware / driver issues

Sometimes hardware issues or driver issues are fixed or broken in
specific kernel versions, so it's handy to be able to pin the
version to a known-working one while the problem is sorted out or
a proper fix is found.

This does this by ensuring that the particular kernel version package
is installed and that the grub configuration boots that as the default.

For context, see https://github.com/openstreetmap/operations/issues/45
cookbooks/hardware/attributes/default.rb
cookbooks/hardware/recipes/default.rb
cookbooks/hardware/templates/default/grub.erb
roles/pummelzacken.rb