Skip to content

Instantly share code, notes, and snippets.

@jpterry
Created April 28, 2013 00:31
Show Gist options
  • Save jpterry/5475316 to your computer and use it in GitHub Desktop.
Save jpterry/5475316 to your computer and use it in GitHub Desktop.
# Install Nginx from source
node.set['nginx']['init_style'] = 'init'
node.set['nginx']['user'] = 'nginx'
node.set['nginx']['version'] = '1.4.0'
node.set['nginx']['source']['url'] = 'http://nginx.org/download/nginx-1.4.0.tar.gz'
node.set['nginx']['source']['checksum'] = '84aeb7a131fccff036dc80283dd98c989d2844eb84359cfe7c4863475de923a9'
node.set['nginx']['source']['prefix'] = '/opt/nginx'
include_recipe 'nginx::source'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment