Created
November 20, 2009 08:11
-
-
Save htanata/239354 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Chef recipe to install mod_xsendfile to Ubuntu i386. | |
| MOD_XSENDFILE_SOURCE_DIR = '/home/railsapp/mod_xsendfile' | |
| PACKAGE_FILE = 'libapache2-mod-xsendfile_0.9-ppa1_i386.deb' | |
| MOD_XSENDFILE_SOURCE = "#{MOD_XSENDFILE_SOURCE_DIR}/#{PACKAGE_FILE}" | |
| directory MOD_XSENDFILE_SOURCE_DIR do | |
| recursive true | |
| end | |
| remote_file MOD_XSENDFILE_SOURCE do | |
| source PACKAGE_FILE | |
| end | |
| dpkg_package PACKAGE_FILE do | |
| source MOD_XSENDFILE_SOURCE | |
| end | |
| apache_module 'xsendfile' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment