[Pkg-puppet-devel] [facter] 56/352: Setup script to install Git on vCloud hosts

Stig Sandbeck Mathisen ssm at debian.org
Sun Apr 6 22:21:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit f43bc1c831ab4fc2f48326ddf328ce1495a9a898
Author: Scott Schneider <sschneider at puppetlabs.com>
Date:   Fri Jul 12 10:03:45 2013 -0700

    Setup script to install Git on vCloud hosts
---
 acceptance/setup/00_install_git.rb | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/acceptance/setup/00_install_git.rb b/acceptance/setup/00_install_git.rb
new file mode 100644
index 0000000..21a3f14
--- /dev/null
+++ b/acceptance/setup/00_install_git.rb
@@ -0,0 +1,13 @@
+test_name "Install Git"
+
+hosts.each do |host|
+  case host['platform']
+  when /el-|fc-/
+    step 'Installing Git'
+    on host, 'yum -y install git'
+  when /debian-|ubuntu-/
+    step 'Installing Git'
+    on host, 'apt-get -y install git-core'
+  else
+  end
+end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list