{% set bootstrap = salt['grains.filter_by']({

    'Ubuntu-12.04': {
       'upgrade_grub': True,
       'grub_install_device': '/dev/sda',
       'kernel': {
         'meta_package': 'linux-generic-lts-trusty',
         'version': '3.13.0.43.37'
       }
    },

    'Ubuntu-14.04': {
       'upgrade_grub': True,
       'grub_install_device': '/dev/sda',
       'kernel': {
         'meta_package': 'linux-generic',
         'version': '3.13.0.43.50'
       }
    },

    'Unknown': {
       'upgrade_grub': False,
       'kernel': {
         'version': None
       }
    }

}, grain='osfinger', merge=salt['pillar.get']('bootstrap',{}), default='Unknown') %}


{% set bootstrap = salt['grains.filter_by']({

    'Ubuntu-12.04': {
       'upgrade_grub': True,
       'grub_install_device': '/dev/sda',
       'kernel': {
         'meta_package': 'linux-image-generic-lts-trusty',
         'version': '3.13.0.55.48'
       }
    },

    'Ubuntu-14.04': {
       'upgrade_grub': True,
       'grub_install_device': '/dev/sda',
       'kernel': {
         'meta_package': 'linux-image-generic',
         'version': '3.13.0.55.62'
       }
    },

    'Unknown': {
       'upgrade_grub': False,
       'kernel': {
         'version': None
       }
    }

}, grain='osfinger', merge=salt['pillar.get']('bootstrap',{}), default='Unknown') %}


Update the versions of the kernels we upgrade to.
Update the versions of the kernels we upgrade to.

The old versions of the kernels have been removed from the repo as it appears Ubuntu’s policy is to remove old versions of a package if there is a more recent security update.
