caterer 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
data/lib/caterer/version.rb
CHANGED
@@ -81,7 +81,37 @@ install_curl() {
|
|
81
81
|
esac
|
82
82
|
}
|
83
83
|
|
84
|
+
install_rsync() {
|
85
|
+
echo "installing rsync..."
|
86
|
+
case "$(detect_platform)" in
|
87
|
+
"ubuntu" )
|
88
|
+
apt-get -y --force-yes install rsync
|
89
|
+
;;
|
90
|
+
"debian" )
|
91
|
+
apt-get -y --force-yes install rsync
|
92
|
+
;;
|
93
|
+
"el" )
|
94
|
+
yum -y install rsync
|
95
|
+
;;
|
96
|
+
"fedora" )
|
97
|
+
yum -y install rsync
|
98
|
+
;;
|
99
|
+
"suse" )
|
100
|
+
yast -i rsync
|
101
|
+
;;
|
102
|
+
"sles" )
|
103
|
+
yast -i rsync
|
104
|
+
;;
|
105
|
+
*)
|
106
|
+
echo "sorry, I don't have a bootstrap for this platform"
|
107
|
+
exit 1
|
108
|
+
;;
|
109
|
+
esac
|
110
|
+
}
|
111
|
+
|
84
112
|
exists curl || install_curl
|
85
113
|
|
114
|
+
exists rsync || install_rsync
|
115
|
+
|
86
116
|
# install chef-solo
|
87
117
|
exists chef-solo || curl -L https://www.opscode.com/chef/install.sh | bash
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caterer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: log4r
|