morpheus-cli 3.6.36 → 3.6.37
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/morpheus/cli/instances.rb +11 -3
- data/lib/morpheus/cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8d732152f78b906724b55cc2f47a8751ca7c86f70a2288bc850ac1b965cbe05
|
|
4
|
+
data.tar.gz: b2d42e6fda75482fd755139254850747619120be4c0a475eea96e8b51aae53c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29710258239eb15c7873fbfa1293921addd1e39c6c51c3607fc3a7c2d40e092921b62c04eec0084a86ddc69d7eabf510c1788b6b96bb5f49dbe8758914160d72
|
|
7
|
+
data.tar.gz: 52e5bd429e76ae800484b1e16d2442051c8b82dbf35acd2121f8ce3c33d7313566dac05c044151edc7f50fb2f1d0e51266a33897b53c921c1e5248cc43ae2097
|
|
@@ -1931,14 +1931,22 @@ class Morpheus::Cli::Instances
|
|
|
1931
1931
|
end
|
|
1932
1932
|
end
|
|
1933
1933
|
|
|
1934
|
+
# suspend should be server: false by default I guess..
|
|
1934
1935
|
def suspend(args)
|
|
1935
|
-
params = {
|
|
1936
|
+
params = {}
|
|
1936
1937
|
options = {}
|
|
1937
1938
|
optparse = Morpheus::Cli::OptionParser.new do |opts|
|
|
1938
1939
|
opts.banner = subcommand_usage("[instance]")
|
|
1939
|
-
opts.on('--
|
|
1940
|
+
opts.on('--mute-monitoring [on|off]', String, "Mute monitoring. Default is on.") do |val|
|
|
1940
1941
|
params['muteMonitoring'] = val.nil? || val.to_s == 'on' || val.to_s == 'true'
|
|
1941
1942
|
end
|
|
1943
|
+
opts.on('--muteMonitoring [on|off]', String, "Mute monitoring. Default is on.") do |val|
|
|
1944
|
+
params['muteMonitoring'] = val.nil? || val.to_s == 'on' || val.to_s == 'true'
|
|
1945
|
+
end
|
|
1946
|
+
opts.add_hidden_option('muteMonitoring')
|
|
1947
|
+
opts.on('--server [on|off]', String, "Suspend instance server. Default is off.") do |val|
|
|
1948
|
+
params['server'] = val.nil? || val.to_s == 'on' || val.to_s == 'true'
|
|
1949
|
+
end
|
|
1942
1950
|
build_common_options(opts, options, [:auto_confirm, :quiet, :json, :dry_run, :remote])
|
|
1943
1951
|
opts.footer = "Suspend an instance.\n" +
|
|
1944
1952
|
"[instance] is required. This is the name or id of an instance. Supports 1-N [instance] arguments."
|
|
@@ -2169,7 +2177,7 @@ class Morpheus::Cli::Instances
|
|
|
2169
2177
|
opts.on('--muteMonitoring [on|off]', String, "Mute monitoring. Default is on.") do |val|
|
|
2170
2178
|
params['muteMonitoring'] = val.nil? || val.to_s == 'on' || val.to_s == 'true'
|
|
2171
2179
|
end
|
|
2172
|
-
opts.add_hidden_option('muteMonitoring')
|
|
2180
|
+
opts.add_hidden_option('muteMonitoring')
|
|
2173
2181
|
build_common_options(opts, options, [:auto_confirm, :quiet, :json, :dry_run, :remote])
|
|
2174
2182
|
opts.footer = "Restart service on an instance.\n" +
|
|
2175
2183
|
"[instance] is required. This is the name or id of an instance. Supports 1-N [instance] arguments."
|
data/lib/morpheus/cli/version.rb
CHANGED
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: 3.6.
|
|
4
|
+
version: 3.6.37
|
|
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: 2019-07-
|
|
14
|
+
date: 2019-07-13 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|