blue 0.2.3 → 0.2.5

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/blue/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Blue
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.5"
3
3
  end
data/lib/blue.rb CHANGED
@@ -37,11 +37,11 @@ module Blue
37
37
  end
38
38
 
39
39
  def self.logs_path
40
- @@logs_path ||= shared_path += "logs/"
40
+ @@logs_path ||= shared_path + "logs/"
41
41
  end
42
42
 
43
43
  def self.pids_path
44
- @@pids_path ||= shared_path += "pids/"
44
+ @@pids_path ||= shared_path + "pids/"
45
45
  end
46
46
 
47
47
  @@boxes = []
@@ -7,7 +7,9 @@ module Blue
7
7
  desc 'Apply the Blue manifest for this application'
8
8
  task :apply_manifest, :except => { :no_release => true } do
9
9
  current_host = capture("echo $CAPISTRANO:HOST$").strip.gsub('.', '_')
10
- run "cd #{latest_release} && RAILS_ROOT=#{latest_release} RAILS_ENV=#{Blue.env} sudo shadow_puppet #{latest_release}/config/blue/boxes/#{Blue.env}/#{current_host}.rb"
10
+ # run "cd #{latest_release} && RAILS_ROOT=#{latest_release} RAILS_ENV=#{Blue.env} sudo shadow_puppet #{latest_release}/config/blue/boxes/#{Blue.env}/#{current_host}.rb"
11
+ # run "sudo su - 'cd #{latest_release} && RAILS_ROOT=#{latest_release} RAILS_ENV=#{Blue.env} shadow_puppet #{latest_release}/config/blue/boxes/#{Blue.env}/#{current_host}.rb'"
12
+ sudo "cd #{latest_release} && RAILS_ROOT=#{latest_release} RAILS_ENV=#{Blue.env} shadow_puppet #{latest_release}/config/blue/boxes/#{Blue.env}/#{current_host}.rb"
11
13
  end
12
14
 
13
15
  task :verify_db do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blue
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Josh Sharpe