obbistrano 1.1.39 → 1.1.40
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 +1 -4
- data/obbistrano.gemspec +1 -1
- metadata +1 -1
data/lib/obbistrano_tasks.rb
CHANGED
|
@@ -289,7 +289,6 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
289
289
|
|
|
290
290
|
desc "Creates a new Apache VHost."
|
|
291
291
|
task :vhost, :roles => [:host] do
|
|
292
|
-
config_check
|
|
293
292
|
needs_root
|
|
294
293
|
fedora.vhost
|
|
295
294
|
fedora.restart
|
|
@@ -297,7 +296,6 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
297
296
|
|
|
298
297
|
desc "Sets up a new user."
|
|
299
298
|
task :setup_user, :roles => [:host] do
|
|
300
|
-
config_check
|
|
301
299
|
needs_root
|
|
302
300
|
fedora.setup_user
|
|
303
301
|
end
|
|
@@ -316,7 +314,6 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
316
314
|
|
|
317
315
|
desc "Creates a MySQL user and database"
|
|
318
316
|
task :setup_mysql, :roles =>[:host] do
|
|
319
|
-
config_check
|
|
320
317
|
needs_root
|
|
321
318
|
set :user_to_add, "#{user}"
|
|
322
319
|
set :passwd_to_add, "#{password}"
|
|
@@ -350,9 +347,9 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
350
347
|
end
|
|
351
348
|
|
|
352
349
|
task :needs_root do
|
|
353
|
-
config_check
|
|
354
350
|
puts "*** This operation needs root access - Please set a root password inside your /etc/capistrano.conf file" if !defined? "#{root_pass}"
|
|
355
351
|
exit if !defined? "#{root_pass}"
|
|
352
|
+
config_check
|
|
356
353
|
end
|
|
357
354
|
|
|
358
355
|
task :try_login, :roles =>[:host] do
|
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.40"
|
|
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=
|