Skip to content

Instantly share code, notes, and snippets.

@jashmenn
Created May 1, 2009 17:03
Show Gist options
  • Save jashmenn/105134 to your computer and use it in GitHub Desktop.
Save jashmenn/105134 to your computer and use it in GitHub Desktop.
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