Permalink
Browse files

Added scm tools

  • Loading branch information...
1 parent e003a19 commit dc1e0d6c1e9dc965e9409b967f365410f911724f @edavis10 committed Dec 22, 2009
Showing with 39 additions and 1 deletion.
  1. +0 −1 Readme.md
  2. +8 −0 desktop_manifest.rb
  3. +31 −0 lib/scm_puppet.rb
View
@@ -3,7 +3,6 @@ Missing items
* Ruby gems
* Desktop config
* Office utilities
-* scm tools
* unix tools (e.g. screen)
* MySQL
* Postgres
View
@@ -22,6 +22,14 @@ class DesktopManifest < ShadowPuppet::Manifest
# Development
include GeneralDevelopmentPuppet
recipe :general_development
+
+ include ScmPuppet
+ recipe :git
+ recipe :svn
+ recipe :mercurial
+ recipe :bzr
+ recipe :cvs
+ recipe :darcs
include RubyPuppet
recipe :ruby
View
@@ -0,0 +1,31 @@
+module ScmPuppet
+ def git
+ package "git-core", :ensure => :latest
+ package "git-gui", :ensure => :latest
+ package "git-svn", :ensure => :latest
+ package "gitk", :ensure => :latest
+ package "qgit", :ensure => :latest
+ end
+
+ def svn
+ package "subversion", :ensure => :latest
+ package "subversion-tools", :ensure => :latest
+ end
+
+ def mercurial
+ package "mercurial", :ensure => :latest
+ end
+
+ def bzr
+ package "bzr", :ensure => :latest
+ package "bzrtools", :ensure => :latest
+ end
+
+ def cvs
+ package "cvs", :ensure => :latest
+ end
+
+ def darcs
+ package "darcs", :ensure => :latest
+ end
+end

0 comments on commit dc1e0d6

Please sign in to comment.