Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Apache config

  • Loading branch information...
commit c18ce580551213851df3f9db80dd8273dbc8252e 1 parent 4a4557c
@edavis10 authored
Showing with 13 additions and 1 deletion.
  1. +0 −1  Readme.md
  2. +4 −0 desktop_manifest.rb
  3. +9 −0 lib/apache_puppet.rb
View
1  Readme.md
@@ -4,7 +4,6 @@ Missing items
* Desktop config
* Office utilities
* unix tools (e.g. screen)
-* Apache
* Passenger
* Google Chrome
* Firefox
View
4 desktop_manifest.rb
@@ -30,6 +30,10 @@ class DesktopManifest < ShadowPuppet::Manifest
recipe :postgres_gui
recipe :postgres_server
+ include ApachePuppet
+ recipe :apache
+ recipe :passenger
+
include X11Puppet
recipe :xbindkeys
recipe :wmii
View
9 lib/apache_puppet.rb
@@ -0,0 +1,9 @@
+module ApachePuppet
+ def apache
+ package 'apache2', :ensure => :installed
+
+ service "apache", :require => package('apache2'), :restart => '/etc/init.d/apache restart', :ensure => :running
+
+ end
+
+end
Please sign in to comment.
Something went wrong with that request. Please try again.