obbistrano 1.0.86 → 1.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/obbistrano_tasks.rb +7 -2
- data/obbistrano.gemspec +1 -1
- metadata +1 -1
data/lib/obbistrano_tasks.rb
CHANGED
|
@@ -412,8 +412,13 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
412
412
|
|
|
413
413
|
task :detect_os do
|
|
414
414
|
with_user("root", "#{root_pass}") do
|
|
415
|
-
|
|
416
|
-
|
|
415
|
+
begin
|
|
416
|
+
run "cat /etc/fedora_release"
|
|
417
|
+
server_type="fedora"
|
|
418
|
+
rescue
|
|
419
|
+
run "cat /etc/debian_version"
|
|
420
|
+
server_type="ubuntu"
|
|
421
|
+
end
|
|
417
422
|
end
|
|
418
423
|
|
|
419
424
|
end
|
data/obbistrano.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{obbistrano}
|
|
5
|
-
s.version = "1.0.
|
|
5
|
+
s.version = "1.0.87"
|
|
6
6
|
s.authors = ["Ross Riley", "One Black Bear"]
|
|
7
7
|
s.date = Time.now
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|