alpha_omega 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/libexec/_ao +1 -8
  3. data/libexec/aoh +6 -0
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.5.1
data/libexec/_ao CHANGED
@@ -1,7 +1,5 @@
1
1
  #!/bin/bash
2
2
 
3
- export _AO_OPT="$@"
4
-
5
3
  function deploy_basename {
6
4
  local cmd="$(basename "$1")"; shift
7
5
  echo "${cmd#aoh-}"
@@ -175,11 +173,6 @@ function main {
175
173
  gateway="${FLAGS_ssh_login}@${gateway}"
176
174
  fi
177
175
 
178
- local remote_chef=""
179
- if [[ -n "$FLAGS_chef" ]]; then
180
- remote_chef="-c $FLAGS_chef "
181
- fi
182
-
183
- $shome/sbin/proxy "$gateway" "$FLAGS_tag" $(deploy_basename $0) ${remote_chef}"$nm_pod" "$@"
176
+ $shome/sbin/proxy "$gateway" "$FLAGS_tag" $(deploy_basename $0) ${_AO_USER_ARGS}
184
177
  fi
185
178
  }
data/libexec/aoh CHANGED
@@ -12,4 +12,10 @@ shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
12
12
  # load a jason bourne library
13
13
  source "$shome/libexec/_treadstone"
14
14
 
15
+ if [[ -z "${_AO_USER_ARGS:-}" ]]; then
16
+ save_command="$1"; shift
17
+ export _AO_USER_ARGS="$@"
18
+ set -- "$save_command" "$@"
19
+ fi
20
+
15
21
  require 'sub' "$BASH_SOURCE" "$@"
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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 0
10
- version: 1.5.0
9
+ - 1
10
+ version: 1.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Nghiem