alpha_omega 0.0.215 → 0.0.216

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/alpha_omega/utils.rb +1 -1
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.215
1
+ 0.0.216
@@ -172,7 +172,7 @@ module AlphaOmega
172
172
  $this_pod = File.read("/etc/podname").strip
173
173
  config.set :current_pod, $this_pod
174
174
 
175
- this_host = Socket.gethostname.chomp.split(".")[0]
175
+ this_host = ENV['_AO_THIS_HOST'] || Socket.gethostname.chomp.split(".")[0]
176
176
  dna_base = "#{node_home}/pods/#{$this_pod}/#{this_host}"
177
177
  dna = File.exists?("#{dna_base}.yaml") ? YAML.load(File.read("#{dna_base}.yaml")) : JSON.load(File.read("#{dna_base}.json"))
178
178
  this_node = self.node_defaults(dna, $this_pod, this_host)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alpha_omega
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.215
4
+ version: 0.0.216
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: