mtncd 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/mtncd +5 -1
- data/lib/mtncd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWY3MjJmODdkMmZhOTFjZTU1MWMzMzc2MGQ1ZmUyOTBmYTAyYmFjNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzdjM2YyNDRhM2ZhOGNjODczOWMyYmMzMWQ3N2VjZDc3MTY2OWEzMA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjIyMzE2NjlhYzBmY2NhZDI5MTlkNGY3Nzc3MmI1MjZjODM0YzhiMjczZmM1
|
10
|
+
ZDE0OTY1MzIyMTgwNWFmMTlkNzQ0ZmRjMTc3MmVhNjM3NmMwZTkzNTg3NDM4
|
11
|
+
YTY3YjQ4NDE0MmMwNTIwZDc5MjhiNGUxYTJmNWUxNjE5NTk3MDY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTEyMjA0OTYyYzJhN2EzMjUxYzFmMGRiNzU4MGMzMjZjOTg2YzBjMzQwNTky
|
14
|
+
NTc3MmY1MDE4ODI3NGNkY2Y2NmZkODUwZDk0YWE0M2Y5YmQ3MzE4YzdlMWEx
|
15
|
+
NmUyZTE0YTRhNDU4MTZmNDE3NzFjODE2NjFjNjhjMTQyMmQ2NTc=
|
data/bin/mtncd
CHANGED
@@ -399,7 +399,11 @@ end
|
|
399
399
|
|
400
400
|
|
401
401
|
pre do |global,command,options,args|
|
402
|
-
|
402
|
+
|
403
|
+
config_path = File.file?(File.join('opt', 'mtn_cicd', '.cicdconfig')) ?
|
404
|
+
File.join('opt', 'mtn_cicd', '.cicdconfig') : File.join(Dir.home, '.cicdconfig')
|
405
|
+
|
406
|
+
$config = JSON.parse(File.read(config_path))
|
403
407
|
|
404
408
|
if $config['role'] == 'sled' && options[:cluster] == 'global'
|
405
409
|
puts 'global commands are not available on sled nodes. forcing \'--cluster=local\''
|
data/lib/mtncd/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mtncd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MTN Satellite Communications
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: resque
|