f5-icontrol 0.3.2 → 0.3.3
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.
- checksums.yaml +4 -4
- data/lib/f5/cli/application.rb +4 -2
- data/lib/f5/icontrol/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 160d69b35270ab267f40fa78210edec5b437f42a
|
|
4
|
+
data.tar.gz: 903618319da6c650578e9528f66388196ecd4fd2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 054c2d5a635de5598ed0b06f53b16cccc14db113dda7f674f11131bc158416c9342ddaf770a2f78172fd71495eceaf04d7b729da732c04db237b3e6a49387620
|
|
7
|
+
data.tar.gz: 7a129c736b58395e0e7e93e376b634ae3a81bcc29857c0f866faad6f54b44549590bd0e4fc32ffd8963e444da4c5640d39f61a4ddbc8affba70d01465af0243a
|
data/lib/f5/cli/application.rb
CHANGED
|
@@ -25,9 +25,9 @@ module F5
|
|
|
25
25
|
|
|
26
26
|
def client
|
|
27
27
|
return @client if @client
|
|
28
|
-
config = YAML.load_file(
|
|
28
|
+
config = YAML.load_file(options[:config])
|
|
29
29
|
if config.key?('username') && options[:lb] == 'default'
|
|
30
|
-
puts "Warning: credentials in
|
|
30
|
+
puts "Warning: credentials in #{options[:config]} should be put under a named load balancer."
|
|
31
31
|
configure_lb_as(config)
|
|
32
32
|
else
|
|
33
33
|
configure_lb_as config[options[:lb]]
|
|
@@ -433,6 +433,8 @@ module F5
|
|
|
433
433
|
class Application < Thor
|
|
434
434
|
class_option :lb, default: 'default'
|
|
435
435
|
|
|
436
|
+
class_option :config, :type => :string, :default => "#{ENV['HOME']}/.f5.yml", :desc => "Defines the location of the configuration file."
|
|
437
|
+
|
|
436
438
|
desc "node SUBCOMMAND ...ARGS", "manage nodes"
|
|
437
439
|
subcommand "node", Node
|
|
438
440
|
|
data/lib/f5/icontrol/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: f5-icontrol
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sean Walberg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: savon
|