Skip to content

Instantly share code, notes, and snippets.

@benhoskings
Last active December 18, 2015 08:39
Show Gist options
  • Save benhoskings/5756174 to your computer and use it in GitHub Desktop.
Save benhoskings/5756174 to your computer and use it in GitHub Desktop.
dep 'toolbelt' do
requires [
'less.bin',
'curl.bin',
'bzip2.bin',
'patch.bin',
'htop.bin',
'atop.bin',
'python.bin',
'lsof.bin',
'bash-completion.lib',
'logwatch.bin',
'mailutils.bin',
'psmisc.lib',
'lsb-release.bin'
]
end
# For these, the installs and provides both match the dep name, so they
# can be ommitted. Also, the '.bin' in the name sets the template, so
# there's no need for the :template option.
dep 'less.bin'
dep 'curl.bin'
dep 'bzip2.bin'
dep 'patch.bin'
dep 'htop.bin'
dep 'atop.bin'
dep 'python.bin'
dep 'lsof.bin'
dep 'logwatch.bin'
# These don't provide a binary, so should use 'lib' instead -- if provides
# is empty, babushka has no binary to check for.
dep 'bash-completion.lib'
dep 'psmisc.lib'
# For these two, you've got a custom provides, but installs can still be
# inferred from the dep name.
dep 'mailutils.bin' do
provides 'mail.mailutils'
end
dep 'lsb-release.bin' do
provides 'lsb_release'
end
@sebastiandeutsch
Copy link

Thanks for the refactoring :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment