alpha_omega 1.3.7 → 1.3.8

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/libexec/aoh-init +2 -2
  3. data/libexec/aoh-proxy +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.7
1
+ 1.3.8
data/libexec/aoh-init CHANGED
@@ -45,7 +45,7 @@ end
45
45
 
46
46
  # interesting hosts
47
47
  Deploy self, __FILE__ do |admin, node|
48
- if node["roles"].include("something_something")
48
+ if node["run_list"].include?("role[something_something]")
49
49
  { :deploy => { } }
50
50
  end
51
51
  end
@@ -54,7 +54,7 @@ EOF
54
54
  mkdir -p "config"
55
55
  cat > "config/deploy.yml" <<EOF
56
56
  ---
57
- repository: https://github.com/something_something
57
+ repository: git@github.com:someone/something_something
58
58
  application: ${nm_app}
59
59
 
60
60
  ruby_loader: rvm-exec
data/libexec/aoh-proxy CHANGED
@@ -40,7 +40,7 @@ function main {
40
40
  local ver_repo="$1"; shift
41
41
 
42
42
  cd $_AO_HOME
43
- local git_url="$(git config --list | grep remote.origin.url | cut -d= -f2-)"
43
+ local git_url="$(ruby -ryaml -e 'puts YAML.load(File.read(ARGV[0]))[ARGV[1]]' $_AO_HOME/config/deploy.yml repository)"
44
44
  local git_spec="$(git_branch_head "$ver_repo")"
45
45
 
46
46
  local pth_rvmrun="${_AO_RUBY_LOADER:-}"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alpha_omega
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 7
10
- version: 1.3.7
9
+ - 8
10
+ version: 1.3.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Nghiem