Skip to content

Commit

Permalink
Added mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
edavis10 committed Dec 24, 2009
1 parent 18bb4f7 commit 9041f60
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions desktop_manifest.rb
Expand Up @@ -20,6 +20,10 @@ class DesktopManifest < ShadowPuppet::Manifest
recipe :ssh_client recipe :ssh_client
recipe :ssh_server recipe :ssh_server
recipe :ssh_keychain recipe :ssh_keychain

include MysqlPuppet
recipe :mysql_client
recipe :mysql_server


include X11Puppet include X11Puppet
recipe :xbindkeys recipe :xbindkeys
Expand Down
12 changes: 12 additions & 0 deletions lib/mysql_puppet.rb
@@ -0,0 +1,12 @@
module MysqlPuppet
def mysql_client
package 'libmysqlclient16', :ensure => :latest
package 'libmysqlclient16-dev', :ensure => :latest
package 'mysql-client-5.0', :ensure => :latest
package 'mysql', :provider => :gem, :ensure => :latest
end

def mysql_server
package 'mysql-server-5.0', :ensure => :latest
end
end

0 comments on commit 9041f60

Please sign in to comment.