linux_admin 1.2.2 → 2.0.2
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/README.md +1 -1
- data/lib/linux_admin.rb +0 -8
- data/lib/linux_admin/chrony.rb +1 -0
- data/lib/linux_admin/disk.rb +31 -8
- data/lib/linux_admin/fstab.rb +29 -14
- data/lib/linux_admin/partition.rb +1 -1
- data/lib/linux_admin/registration_system.rb +8 -4
- data/lib/linux_admin/scap.rb +1 -1
- data/lib/linux_admin/service/sys_v_init_service.rb +2 -1
- data/lib/linux_admin/service/systemd_service.rb +6 -2
- data/lib/linux_admin/version.rb +1 -1
- metadata +36 -122
- data/lib/linux_admin/registration_system/rhn.rb +0 -111
- data/spec/chrony_spec.rb +0 -64
- data/spec/common_spec.rb +0 -37
- data/spec/data/rhn/output_rhn-channel_list +0 -2
- data/spec/data/rhn/output_rhn-channel_list_available +0 -4
- data/spec/data/rhn/systemid +0 -57
- data/spec/data/rhn/systemid.missing_system_id +0 -57
- data/spec/data/rpm/cmd_output_for_list_installed +0 -20
- data/spec/data/subscription_manager/output_list_all_available +0 -42
- data/spec/data/subscription_manager/output_list_installed_not_subscribed +0 -19
- data/spec/data/subscription_manager/output_list_installed_subscribed +0 -19
- data/spec/data/subscription_manager/output_orgs +0 -6
- data/spec/data/subscription_manager/output_repos +0 -18
- data/spec/data/time_date/timedatectl_output +0 -14
- data/spec/data/yum/first.repo +0 -19
- data/spec/data/yum/output_repo_list +0 -13
- data/spec/data/yum/output_repoquery_multiple +0 -3
- data/spec/data/yum/output_repoquery_single +0 -1
- data/spec/data/yum/second.repo +0 -9
- data/spec/deb_spec.rb +0 -52
- data/spec/disk_spec.rb +0 -246
- data/spec/distro_spec.rb +0 -77
- data/spec/dns_spec.rb +0 -105
- data/spec/etc_issue_spec.rb +0 -37
- data/spec/fstab_spec.rb +0 -66
- data/spec/hardware_spec.rb +0 -46
- data/spec/hosts_spec.rb +0 -150
- data/spec/ip_address_spec.rb +0 -148
- data/spec/logical_volume_spec.rb +0 -166
- data/spec/mountable_spec.rb +0 -182
- data/spec/network_interface/network_interface_rh_spec.rb +0 -291
- data/spec/network_interface_spec.rb +0 -284
- data/spec/partition_spec.rb +0 -24
- data/spec/physical_volume_spec.rb +0 -101
- data/spec/registration_system_spec.rb +0 -85
- data/spec/rhn_spec.rb +0 -144
- data/spec/rpm_spec.rb +0 -85
- data/spec/scap_spec.rb +0 -48
- data/spec/service/sys_v_init_service_spec.rb +0 -127
- data/spec/service/systemd_service_spec.rb +0 -133
- data/spec/service_spec.rb +0 -54
- data/spec/spec_helper.rb +0 -116
- data/spec/ssh_spec.rb +0 -53
- data/spec/subscription_manager_spec.rb +0 -228
- data/spec/system_spec.rb +0 -15
- data/spec/time_date_spec.rb +0 -106
- data/spec/volume_group_spec.rb +0 -99
- data/spec/yum_spec.rb +0 -155
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ddedcd6ceb14d076ced3bfb96af9c8f29ad37abd2971dacf4f53259e908e86f
|
|
4
|
+
data.tar.gz: 999756b223217fcff6fc317a256e8ee2dfaaa7fc18bb97bbfb4c7216be824079
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 686d0e331bacae73eed707a30d21fcbf188d14aaa61651a9f606202a62b295e4a0d4c45c73f6a62fa7d3946cd062c2fc49cd791013559b6b057fbed50012be5b
|
|
7
|
+
data.tar.gz: 1eabbe2ea7f4bd9ce0deb9f590d50a90e03ac880cf3bd3360025a828be206fa9705145bf73fa92f1cb60c27e2175382760db48cc8504d0e136c689580fe88aab
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# LinuxAdmin
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/linux_admin)
|
|
4
|
-
[](https://travis-ci.com/ManageIQ/linux_admin)
|
|
5
5
|
[](https://codeclimate.com/github/ManageIQ/linux_admin)
|
|
6
6
|
[](https://coveralls.io/r/ManageIQ/linux_admin)
|
|
7
7
|
[](https://gemnasium.com/ManageIQ/linux_admin)
|
data/lib/linux_admin.rb
CHANGED
|
@@ -33,18 +33,10 @@ require 'linux_admin/ip_address'
|
|
|
33
33
|
require 'linux_admin/dns'
|
|
34
34
|
require 'linux_admin/network_interface'
|
|
35
35
|
require 'linux_admin/chrony'
|
|
36
|
-
require 'forwardable'
|
|
37
36
|
|
|
38
37
|
module LinuxAdmin
|
|
39
38
|
class << self
|
|
40
|
-
extend Forwardable
|
|
41
|
-
extend Gem::Deprecate
|
|
42
39
|
attr_writer :logger
|
|
43
|
-
|
|
44
|
-
def_delegators Common, :run
|
|
45
|
-
def_delegators Common, :run!
|
|
46
|
-
deprecate :run, "AwesomeSpawn.run", 2017, 6
|
|
47
|
-
deprecate :run!, "AwesomeSpawn.run!", 2017, 6
|
|
48
40
|
end
|
|
49
41
|
|
|
50
42
|
def self.logger
|
data/lib/linux_admin/chrony.rb
CHANGED
data/lib/linux_admin/disk.rb
CHANGED
|
@@ -6,17 +6,25 @@ module LinuxAdmin
|
|
|
6
6
|
[:id, :start_sector, :end_sector,
|
|
7
7
|
:size, :partition_type, :fs_type]
|
|
8
8
|
|
|
9
|
-
attr_accessor :path
|
|
9
|
+
attr_accessor :path, :model
|
|
10
10
|
|
|
11
|
+
# Collect local disk information via the lsblk command. Only disks with a
|
|
12
|
+
# size greater than zero are returned.
|
|
13
|
+
#
|
|
11
14
|
def self.local
|
|
12
|
-
result = Common.run!(Common.cmd("lsblk"), :params => {:d => nil, :n => nil, :p => nil, :o => "NAME"})
|
|
13
|
-
result.output.split.collect do |
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
result = Common.run!(Common.cmd("lsblk"), :params => {:b => nil, :d => nil, :n => nil, :p => nil, :o => "NAME,SIZE,TYPE,MODEL"})
|
|
16
|
+
result.output.split("\n").collect do |string|
|
|
17
|
+
path, size, type, *model = string.split
|
|
18
|
+
if type.casecmp?('disk') && size.to_i > 0
|
|
19
|
+
self.new(:path => path, :size => size.to_i, :model => model.join(' '))
|
|
20
|
+
end
|
|
21
|
+
end.compact
|
|
16
22
|
end
|
|
17
23
|
|
|
18
24
|
def initialize(args = {})
|
|
19
|
-
@path
|
|
25
|
+
@path = args[:path]
|
|
26
|
+
@model = args[:model] || "unknown"
|
|
27
|
+
@size = args[:size]
|
|
20
28
|
end
|
|
21
29
|
|
|
22
30
|
def size
|
|
@@ -101,11 +109,20 @@ module LinuxAdmin
|
|
|
101
109
|
self
|
|
102
110
|
end
|
|
103
111
|
|
|
112
|
+
def partition_path(id)
|
|
113
|
+
case model
|
|
114
|
+
when "nvme"
|
|
115
|
+
"#{path}p#{id}"
|
|
116
|
+
else
|
|
117
|
+
"#{path}#{id}"
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
|
|
104
121
|
private
|
|
105
122
|
|
|
106
123
|
def str_to_bytes(val, unit)
|
|
107
124
|
case unit
|
|
108
|
-
when 'K' then
|
|
125
|
+
when 'K', 'k' then
|
|
109
126
|
val.to_f * 1_024 # 1.kilobytes
|
|
110
127
|
when 'M' then
|
|
111
128
|
val.to_f * 1_048_576 # 1.megabyte
|
|
@@ -152,11 +169,17 @@ module LinuxAdmin
|
|
|
152
169
|
out.each_line do |l|
|
|
153
170
|
if l =~ /^ [0-9].*/
|
|
154
171
|
split << l.split
|
|
172
|
+
elsif l =~ /^Model:.*/
|
|
173
|
+
parse_model(l)
|
|
155
174
|
end
|
|
156
175
|
end
|
|
157
176
|
split
|
|
158
177
|
end
|
|
159
178
|
|
|
179
|
+
def parse_model(parted_line)
|
|
180
|
+
matches = parted_line.match(/^Model:.*\((?<model>\w+)\)$/)
|
|
181
|
+
@model = matches[:model] if matches
|
|
182
|
+
end
|
|
160
183
|
|
|
161
184
|
def partition_from_parted(output_disk)
|
|
162
185
|
args = {:disk => self}
|
|
@@ -164,7 +187,7 @@ module LinuxAdmin
|
|
|
164
187
|
val = output_disk[i]
|
|
165
188
|
case PARTED_FIELDS[i]
|
|
166
189
|
when :start_sector, :end_sector, :size
|
|
167
|
-
if val =~ /([0-9\.]*)([
|
|
190
|
+
if val =~ /([0-9\.]*)([kKMG])B/
|
|
168
191
|
val = str_to_bytes($1, $2)
|
|
169
192
|
end
|
|
170
193
|
|
data/lib/linux_admin/fstab.rb
CHANGED
|
@@ -25,13 +25,13 @@ module LinuxAdmin
|
|
|
25
25
|
comment = "##{comment}" unless comment.blank?
|
|
26
26
|
columns = columns.chomp.split
|
|
27
27
|
|
|
28
|
-
FSTabEntry.new
|
|
28
|
+
FSTabEntry.new(:device => columns[0],
|
|
29
29
|
:mount_point => columns[1],
|
|
30
30
|
:fs_type => columns[2],
|
|
31
31
|
:mount_options => columns[3],
|
|
32
32
|
:dumpable => columns[4],
|
|
33
33
|
:fsck_order => columns[5],
|
|
34
|
-
:comment => comment
|
|
34
|
+
:comment => comment)
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
def has_content?
|
|
@@ -44,30 +44,35 @@ module LinuxAdmin
|
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
def column_lengths
|
|
47
|
-
|
|
47
|
+
columns.collect { |c| c ? c.to_s.size : 0 }
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
def formatted_columns(max_lengths)
|
|
51
51
|
self.columns.collect.
|
|
52
|
-
with_index { |col, i| col.to_s.rjust(max_lengths[i]) }.join(" ")
|
|
52
|
+
with_index { |col, i| col.to_s.rjust(max_lengths[i]) }.join(" ").rstrip
|
|
53
53
|
end
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
class FSTab
|
|
57
57
|
include Singleton
|
|
58
58
|
|
|
59
|
-
attr_accessor :entries
|
|
60
|
-
attr_accessor :maximum_column_lengths
|
|
61
|
-
|
|
62
59
|
def initialize
|
|
63
60
|
refresh
|
|
64
61
|
end
|
|
65
62
|
|
|
63
|
+
def entries
|
|
64
|
+
@entries ||= LinuxAdmin::FSTab::EntryCollection.new
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
def maximum_column_lengths
|
|
68
|
+
entries.maximum_column_lengths
|
|
69
|
+
end
|
|
70
|
+
|
|
66
71
|
def write!
|
|
67
72
|
content = ''
|
|
68
|
-
|
|
73
|
+
entries.each do |entry|
|
|
69
74
|
if entry.has_content?
|
|
70
|
-
content << entry.formatted_columns(
|
|
75
|
+
content << entry.formatted_columns(entries.maximum_column_lengths) << "\n"
|
|
71
76
|
else
|
|
72
77
|
content << "#{entry.comment}"
|
|
73
78
|
end
|
|
@@ -84,17 +89,27 @@ module LinuxAdmin
|
|
|
84
89
|
end
|
|
85
90
|
|
|
86
91
|
def refresh
|
|
87
|
-
@entries
|
|
88
|
-
@maximum_column_lengths = Array.new(7, 0) # # of columns
|
|
92
|
+
@entries = nil
|
|
89
93
|
read.each do |line|
|
|
90
94
|
entry = FSTabEntry.from_line(line)
|
|
91
|
-
|
|
95
|
+
entries << entry
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
class EntryCollection < Array
|
|
100
|
+
attr_reader :maximum_column_lengths
|
|
92
101
|
|
|
102
|
+
def initialize
|
|
103
|
+
@maximum_column_lengths = Array.new(7, 0) # # of columns
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
def <<(entry)
|
|
93
107
|
lengths = entry.column_lengths
|
|
94
108
|
lengths.each_index do |i|
|
|
95
|
-
|
|
96
|
-
lengths[i] if lengths[i] > @maximum_column_lengths[i]
|
|
109
|
+
maximum_column_lengths[i] = [lengths[i], maximum_column_lengths[i]].max
|
|
97
110
|
end
|
|
111
|
+
|
|
112
|
+
super
|
|
98
113
|
end
|
|
99
114
|
end
|
|
100
115
|
end
|
|
@@ -3,6 +3,7 @@ module LinuxAdmin
|
|
|
3
3
|
include Logging
|
|
4
4
|
|
|
5
5
|
def self.registration_type(reload = false)
|
|
6
|
+
@registration_type ||= nil
|
|
6
7
|
return @registration_type if @registration_type && !reload
|
|
7
8
|
@registration_type = registration_type_uncached
|
|
8
9
|
end
|
|
@@ -23,10 +24,13 @@ module LinuxAdmin
|
|
|
23
24
|
|
|
24
25
|
private
|
|
25
26
|
|
|
27
|
+
def self.respond_to_missing?(method_name, _include_private = false)
|
|
28
|
+
white_list_methods.include?(method_name)
|
|
29
|
+
end
|
|
30
|
+
private_class_method :respond_to_missing?
|
|
31
|
+
|
|
26
32
|
def self.registration_type_uncached
|
|
27
|
-
if
|
|
28
|
-
Rhn
|
|
29
|
-
elsif SubscriptionManager.new.registered?
|
|
33
|
+
if SubscriptionManager.new.registered?
|
|
30
34
|
SubscriptionManager
|
|
31
35
|
else
|
|
32
36
|
self
|
|
@@ -36,7 +40,7 @@ module LinuxAdmin
|
|
|
36
40
|
|
|
37
41
|
def self.white_list_methods
|
|
38
42
|
@white_list_methods ||= begin
|
|
39
|
-
all_methods = RegistrationSystem.instance_methods(false) +
|
|
43
|
+
all_methods = RegistrationSystem.instance_methods(false) + SubscriptionManager.instance_methods(false)
|
|
40
44
|
all_methods.uniq
|
|
41
45
|
end
|
|
42
46
|
end
|
data/lib/linux_admin/scap.rb
CHANGED
|
@@ -14,8 +14,12 @@ module LinuxAdmin
|
|
|
14
14
|
self
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
def start
|
|
18
|
-
|
|
17
|
+
def start(enable = false)
|
|
18
|
+
if enable
|
|
19
|
+
Common.run!(command_path, :params => ["enable", "--now", name])
|
|
20
|
+
else
|
|
21
|
+
Common.run!(command_path, :params => ["start", name])
|
|
22
|
+
end
|
|
19
23
|
self
|
|
20
24
|
end
|
|
21
25
|
|
data/lib/linux_admin/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: linux_admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brandon Dunne
|
|
@@ -21,25 +21,14 @@ authors:
|
|
|
21
21
|
- DuskyPrawn
|
|
22
22
|
- Petr Blaho
|
|
23
23
|
- Nick LaMuro
|
|
24
|
+
- Daniel Berger
|
|
25
|
+
- Satoe Imaishi
|
|
26
|
+
- d-m-u
|
|
24
27
|
autorequire:
|
|
25
28
|
bindir: bin
|
|
26
29
|
cert_chain: []
|
|
27
|
-
date:
|
|
30
|
+
date: 2020-07-09 00:00:00.000000000 Z
|
|
28
31
|
dependencies:
|
|
29
|
-
- !ruby/object:Gem::Dependency
|
|
30
|
-
name: bundler
|
|
31
|
-
requirement: !ruby/object:Gem::Requirement
|
|
32
|
-
requirements:
|
|
33
|
-
- - "~>"
|
|
34
|
-
- !ruby/object:Gem::Version
|
|
35
|
-
version: '1.3'
|
|
36
|
-
type: :development
|
|
37
|
-
prerelease: false
|
|
38
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
39
|
-
requirements:
|
|
40
|
-
- - "~>"
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
version: '1.3'
|
|
43
32
|
- !ruby/object:Gem::Dependency
|
|
44
33
|
name: rake
|
|
45
34
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -130,34 +119,52 @@ dependencies:
|
|
|
130
119
|
requirements:
|
|
131
120
|
- - "~>"
|
|
132
121
|
- !ruby/object:Gem::Version
|
|
133
|
-
version: '
|
|
122
|
+
version: '4.0'
|
|
134
123
|
type: :runtime
|
|
135
124
|
prerelease: false
|
|
136
125
|
version_requirements: !ruby/object:Gem::Requirement
|
|
137
126
|
requirements:
|
|
138
127
|
- - "~>"
|
|
139
128
|
- !ruby/object:Gem::Version
|
|
140
|
-
version: '
|
|
129
|
+
version: '4.0'
|
|
141
130
|
- !ruby/object:Gem::Dependency
|
|
142
131
|
name: nokogiri
|
|
143
132
|
requirement: !ruby/object:Gem::Requirement
|
|
144
133
|
requirements:
|
|
145
134
|
- - ">="
|
|
146
135
|
- !ruby/object:Gem::Version
|
|
147
|
-
version: 1.8.
|
|
148
|
-
- - "
|
|
136
|
+
version: 1.8.5
|
|
137
|
+
- - "!="
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: 1.10.0
|
|
140
|
+
- - "!="
|
|
141
|
+
- !ruby/object:Gem::Version
|
|
142
|
+
version: 1.10.1
|
|
143
|
+
- - "!="
|
|
149
144
|
- !ruby/object:Gem::Version
|
|
150
|
-
version:
|
|
145
|
+
version: 1.10.2
|
|
146
|
+
- - "<"
|
|
147
|
+
- !ruby/object:Gem::Version
|
|
148
|
+
version: '2'
|
|
151
149
|
type: :runtime
|
|
152
150
|
prerelease: false
|
|
153
151
|
version_requirements: !ruby/object:Gem::Requirement
|
|
154
152
|
requirements:
|
|
155
153
|
- - ">="
|
|
156
154
|
- !ruby/object:Gem::Version
|
|
157
|
-
version: 1.8.
|
|
158
|
-
- - "
|
|
155
|
+
version: 1.8.5
|
|
156
|
+
- - "!="
|
|
157
|
+
- !ruby/object:Gem::Version
|
|
158
|
+
version: 1.10.0
|
|
159
|
+
- - "!="
|
|
160
|
+
- !ruby/object:Gem::Version
|
|
161
|
+
version: 1.10.1
|
|
162
|
+
- - "!="
|
|
163
|
+
- !ruby/object:Gem::Version
|
|
164
|
+
version: 1.10.2
|
|
165
|
+
- - "<"
|
|
159
166
|
- !ruby/object:Gem::Version
|
|
160
|
-
version: '
|
|
167
|
+
version: '2'
|
|
161
168
|
- !ruby/object:Gem::Dependency
|
|
162
169
|
name: openscap
|
|
163
170
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -209,6 +216,9 @@ email:
|
|
|
209
216
|
- 32548790+DuskyPrawn@users.noreply.github.com
|
|
210
217
|
- pblaho@redhat.com
|
|
211
218
|
- nicklamuro@gmail.com
|
|
219
|
+
- djberg96@gmail.com
|
|
220
|
+
- simaishi@redhat.com
|
|
221
|
+
- drewuhlmann@gmail.com
|
|
212
222
|
executables: []
|
|
213
223
|
extensions: []
|
|
214
224
|
extra_rdoc_files: []
|
|
@@ -239,7 +249,6 @@ files:
|
|
|
239
249
|
- lib/linux_admin/partition.rb
|
|
240
250
|
- lib/linux_admin/physical_volume.rb
|
|
241
251
|
- lib/linux_admin/registration_system.rb
|
|
242
|
-
- lib/linux_admin/registration_system/rhn.rb
|
|
243
252
|
- lib/linux_admin/registration_system/subscription_manager.rb
|
|
244
253
|
- lib/linux_admin/rpm.rb
|
|
245
254
|
- lib/linux_admin/scap.rb
|
|
@@ -255,53 +264,6 @@ files:
|
|
|
255
264
|
- lib/linux_admin/volume_group.rb
|
|
256
265
|
- lib/linux_admin/yum.rb
|
|
257
266
|
- lib/linux_admin/yum/repo_file.rb
|
|
258
|
-
- spec/chrony_spec.rb
|
|
259
|
-
- spec/common_spec.rb
|
|
260
|
-
- spec/data/rhn/output_rhn-channel_list
|
|
261
|
-
- spec/data/rhn/output_rhn-channel_list_available
|
|
262
|
-
- spec/data/rhn/systemid
|
|
263
|
-
- spec/data/rhn/systemid.missing_system_id
|
|
264
|
-
- spec/data/rpm/cmd_output_for_list_installed
|
|
265
|
-
- spec/data/subscription_manager/output_list_all_available
|
|
266
|
-
- spec/data/subscription_manager/output_list_installed_not_subscribed
|
|
267
|
-
- spec/data/subscription_manager/output_list_installed_subscribed
|
|
268
|
-
- spec/data/subscription_manager/output_orgs
|
|
269
|
-
- spec/data/subscription_manager/output_repos
|
|
270
|
-
- spec/data/time_date/timedatectl_output
|
|
271
|
-
- spec/data/yum/first.repo
|
|
272
|
-
- spec/data/yum/output_repo_list
|
|
273
|
-
- spec/data/yum/output_repoquery_multiple
|
|
274
|
-
- spec/data/yum/output_repoquery_single
|
|
275
|
-
- spec/data/yum/second.repo
|
|
276
|
-
- spec/deb_spec.rb
|
|
277
|
-
- spec/disk_spec.rb
|
|
278
|
-
- spec/distro_spec.rb
|
|
279
|
-
- spec/dns_spec.rb
|
|
280
|
-
- spec/etc_issue_spec.rb
|
|
281
|
-
- spec/fstab_spec.rb
|
|
282
|
-
- spec/hardware_spec.rb
|
|
283
|
-
- spec/hosts_spec.rb
|
|
284
|
-
- spec/ip_address_spec.rb
|
|
285
|
-
- spec/logical_volume_spec.rb
|
|
286
|
-
- spec/mountable_spec.rb
|
|
287
|
-
- spec/network_interface/network_interface_rh_spec.rb
|
|
288
|
-
- spec/network_interface_spec.rb
|
|
289
|
-
- spec/partition_spec.rb
|
|
290
|
-
- spec/physical_volume_spec.rb
|
|
291
|
-
- spec/registration_system_spec.rb
|
|
292
|
-
- spec/rhn_spec.rb
|
|
293
|
-
- spec/rpm_spec.rb
|
|
294
|
-
- spec/scap_spec.rb
|
|
295
|
-
- spec/service/sys_v_init_service_spec.rb
|
|
296
|
-
- spec/service/systemd_service_spec.rb
|
|
297
|
-
- spec/service_spec.rb
|
|
298
|
-
- spec/spec_helper.rb
|
|
299
|
-
- spec/ssh_spec.rb
|
|
300
|
-
- spec/subscription_manager_spec.rb
|
|
301
|
-
- spec/system_spec.rb
|
|
302
|
-
- spec/time_date_spec.rb
|
|
303
|
-
- spec/volume_group_spec.rb
|
|
304
|
-
- spec/yum_spec.rb
|
|
305
267
|
homepage: http://github.com/ManageIQ/linux_admin
|
|
306
268
|
licenses:
|
|
307
269
|
- MIT
|
|
@@ -321,56 +283,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
321
283
|
- !ruby/object:Gem::Version
|
|
322
284
|
version: '0'
|
|
323
285
|
requirements: []
|
|
324
|
-
|
|
325
|
-
rubygems_version: 2.7.7
|
|
286
|
+
rubygems_version: 3.0.6
|
|
326
287
|
signing_key:
|
|
327
288
|
specification_version: 4
|
|
328
289
|
summary: LinuxAdmin is a module to simplify management of linux systems.
|
|
329
|
-
test_files:
|
|
330
|
-
- spec/chrony_spec.rb
|
|
331
|
-
- spec/common_spec.rb
|
|
332
|
-
- spec/data/rhn/output_rhn-channel_list
|
|
333
|
-
- spec/data/rhn/output_rhn-channel_list_available
|
|
334
|
-
- spec/data/rhn/systemid
|
|
335
|
-
- spec/data/rhn/systemid.missing_system_id
|
|
336
|
-
- spec/data/rpm/cmd_output_for_list_installed
|
|
337
|
-
- spec/data/subscription_manager/output_list_all_available
|
|
338
|
-
- spec/data/subscription_manager/output_list_installed_not_subscribed
|
|
339
|
-
- spec/data/subscription_manager/output_list_installed_subscribed
|
|
340
|
-
- spec/data/subscription_manager/output_orgs
|
|
341
|
-
- spec/data/subscription_manager/output_repos
|
|
342
|
-
- spec/data/time_date/timedatectl_output
|
|
343
|
-
- spec/data/yum/first.repo
|
|
344
|
-
- spec/data/yum/output_repo_list
|
|
345
|
-
- spec/data/yum/output_repoquery_multiple
|
|
346
|
-
- spec/data/yum/output_repoquery_single
|
|
347
|
-
- spec/data/yum/second.repo
|
|
348
|
-
- spec/deb_spec.rb
|
|
349
|
-
- spec/disk_spec.rb
|
|
350
|
-
- spec/distro_spec.rb
|
|
351
|
-
- spec/dns_spec.rb
|
|
352
|
-
- spec/etc_issue_spec.rb
|
|
353
|
-
- spec/fstab_spec.rb
|
|
354
|
-
- spec/hardware_spec.rb
|
|
355
|
-
- spec/hosts_spec.rb
|
|
356
|
-
- spec/ip_address_spec.rb
|
|
357
|
-
- spec/logical_volume_spec.rb
|
|
358
|
-
- spec/mountable_spec.rb
|
|
359
|
-
- spec/network_interface/network_interface_rh_spec.rb
|
|
360
|
-
- spec/network_interface_spec.rb
|
|
361
|
-
- spec/partition_spec.rb
|
|
362
|
-
- spec/physical_volume_spec.rb
|
|
363
|
-
- spec/registration_system_spec.rb
|
|
364
|
-
- spec/rhn_spec.rb
|
|
365
|
-
- spec/rpm_spec.rb
|
|
366
|
-
- spec/scap_spec.rb
|
|
367
|
-
- spec/service/sys_v_init_service_spec.rb
|
|
368
|
-
- spec/service/systemd_service_spec.rb
|
|
369
|
-
- spec/service_spec.rb
|
|
370
|
-
- spec/spec_helper.rb
|
|
371
|
-
- spec/ssh_spec.rb
|
|
372
|
-
- spec/subscription_manager_spec.rb
|
|
373
|
-
- spec/system_spec.rb
|
|
374
|
-
- spec/time_date_spec.rb
|
|
375
|
-
- spec/volume_group_spec.rb
|
|
376
|
-
- spec/yum_spec.rb
|
|
290
|
+
test_files: []
|