obbistrano 1.1.53 → 1.1.54
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/obbistrano_tasks.rb +7 -2
- data/obbistrano.gemspec +1 -1
- metadata +3 -3
data/lib/obbistrano_tasks.rb
CHANGED
@@ -340,7 +340,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
340
340
|
end
|
341
341
|
|
342
342
|
desc "Detects what flavour of linux is being used"
|
343
|
-
task :detect_os :roles =>[:host] do
|
343
|
+
task :detect_os, :roles =>[:host] do
|
344
344
|
begin
|
345
345
|
run "cat /etc/fedora-release"
|
346
346
|
set :os_ver, "fedora"
|
@@ -351,7 +351,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
351
351
|
puts "*** Operating System could not be detected or is not supported" if !defined? "#{os_ver}"
|
352
352
|
exit if !defined? "#{os_ver}"
|
353
353
|
end
|
354
|
-
|
354
|
+
"#{os_ver}".test
|
355
355
|
end
|
356
356
|
|
357
357
|
|
@@ -424,6 +424,11 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
424
424
|
run "/etc/init.d/httpd restart"
|
425
425
|
end
|
426
426
|
end
|
427
|
+
|
428
|
+
task :test, :roles => [:host] do
|
429
|
+
puts "#{os_ver}"
|
430
|
+
exit
|
431
|
+
end
|
427
432
|
|
428
433
|
end
|
429
434
|
|
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.1.
|
5
|
+
s.version = "1.1.54"
|
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=
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: obbistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 127
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 54
|
10
|
+
version: 1.1.54
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ross Riley
|