manageiq-appliance_console 5.3.1 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +7 -7
- data/.rubocop.yml +3 -3
- data/.rubocop_cc.yml +3 -4
- data/.rubocop_local.yml +1 -1
- data/.travis.yml +2 -2
- data/Gemfile +1 -1
- data/README.md +1 -2
- data/bin/appliance_console +19 -6
- data/lib/manageiq-appliance_console.rb +1 -0
- data/lib/manageiq/appliance_console/cli.rb +22 -1
- data/lib/manageiq/appliance_console/database_configuration.rb +1 -1
- data/lib/manageiq/appliance_console/messaging_configuration.rb +92 -0
- data/lib/manageiq/appliance_console/oidc_authentication.rb +43 -4
- data/lib/manageiq/appliance_console/version.rb +1 -1
- data/locales/appliance/en.yml +3 -3
- data/locales/container/en.yml +3 -3
- data/manageiq-appliance_console.gemspec +4 -0
- metadata +76 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ece17b25e041baf4584ff5c45cc651e5e911b5d09d94c413550908e132485c69
|
4
|
+
data.tar.gz: 6f367021492f89812cb0b704312b1398e7b2c74989d036e2b29e56e1a82bc8e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 611619aa58fc0783538bf1ab80fd057f3316ff9c420c3df4abca6fbb15214e9555bed2f2f5239b491d472bda7d2c641f4e2904a3941785582441ef5d86bc804a
|
7
|
+
data.tar.gz: 51fdbbde3921c74a5c07341100e7b2f4eca78f8b6a509b861594d31952a5faf112f5b643bd161b48d7fcc8fa49fd7780e3d290ff06fc39320543e4ef47c1ed22
|
data/.codeclimate.yml
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
---
|
2
1
|
exclude_paths:
|
3
2
|
- ".git/"
|
4
3
|
- "**.xml"
|
@@ -27,18 +26,19 @@ engines:
|
|
27
26
|
enabled: false
|
28
27
|
markdownlint:
|
29
28
|
enabled: false
|
30
|
-
rubocop:
|
31
|
-
enabled: true
|
32
|
-
config: ".rubocop_cc.yml"
|
33
|
-
channel: rubocop-0-69
|
34
29
|
prepare:
|
35
30
|
fetch:
|
36
|
-
- url: https://raw.githubusercontent.com/ManageIQ/
|
31
|
+
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_base.yml
|
37
32
|
path: ".rubocop_base.yml"
|
38
|
-
- url: https://raw.githubusercontent.com/ManageIQ/
|
33
|
+
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_cc_base.yml
|
39
34
|
path: ".rubocop_cc_base.yml"
|
40
35
|
ratings:
|
41
36
|
paths:
|
42
37
|
- Gemfile.lock
|
43
38
|
- "**.rake"
|
44
39
|
- "**.rb"
|
40
|
+
plugins:
|
41
|
+
rubocop:
|
42
|
+
enabled: true
|
43
|
+
config: ".rubocop_cc.yml"
|
44
|
+
channel: rubocop-0-82
|
data/.rubocop.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
+
inherit_gem:
|
2
|
+
manageiq-style: ".rubocop_base.yml"
|
1
3
|
inherit_from:
|
2
|
-
-
|
3
|
-
# put all local rubocop config into .rubocop_local.yml as it will be loaded by .rubocop_cc.yml as well
|
4
|
-
- .rubocop_local.yml
|
4
|
+
- ".rubocop_local.yml"
|
data/.rubocop_cc.yml
CHANGED
data/.rubocop_local.yml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
# GlobalVars:
|
1
|
+
# Style/GlobalVars:
|
2
2
|
# AllowedVariables:
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
source 'http://rubygems.manageiq.org'
|
2
2
|
source 'https://rubygems.org'
|
3
3
|
|
4
|
-
# Specify your gem's dependencies in manageiq-
|
4
|
+
# Specify your gem's dependencies in manageiq-appliance_console.gemspec
|
5
5
|
gemspec
|
6
6
|
|
7
7
|
gem "manageiq-gems-pending", :git => "https://github.com/ManageIQ/manageiq-gems-pending", :branch => "master"
|
data/README.md
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
# ManageIQ::ApplianceConsole
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/manageiq-appliance_console.svg)](http://badge.fury.io/rb/manageiq-appliance_console)
|
4
|
-
[![Build Status](https://travis-ci.
|
4
|
+
[![Build Status](https://travis-ci.com/ManageIQ/manageiq-appliance_console.svg?branch=master)](https://travis-ci.com/ManageIQ/manageiq-appliance_console)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/ManageIQ/manageiq-appliance_console.svg)](https://codeclimate.com/github/ManageIQ/manageiq-appliance_console)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/ManageIQ/manageiq-appliance_console/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/manageiq-appliance_console/coverage)
|
7
|
-
[![Dependency Status](https://gemnasium.com/ManageIQ/manageiq-appliance_console.svg)](https://gemnasium.com/ManageIQ/manageiq-appliance_console)
|
8
7
|
[![Security](https://hakiri.io/github/ManageIQ/manageiq-appliance_console/master.svg)](https://hakiri.io/github/ManageIQ/manageiq-appliance_console/master)
|
9
8
|
|
10
9
|
[![Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ManageIQ/manageiq-appliance_console?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
data/bin/appliance_console
CHANGED
@@ -374,7 +374,7 @@ Static Network Configuration
|
|
374
374
|
raise MiqSignalError
|
375
375
|
end
|
376
376
|
|
377
|
-
when I18n.t("advanced_settings.
|
377
|
+
when I18n.t("advanced_settings.app_config")
|
378
378
|
say("#{selection}\n\n")
|
379
379
|
|
380
380
|
ensure_key_configured
|
@@ -383,21 +383,29 @@ Static Network Configuration
|
|
383
383
|
"Create Internal Database" => "create_internal",
|
384
384
|
"Create Region in External Database" => "create_external",
|
385
385
|
"Join Region in External Database" => "join_external",
|
386
|
-
"Reset Configured Database" => "reset_region"
|
386
|
+
"Reset Configured Database" => "reset_region",
|
387
|
+
"No changes" => "no_changes"
|
387
388
|
}
|
388
|
-
|
389
|
+
database_action = ask_with_menu("Database Operation", options)
|
390
|
+
|
391
|
+
messaging_options = {
|
392
|
+
"Use an external messaging system" => "external_messaging",
|
393
|
+
"No changes" => "no_changes"
|
394
|
+
}
|
395
|
+
|
396
|
+
messaging_action = ask_with_menu("Configure Messaging", messaging_options)
|
389
397
|
|
390
398
|
database_configuration =
|
391
|
-
case
|
399
|
+
case database_action
|
392
400
|
when "create_internal"
|
393
401
|
ManageIQ::ApplianceConsole::InternalDatabaseConfiguration.new
|
394
402
|
when /_external/
|
395
|
-
ManageIQ::ApplianceConsole::ExternalDatabaseConfiguration.new(:action =>
|
403
|
+
ManageIQ::ApplianceConsole::ExternalDatabaseConfiguration.new(:action => database_action.split("_").first.to_sym)
|
396
404
|
else
|
397
405
|
ManageIQ::ApplianceConsole::DatabaseConfiguration.new
|
398
406
|
end
|
399
407
|
|
400
|
-
case
|
408
|
+
case database_action
|
401
409
|
when "reset_region"
|
402
410
|
if database_configuration.reset_region
|
403
411
|
say("Database reset successfully")
|
@@ -411,6 +419,11 @@ Static Network Configuration
|
|
411
419
|
# Get the region again because it may have changed
|
412
420
|
region = ManageIQ::ApplianceConsole::DatabaseConfiguration.region
|
413
421
|
|
422
|
+
case messaging_action
|
423
|
+
when "external_messaging"
|
424
|
+
ManageIQ::ApplianceConsole::MessagingConfiguration.new.run_interactive
|
425
|
+
end
|
426
|
+
|
414
427
|
press_any_key
|
415
428
|
|
416
429
|
when I18n.t("advanced_settings.db_replication")
|
@@ -43,6 +43,7 @@ require 'manageiq/appliance_console/internal_database_configuration'
|
|
43
43
|
require 'manageiq/appliance_console/key_configuration'
|
44
44
|
require 'manageiq/appliance_console/logfile_configuration'
|
45
45
|
require 'manageiq/appliance_console/logical_volume_management'
|
46
|
+
require 'manageiq/appliance_console/messaging_configuration'
|
46
47
|
require 'manageiq/appliance_console/oidc_authentication'
|
47
48
|
require 'manageiq/appliance_console/principal'
|
48
49
|
require 'manageiq/appliance_console/saml_authentication'
|
@@ -101,6 +101,10 @@ module ApplianceConsole
|
|
101
101
|
options[:openscap]
|
102
102
|
end
|
103
103
|
|
104
|
+
def configure_messaging?
|
105
|
+
options[:messaging_hostname] && options[:messaging_password] && options[:messaging_port] && options[:messaging_username]
|
106
|
+
end
|
107
|
+
|
104
108
|
def initialize(options = {})
|
105
109
|
self.options = options
|
106
110
|
end
|
@@ -165,10 +169,16 @@ module ApplianceConsole
|
|
165
169
|
opt :oidc_client_host, "Optional Appliance host used for OpenID-Connect Authentication", :type => :string
|
166
170
|
opt :oidc_client_id, "The OpenID-Connect Provider Client ID", :type => :string
|
167
171
|
opt :oidc_client_secret, "The OpenID-Connect Provider Client Secret", :type => :string
|
172
|
+
opt :oidc_insecure, "OpenID-Connect Insecure No SSL Verify (development)", :type => :boolean, :default => false
|
173
|
+
opt :oidc_introspection_endpoint, "The OpenID-Connect Provider Introspect Endpoint", :type => :string
|
168
174
|
opt :oidc_enable_sso, "Optionally enable SSO with OpenID-Connect Authentication", :type => :boolean, :default => false
|
169
175
|
opt :oidc_unconfig, "Unconfigure Appliance OpenID-Connect Authentication", :type => :boolean, :default => false
|
170
176
|
opt :server, "{start|stop|restart} actions on evmserverd Server", :type => :string
|
171
177
|
opt :openscap, "Setup OpenScap", :type => :boolean, :default => false
|
178
|
+
opt :messaging_hostname, "Messaging Hostname", :type => :string
|
179
|
+
opt :messaging_username, "Messaging Username", :type => :string
|
180
|
+
opt :messaging_password, "Messaging Password", :type => :string
|
181
|
+
opt :messaging_port, "Messaging Port", :type => :integer
|
172
182
|
end
|
173
183
|
Optimist.die :region, "needed when setting up a local database" if region_number_required? && options[:region].nil?
|
174
184
|
self
|
@@ -183,7 +193,7 @@ module ApplianceConsole
|
|
183
193
|
uninstall_ipa? || install_ipa? || certs? || extauth_opts? ||
|
184
194
|
set_server_state? || set_replication? || openscap? ||
|
185
195
|
saml_config? || saml_unconfig? ||
|
186
|
-
oidc_config? || oidc_unconfig?
|
196
|
+
oidc_config? || oidc_unconfig? || configure_messaging?
|
187
197
|
|
188
198
|
if set_host?
|
189
199
|
system_hosts = LinuxAdmin::Hosts.new
|
@@ -207,6 +217,7 @@ module ApplianceConsole
|
|
207
217
|
oidc_unconfig if oidc_unconfig?
|
208
218
|
set_server_state if set_server_state?
|
209
219
|
openscap if openscap?
|
220
|
+
configure_messaging if configure_messaging?
|
210
221
|
rescue CliError => e
|
211
222
|
say(e.message)
|
212
223
|
say("")
|
@@ -426,6 +437,16 @@ module ApplianceConsole
|
|
426
437
|
def self.parse(args)
|
427
438
|
new.parse(args).run
|
428
439
|
end
|
440
|
+
|
441
|
+
def configure_messaging
|
442
|
+
say("configuring messaging")
|
443
|
+
ManageIQ::ApplianceConsole::MessagingConfiguration.new.save(
|
444
|
+
"hostname" => options[:messaging_hostname],
|
445
|
+
"password" => options[:messaging_password],
|
446
|
+
"port" => options[:messaging_port],
|
447
|
+
"username" => options[:messaging_username]
|
448
|
+
)
|
449
|
+
end
|
429
450
|
end
|
430
451
|
end
|
431
452
|
end
|
@@ -234,7 +234,7 @@ FRIENDLY
|
|
234
234
|
def start_evm
|
235
235
|
pid = fork do
|
236
236
|
begin
|
237
|
-
LinuxAdmin::Service.new("evmserverd").
|
237
|
+
LinuxAdmin::Service.new("evmserverd").start(true)
|
238
238
|
rescue => e
|
239
239
|
logger.error("Failed to enable and start evmserverd service: #{e.message}")
|
240
240
|
logger.error(e.backtrace.join("\n"))
|
@@ -0,0 +1,92 @@
|
|
1
|
+
require "pathname"
|
2
|
+
|
3
|
+
module ManageIQ
|
4
|
+
module ApplianceConsole
|
5
|
+
class MessagingConfiguration
|
6
|
+
include ManageIQ::ApplianceConsole::Logging
|
7
|
+
include ManageIQ::ApplianceConsole::Prompts
|
8
|
+
|
9
|
+
MESSAGING_YML = ManageIQ::ApplianceConsole::RAILS_ROOT.join("config/messaging.yml")
|
10
|
+
|
11
|
+
attr_accessor :host, :password, :port, :username
|
12
|
+
|
13
|
+
def run_interactive
|
14
|
+
ask_questions
|
15
|
+
|
16
|
+
clear_screen
|
17
|
+
say("Activating the configuration using the following settings...\n#{friendly_inspect}\n")
|
18
|
+
|
19
|
+
raise MiqSignalError unless activate
|
20
|
+
|
21
|
+
say("\nConfiguration activated successfully.\n")
|
22
|
+
rescue RuntimeError => e
|
23
|
+
puts "Configuration failed#{": " + e.message unless e.class == MiqSignalError}"
|
24
|
+
press_any_key
|
25
|
+
raise MiqSignalError
|
26
|
+
end
|
27
|
+
|
28
|
+
def ask_questions
|
29
|
+
ask_for_messaging_credentials
|
30
|
+
end
|
31
|
+
|
32
|
+
def ask_for_messaging_credentials
|
33
|
+
self.host = ask_for_ip_or_hostname("messaging hostname or IP address")
|
34
|
+
self.port = ask_for_integer("port number", (1..65_535), 9_092).to_i
|
35
|
+
self.username = just_ask("username")
|
36
|
+
count = 0
|
37
|
+
loop do
|
38
|
+
password1 = ask_for_password("messaging password on #{host}")
|
39
|
+
|
40
|
+
if password1.strip.empty?
|
41
|
+
say("\nPassword can not be empty, please try again")
|
42
|
+
next
|
43
|
+
end
|
44
|
+
|
45
|
+
password2 = ask_for_password("messaging password again")
|
46
|
+
if password1 == password2
|
47
|
+
self.password = password1
|
48
|
+
break
|
49
|
+
elsif count > 0 # only reprompt password once
|
50
|
+
raise "passwords did not match"
|
51
|
+
else
|
52
|
+
count += 1
|
53
|
+
say("\nThe passwords did not match, please try again")
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
def friendly_inspect
|
59
|
+
<<~END_OF_INSPECT
|
60
|
+
Host: #{host}
|
61
|
+
Username: #{username}
|
62
|
+
Port: #{port}
|
63
|
+
END_OF_INSPECT
|
64
|
+
end
|
65
|
+
|
66
|
+
def activate
|
67
|
+
save
|
68
|
+
true
|
69
|
+
end
|
70
|
+
|
71
|
+
private
|
72
|
+
|
73
|
+
def settings_from_input
|
74
|
+
{
|
75
|
+
"hostname" => host,
|
76
|
+
"password" => password,
|
77
|
+
"port" => port,
|
78
|
+
"username" => username
|
79
|
+
}
|
80
|
+
end
|
81
|
+
|
82
|
+
def save(settings = nil)
|
83
|
+
settings ||= settings_from_input
|
84
|
+
|
85
|
+
settings["password"] = ManageIQ::Password.try_encrypt(settings.delete("password"))
|
86
|
+
|
87
|
+
require 'yaml'
|
88
|
+
File.write(MESSAGING_YML, YAML.dump("production" => settings))
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -1,3 +1,6 @@
|
|
1
|
+
require "net/http"
|
2
|
+
require "uri"
|
3
|
+
|
1
4
|
module ManageIQ
|
2
5
|
module ApplianceConsole
|
3
6
|
class OIDCAuthentication
|
@@ -5,6 +8,10 @@ module ManageIQ
|
|
5
8
|
|
6
9
|
attr_accessor :host, :options
|
7
10
|
|
11
|
+
URL_SUFFIX = /\/\.well-known\/openid-configuration$/.freeze
|
12
|
+
INTROSPECT_SUFFIX = "/protocol/openid-connect/token/introspect".freeze
|
13
|
+
INTROSPECT_ENDPOINT_ERROR = "Unable to derive the OpenID-Connect Client Introspection Endpoint. Use --oidc-introspection-endpoint".freeze
|
14
|
+
|
8
15
|
def initialize(options)
|
9
16
|
@options = options
|
10
17
|
end
|
@@ -12,6 +19,7 @@ module ManageIQ
|
|
12
19
|
def configure(host)
|
13
20
|
@host = host
|
14
21
|
validate_oidc_options
|
22
|
+
derive_introspection_endpoint
|
15
23
|
|
16
24
|
say("Configuring OpenID-Connect Authentication for https://#{host} ...")
|
17
25
|
copy_apache_oidc_configfiles
|
@@ -52,10 +60,18 @@ module ManageIQ
|
|
52
60
|
debug_msg("Copying Apache OpenID-Connect Config files ...")
|
53
61
|
copy_template(HTTPD_CONFIG_DIRECTORY, "manageiq-remote-user-openidc.conf")
|
54
62
|
copy_template(HTTPD_CONFIG_DIRECTORY, "manageiq-external-auth-openidc.conf.erb",
|
55
|
-
:miq_appliance
|
56
|
-
:oidc_provider_metadata_url
|
57
|
-
:oidc_client_id
|
58
|
-
:oidc_client_secret
|
63
|
+
:miq_appliance => host,
|
64
|
+
:oidc_provider_metadata_url => options[:oidc_url],
|
65
|
+
:oidc_client_id => options[:oidc_client_id],
|
66
|
+
:oidc_client_secret => options[:oidc_client_secret],
|
67
|
+
:oidc_introspection_endpoint => options[:oidc_introspection_endpoint])
|
68
|
+
|
69
|
+
if options[:oidc_insecure]
|
70
|
+
File.open("#{HTTPD_CONFIG_DIRECTORY}/manageiq-external-auth-openidc.conf", "a") do |f|
|
71
|
+
f.write("\nOIDCSSLValidateServer Off\n")
|
72
|
+
f.write("OIDCOAuthSSLValidateServer Off\n")
|
73
|
+
end
|
74
|
+
end
|
59
75
|
end
|
60
76
|
|
61
77
|
def remove_apache_oidc_configfiles
|
@@ -76,6 +92,29 @@ module ManageIQ
|
|
76
92
|
raise "Must specify the OpenID-Connect Client Secret via --oidc-client-secret" if options[:oidc_client_secret].blank?
|
77
93
|
end
|
78
94
|
|
95
|
+
def derive_introspection_endpoint
|
96
|
+
return if options[:oidc_introspection_endpoint].present?
|
97
|
+
|
98
|
+
options[:oidc_introspection_endpoint] = fetch_introspection_endpoint
|
99
|
+
raise INTROSPECT_ENDPOINT_ERROR if options[:oidc_introspection_endpoint].blank?
|
100
|
+
end
|
101
|
+
|
102
|
+
def fetch_introspection_endpoint
|
103
|
+
uri = URI.parse(options[:oidc_url])
|
104
|
+
http = Net::HTTP.new(uri.host, uri.port)
|
105
|
+
http.use_ssl = (uri.scheme == "https")
|
106
|
+
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if options[:oidc_insecure]
|
107
|
+
|
108
|
+
request = Net::HTTP::Get.new(uri.request_uri)
|
109
|
+
request.basic_auth(options[:oidc_client_id], options[:oidc_client_secret])
|
110
|
+
response = http.request(request)
|
111
|
+
|
112
|
+
JSON.parse(response.body)["introspection_endpoint"]
|
113
|
+
rescue => err
|
114
|
+
say("Failed to fetch introspection endpoint - #{err}")
|
115
|
+
nil
|
116
|
+
end
|
117
|
+
|
79
118
|
# Appliance Settings
|
80
119
|
|
81
120
|
def configure_auth_settings_oidc
|
data/locales/appliance/en.yml
CHANGED
@@ -8,7 +8,7 @@ en:
|
|
8
8
|
- dbbackup
|
9
9
|
- dbdump
|
10
10
|
- dbrestore
|
11
|
-
-
|
11
|
+
- app_config
|
12
12
|
- db_replication
|
13
13
|
- log_config
|
14
14
|
- failover_monitor
|
@@ -25,10 +25,10 @@ en:
|
|
25
25
|
dbbackup: Create Database Backup
|
26
26
|
dbdump: Create Database Dump
|
27
27
|
dbrestore: Restore Database From Backup
|
28
|
-
|
28
|
+
app_config: Configure Application
|
29
29
|
db_replication: Configure Database Replication
|
30
30
|
log_config: Logfile Configuration
|
31
|
-
failover_monitor:
|
31
|
+
failover_monitor: Control Application Database Failover Monitor
|
32
32
|
httpdauth: Configure External Authentication (httpd)
|
33
33
|
extauth_opts: Update External Authentication Options
|
34
34
|
evmstop: Stop EVM Server Processes
|
data/locales/container/en.yml
CHANGED
@@ -5,7 +5,7 @@ en:
|
|
5
5
|
advanced_settings:
|
6
6
|
menu_order:
|
7
7
|
- dbrestore
|
8
|
-
-
|
8
|
+
- app_config
|
9
9
|
- db_replication
|
10
10
|
- failover_monitor
|
11
11
|
- key_gen
|
@@ -15,9 +15,9 @@ en:
|
|
15
15
|
- summary
|
16
16
|
- quit
|
17
17
|
dbrestore: Restore Database From Backup
|
18
|
-
|
18
|
+
app_config: Configure Application
|
19
19
|
db_replication: Configure Database Replication
|
20
|
-
failover_monitor:
|
20
|
+
failover_monitor: Control Application Database Failover Monitor
|
21
21
|
evmstop: Stop EVM Server Processes
|
22
22
|
key_gen: Generate Custom Encryption Key
|
23
23
|
evmstart: Start EVM Server Processes
|
@@ -24,15 +24,19 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_runtime_dependency "activesupport", ">= 4.2.2"
|
25
25
|
spec.add_runtime_dependency "awesome_spawn", "~> 1.4"
|
26
26
|
spec.add_runtime_dependency "bcrypt", "~> 3.1.10"
|
27
|
+
spec.add_runtime_dependency "bcrypt_pbkdf", ">= 1.0", "< 2.0"
|
27
28
|
spec.add_runtime_dependency "highline", "~> 1.6.21"
|
28
29
|
spec.add_runtime_dependency "i18n", "~> 0.8"
|
29
30
|
spec.add_runtime_dependency "linux_admin", "~> 2.0"
|
30
31
|
spec.add_runtime_dependency "manageiq-password", "~> 0.3"
|
32
|
+
spec.add_runtime_dependency "net-scp", "~> 1.2.1"
|
31
33
|
spec.add_runtime_dependency "optimist", "~> 3.0"
|
32
34
|
spec.add_runtime_dependency "pg"
|
35
|
+
spec.add_runtime_dependency "rbnacl", ">= 3.2", "< 5.0"
|
33
36
|
|
34
37
|
spec.add_development_dependency "bundler"
|
35
38
|
spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
|
39
|
+
spec.add_development_dependency "manageiq-style"
|
36
40
|
spec.add_development_dependency "rake"
|
37
41
|
spec.add_development_dependency "rspec", "~> 3.0"
|
38
42
|
spec.add_development_dependency "rubocop"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageiq-appliance_console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Developers
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -66,6 +66,26 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 3.1.10
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bcrypt_pbkdf
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
76
|
+
- - "<"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '2.0'
|
79
|
+
type: :runtime
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '1.0'
|
86
|
+
- - "<"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '2.0'
|
69
89
|
- !ruby/object:Gem::Dependency
|
70
90
|
name: highline
|
71
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,6 +142,20 @@ dependencies:
|
|
122
142
|
- - "~>"
|
123
143
|
- !ruby/object:Gem::Version
|
124
144
|
version: '0.3'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: net-scp
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: 1.2.1
|
152
|
+
type: :runtime
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 1.2.1
|
125
159
|
- !ruby/object:Gem::Dependency
|
126
160
|
name: optimist
|
127
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,6 +184,26 @@ dependencies:
|
|
150
184
|
- - ">="
|
151
185
|
- !ruby/object:Gem::Version
|
152
186
|
version: '0'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: rbnacl
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '3.2'
|
194
|
+
- - "<"
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '5.0'
|
197
|
+
type: :runtime
|
198
|
+
prerelease: false
|
199
|
+
version_requirements: !ruby/object:Gem::Requirement
|
200
|
+
requirements:
|
201
|
+
- - ">="
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: '3.2'
|
204
|
+
- - "<"
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '5.0'
|
153
207
|
- !ruby/object:Gem::Dependency
|
154
208
|
name: bundler
|
155
209
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,6 +232,20 @@ dependencies:
|
|
178
232
|
- - "~>"
|
179
233
|
- !ruby/object:Gem::Version
|
180
234
|
version: 1.0.0
|
235
|
+
- !ruby/object:Gem::Dependency
|
236
|
+
name: manageiq-style
|
237
|
+
requirement: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
239
|
+
- - ">="
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0'
|
242
|
+
type: :development
|
243
|
+
prerelease: false
|
244
|
+
version_requirements: !ruby/object:Gem::Requirement
|
245
|
+
requirements:
|
246
|
+
- - ">="
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '0'
|
181
249
|
- !ruby/object:Gem::Dependency
|
182
250
|
name: rake
|
183
251
|
requirement: !ruby/object:Gem::Requirement
|
@@ -235,7 +303,7 @@ dependencies:
|
|
235
303
|
- !ruby/object:Gem::Version
|
236
304
|
version: '0'
|
237
305
|
description: ManageIQ Appliance Console
|
238
|
-
email:
|
306
|
+
email:
|
239
307
|
executables:
|
240
308
|
- appliance_console
|
241
309
|
- appliance_console_cli
|
@@ -279,6 +347,7 @@ files:
|
|
279
347
|
- lib/manageiq/appliance_console/logger.rb
|
280
348
|
- lib/manageiq/appliance_console/logging.rb
|
281
349
|
- lib/manageiq/appliance_console/logical_volume_management.rb
|
350
|
+
- lib/manageiq/appliance_console/messaging_configuration.rb
|
282
351
|
- lib/manageiq/appliance_console/oidc_authentication.rb
|
283
352
|
- lib/manageiq/appliance_console/principal.rb
|
284
353
|
- lib/manageiq/appliance_console/prompts.rb
|
@@ -295,7 +364,7 @@ homepage: https://github.com/ManageIQ/manageiq-appliance_console
|
|
295
364
|
licenses:
|
296
365
|
- Apache-2.0
|
297
366
|
metadata: {}
|
298
|
-
post_install_message:
|
367
|
+
post_install_message:
|
299
368
|
rdoc_options: []
|
300
369
|
require_paths:
|
301
370
|
- lib
|
@@ -310,9 +379,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
310
379
|
- !ruby/object:Gem::Version
|
311
380
|
version: '0'
|
312
381
|
requirements: []
|
313
|
-
|
314
|
-
|
315
|
-
signing_key:
|
382
|
+
rubygems_version: 3.0.3
|
383
|
+
signing_key:
|
316
384
|
specification_version: 4
|
317
385
|
summary: ManageIQ Appliance Console
|
318
386
|
test_files: []
|