Skip to content

Instantly share code, notes, and snippets.

@rawsyntax
Last active December 19, 2015 10:29
Show Gist options
  • Select an option

  • Save rawsyntax/5940971 to your computer and use it in GitHub Desktop.

Select an option

Save rawsyntax/5940971 to your computer and use it in GitHub Desktop.
def github(name, version, options = nil)
options ||= {}
options[:repo] ||= "boxen/puppet-#{name}"
mod name, version, :github_tarball => options[:repo]
end
github 'nginx', '1.4.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment