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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eeb2d7ec5bf66114a982cf7167ffbc735298681c111d32b5763250ee517c8c63
4
- data.tar.gz: 2cba59bb697b00839d91d1c86caa3bdd843c9728b359ddc7559c53df76d7432f
3
+ metadata.gz: 6d784e08791add2fae739cdbcdf4f671c4a5f513d5e696ba4b24782e93422743
4
+ data.tar.gz: b0f6fc1c33a414d1684e5cd9e2f0fa8113286b4b287cad136b3291fd48b67922
5
5
  SHA512:
6
- metadata.gz: c369bb2c1db1042532cd5c8ba443c0a3cb1d4a6da31267a1ef0b3f907add7f02f6e13c616ce9f264c77a7501ff277bf3f83f11cb20977b202d693e7c24cae194
7
- data.tar.gz: 4554a65db783b20932aa54677b7b0811a3692543f1654c0bdc9e8f9b77496d71adb5e9b00a7cf0c21bdbf6372249cf044cd8f9b71865cab74e4ea973a997b97b
6
+ metadata.gz: b73e441079d35cd77752382978e603817d743cb58b6da4934bb34a2979397a080c6515105154c122e7ee24e3a5b4192d186db6a97f2b57f5192ce287a6376182
7
+ data.tar.gz: 6e6cba06dbf2cf04bbc553e63600a7c070db58e038afd02b06b9c4e03594ed6ece102cbdd40db22f7c02a59190459b90ff85109ef10d35b38131c4560cd62020
@@ -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
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Morpheus
3
3
  module Cli
4
- VERSION = "4.1.11"
4
+ VERSION = "4.1.12"
5
5
  end
6
6
  end
@@ -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.11
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-01-30 00:00:00.000000000 Z
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
- rubyforge_project:
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