Skip to content

Instantly share code, notes, and snippets.

@poppen
Last active November 21, 2016 02:49
Show Gist options
  • Save poppen/5508fec8c786fe55cc1d5c795ac22eb4 to your computer and use it in GitHub Desktop.
Save poppen/5508fec8c786fe55cc1d5c795ac22eb4 to your computer and use it in GitHub Desktop.
kernel = command('uname -r').stdout.chop!
describe package("linux-image-extra-#{kernel}") do
it { should be_installed }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment