obbistrano 1.1.17 → 1.1.18

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.
@@ -278,19 +278,19 @@ Capistrano::Configuration.instance(:must_exist).load do
278
278
 
279
279
 
280
280
  desc "Sets up the server with a user, home directory and mysql login."
281
- task :setup do
281
+ task :setup, :roles => [:host] do
282
282
  try_login
283
283
  vhost
284
284
  setup_mysql
285
285
  end
286
286
 
287
287
  desc "Restarts the web server."
288
- task :restart do
288
+ task :restart, :roles => [:host] do
289
289
  fedora.restart
290
290
  end
291
291
 
292
292
  desc "Creates a new Apache VHost."
293
- task :vhost do
293
+ task :vhost :roles => [:host] do
294
294
  config_check
295
295
  needs_root
296
296
  fedora.vhost
@@ -298,7 +298,7 @@ Capistrano::Configuration.instance(:must_exist).load do
298
298
  end
299
299
 
300
300
  desc "Sets up a new user."
301
- task :setup_user do
301
+ task :setup_user :roles => [:host] do
302
302
  config_check
303
303
  needs_root
304
304
  fedora.setup_user
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.1.17"
5
+ s.version = "1.1.18"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obbistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.17
4
+ version: 1.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  requirements: []
84
84
 
85
85
  rubyforge_project:
86
- rubygems_version: 1.3.4
86
+ rubygems_version: 1.3.5
87
87
  signing_key:
88
88
  specification_version: 2
89
89
  summary: Adds extra namespaces to Capistrano to allow simple setup, deploys and maintenance.