morpheus-cli 4.1.11 → 4.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/morpheus/cli/hosts.rb +6 -0
- data/lib/morpheus/cli/version.rb +1 -1
- data/lib/morpheus/cli/workflows.rb +5 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d784e08791add2fae739cdbcdf4f671c4a5f513d5e696ba4b24782e93422743
|
4
|
+
data.tar.gz: b0f6fc1c33a414d1684e5cd9e2f0fa8113286b4b287cad136b3291fd48b67922
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b73e441079d35cd77752382978e603817d743cb58b6da4934bb34a2979397a080c6515105154c122e7ee24e3a5b4192d186db6a97f2b57f5192ce287a6376182
|
7
|
+
data.tar.gz: 6e6cba06dbf2cf04bbc553e63600a7c070db58e038afd02b06b9c4e03594ed6ece102cbdd40db22f7c02a59190459b90ff85109ef10d35b38131c4560cd62020
|
data/lib/morpheus/cli/hosts.rb
CHANGED
@@ -108,6 +108,12 @@ class Morpheus::Cli::Hosts
|
|
108
108
|
opts.on('--details', "Display more details: memory and storage usage used / max values." ) do
|
109
109
|
options[:details] = true
|
110
110
|
end
|
111
|
+
opts.on('--tag-compliant', "Displays only servers that are valid according to applied tag policies. Does not show servers that do not have tag policies." ) do
|
112
|
+
options[:tagCompliant] = true
|
113
|
+
end
|
114
|
+
opts.on('--non-tag-compliant', "Displays only servers with tag compliance warnings." ) do
|
115
|
+
options[:tagCompliant] = false
|
116
|
+
end
|
111
117
|
build_common_options(opts, options, [:list, :query, :json, :yaml, :csv, :fields, :dry_run, :remote])
|
112
118
|
opts.footer = "List hosts."
|
113
119
|
end
|
data/lib/morpheus/cli/version.rb
CHANGED
@@ -563,6 +563,9 @@ class Morpheus::Cli::Workflows
|
|
563
563
|
target_type = 'server'
|
564
564
|
server_ids = list.collect {|it| it.to_s.strip.empty? ? nil : it.to_s.strip }.compact.uniq
|
565
565
|
end
|
566
|
+
opts.on('-a', '--appliance', "Execute on the appliance, the target is the appliance itself.") do
|
567
|
+
target_type = 'appliance'
|
568
|
+
end
|
566
569
|
opts.add_hidden_option('--server')
|
567
570
|
opts.add_hidden_option('--servers')
|
568
571
|
opts.on('--config [TEXT]', String, "Custom config") do |val|
|
@@ -602,6 +605,8 @@ class Morpheus::Cli::Workflows
|
|
602
605
|
servers << server
|
603
606
|
end
|
604
607
|
params['servers'] = servers.collect {|it| it['id'] }
|
608
|
+
elsif target_type == 'appliance'
|
609
|
+
# cool, run it locally.
|
605
610
|
else
|
606
611
|
raise_command_error "missing required option: --instance or --host\n#{optparse}"
|
607
612
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: morpheus-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Estes
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-
|
14
|
+
date: 2020-02-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -438,8 +438,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
438
438
|
- !ruby/object:Gem::Version
|
439
439
|
version: '0'
|
440
440
|
requirements: []
|
441
|
-
|
442
|
-
rubygems_version: 2.7.6
|
441
|
+
rubygems_version: 3.0.6
|
443
442
|
signing_key:
|
444
443
|
specification_version: 4
|
445
444
|
summary: Provides CLI Interface to the Morpheus Public/Private Cloud Appliance
|