Created
May 1, 2009 17:03
-
-
Save jashmenn/105134 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
apache do | |
installed_as_standard | |
enable_php5 do | |
extras :cli, :pspell, :mysql | |
end | |
config("store", ::File.join(File.dirname(__FILE__), "templates/apache", "store.conf.erb")) | |
has_custom_store do | |
name "my_store.com" | |
end | |
has_file({:name => "/etc/apache2/htpasswd",¡ | |
:template => File.dirname(__FILE__) + "/templates/apache/htpasswd", | |
:owner => "www-data", | |
:group => "www-data", | |
:mode => 660}) | |
present_apache_module("speling") | |
has_file({:name => "/etc/apache2/mods-enabled/speling.conf",¡ | |
:content => "CheckSpelling On", | |
:owner => "www-data", | |
:group => "www-data", | |
:mode => 660}) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment