Skip to content

Commit

Permalink
Added Apache config
Browse files Browse the repository at this point in the history
  • Loading branch information
edavis10 committed Dec 24, 2009
1 parent 4a4557c commit c18ce58
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 0 additions & 1 deletion Readme.md
Expand Up @@ -4,7 +4,6 @@ Missing items
* Desktop config
* Office utilities
* unix tools (e.g. screen)
* Apache
* Passenger
* Google Chrome
* Firefox
Expand Down
4 changes: 4 additions & 0 deletions desktop_manifest.rb
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions 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

0 comments on commit c18ce58

Please sign in to comment.