Skip to content

Instantly share code, notes, and snippets.

@roidrage
Created February 25, 2013 17:50
Show Gist options
  • Select an option

  • Save roidrage/5031746 to your computer and use it in GitHub Desktop.

Select an option

Save roidrage/5031746 to your computer and use it in GitHub Desktop.
if EasyBib.is_aws?
default[:aws] = true
else
default[:scalarium] = true
end
module EasyBib
def is_aws?
# code
end
extend self
end
class ::Chef::Recipe
include EasyBib
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment