Permalink
Browse files

Added postgres

  • Loading branch information...
edavis10 committed Dec 24, 2009
1 parent 9041f60 commit 469a5fe279749d857b223a21142fe57a643265ba
Showing with 18 additions and 0 deletions.
  1. +5 −0 desktop_manifest.rb
  2. +13 −0 lib/postgres_puppet.rb
View
@@ -25,6 +25,11 @@ class DesktopManifest < ShadowPuppet::Manifest
recipe :mysql_client
recipe :mysql_server
+ include PostgresPuppet
+ recipe :postgres_client
+ recipe :postgres_gui
+ recipe :postgres_server
+
include X11Puppet
recipe :xbindkeys
recipe :wmii
View
@@ -0,0 +1,13 @@
+module PostgresPuppet
+ def postgres_client
+ package 'postgresql-client-8.4', :ensure => :latest
+ end
+
+ def postgres_server
+ package 'postgresql-8.4', :ensure => :latest
+ end
+
+ def postgres_gui
+ package 'pgadmin3', :ensure => :latest
+ end
+end

0 comments on commit 469a5fe

Please sign in to comment.