onceover 3.19.0 → 3.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitattributes +2 -0
- data/.github/workflows/tests.yaml +40 -0
- data/.rubocop.yml +20 -2
- data/Gemfile +0 -13
- data/README.md +3 -1
- data/Rakefile +8 -5
- data/factsets/CentOS-8.3.2011-64.json +485 -0
- data/factsets/Debian-10.4-64.json +476 -0
- data/factsets/Debian-8.11-64.json +480 -0
- data/factsets/Debian-9.12-64.json +476 -0
- data/factsets/Ubuntu-20.04-64.json +504 -0
- data/factsets/Windows_Server-2008r2-64.json +184 -184
- data/factsets/Windows_Server-2012r2-64.json +165 -165
- data/factsets/windows-10-64.json +104 -104
- data/features/cache.feature +1 -1
- data/features/step_definitions/cache.rb +4 -4
- data/features/step_definitions/common.rb +10 -8
- data/features/step_definitions/init.rb +2 -2
- data/features/zzz_run.feature +1 -1
- data/lib/onceover/controlrepo.rb +7 -2
- data/lib/onceover/deploy.rb +1 -0
- data/lib/onceover/group.rb +2 -0
- data/lib/onceover/rspec/formatters.rb +6 -1
- data/onceover.gemspec +5 -2
- data/spec/fixtures/controlrepos/caching/Puppetfile +17 -17
- data/spec/fixtures/controlrepos/caching/manifests/site.pp +1 -0
- data/spec/fixtures/controlrepos/windows/Puppetfile +5 -5
- metadata +71 -18
- data/.travis.yml +0 -19
- data/appveyor.yml +0 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 645e450894eb3599a076f3c32c94ad73f88ad9177bb739e7ae56964bdeab1d22
|
4
|
+
data.tar.gz: 3ff596aa3b7a2be1edf18c9407a8fefe61b354e3dfb6a9fe4ef95f1a3e0c59d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ec23df5e72580ffa318b881def6a89f0fa336e11476dd9ce37ebdd3611976dfb26a0b48e3395f1e6d0c031fb63aaf517efcf9c7523c199115efafb2ecbae095
|
7
|
+
data.tar.gz: 3b505e9c89887b0656d197066d36b75004b2a899eed3941c93948c2349623412a6b78036af38e02eecac1a3f7131870be8027299337b807621363304f467f228
|
data/.gitattributes
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
name: Tests
|
2
|
+
on:
|
3
|
+
- push
|
4
|
+
- pull_request
|
5
|
+
jobs:
|
6
|
+
full_tests:
|
7
|
+
strategy:
|
8
|
+
fail-fast: false
|
9
|
+
matrix:
|
10
|
+
os:
|
11
|
+
- windows-2016
|
12
|
+
- ubuntu-latest
|
13
|
+
- macos-latest
|
14
|
+
puppet:
|
15
|
+
- "~> 5.0"
|
16
|
+
- "~> 6.0"
|
17
|
+
- "~> 7.0"
|
18
|
+
include:
|
19
|
+
- puppet: "~> 5.0"
|
20
|
+
ruby: 2.4
|
21
|
+
- puppet: "~> 6.0"
|
22
|
+
ruby: 2.5
|
23
|
+
- puppet: "~> 7.0"
|
24
|
+
ruby: 2.7
|
25
|
+
|
26
|
+
runs-on: ${{ matrix.os }}
|
27
|
+
steps:
|
28
|
+
- uses: actions/checkout@v2
|
29
|
+
- uses: ruby/setup-ruby@v1
|
30
|
+
with:
|
31
|
+
ruby-version: ${{ matrix.ruby }}
|
32
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
33
|
+
env:
|
34
|
+
PUPPET_VERSION: ${{ matrix.puppet }}
|
35
|
+
- name: Set long paths on Windows
|
36
|
+
if: ${{ matrix.os == 'windows-2016' }}
|
37
|
+
run: Set-ItemProperty 'HKLM:\System\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -value 1
|
38
|
+
- env:
|
39
|
+
PUPPET_VERSION: ${{ matrix.puppet }}
|
40
|
+
run: bundle exec rake full_tests
|
data/.rubocop.yml
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
AllCops:
|
2
|
+
TargetRubyVersion: 2.4 # this should match the oldest version in .github/workflows/tests.yaml's matrix
|
3
|
+
NewCops: enable
|
2
4
|
Include:
|
3
5
|
- "lib/**/*.rb"
|
4
6
|
- "ext/**/*.rb"
|
@@ -10,6 +12,21 @@ AllCops:
|
|
10
12
|
- "tasks/**/*"
|
11
13
|
- "vendor/**/*"
|
12
14
|
|
15
|
+
# Turning off some failing checks until it is determined which one is breaking things
|
16
|
+
Style/AccessorGrouping:
|
17
|
+
Enabled: false
|
18
|
+
Style/CaseLikeIf:
|
19
|
+
Enabled: false
|
20
|
+
Style/GlobalStdStream:
|
21
|
+
Enabled: false
|
22
|
+
Style/RedundantRegexpCharacterClass:
|
23
|
+
Enabled: false
|
24
|
+
Style/SoleNestedConditional:
|
25
|
+
Enabled: false
|
26
|
+
Style/StringConcatenation:
|
27
|
+
Enabled: false
|
28
|
+
# end turning things off for debugging
|
29
|
+
|
13
30
|
Layout/ConditionPosition:
|
14
31
|
Enabled: true
|
15
32
|
|
@@ -19,7 +36,7 @@ Lint/ElseLayout:
|
|
19
36
|
Lint/UnreachableCode:
|
20
37
|
Enabled: true
|
21
38
|
|
22
|
-
Lint/
|
39
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
23
40
|
Enabled: true
|
24
41
|
|
25
42
|
# MAYBE useful - no return inside ensure block.
|
@@ -650,7 +667,8 @@ Style/ZeroLengthPredicate:
|
|
650
667
|
|
651
668
|
Bundler/OrderedGems:
|
652
669
|
Enabled: false
|
653
|
-
|
670
|
+
|
671
|
+
# Enforce LF line endings, even when on Windows
|
654
672
|
Layout/EndOfLine:
|
655
673
|
EnforcedStyle: lf
|
656
674
|
|
data/Gemfile
CHANGED
@@ -17,16 +17,3 @@ end
|
|
17
17
|
if File.exist?(File.join(Dir.home, '.gemfile'))
|
18
18
|
eval(File.read(File.join(Dir.home, '.gemfile')), binding)
|
19
19
|
end
|
20
|
-
|
21
|
-
if ENV['APPVEYOR'] == 'True'
|
22
|
-
# R10k needs to be pinned to this until the next release after 3.1.1
|
23
|
-
# in order to not have symlinks and therefor work on windows
|
24
|
-
gem 'r10k', git: 'https://github.com/puppetlabs/r10k.git'
|
25
|
-
end
|
26
|
-
|
27
|
-
group :development do
|
28
|
-
gem 'cucumber', '~> 2.0'
|
29
|
-
gem 'pry', '~> 0.10.0'
|
30
|
-
gem 'rubocop', '~> 0.82.0'
|
31
|
-
gem 'rubygems-tasks', '~> 0.2.0'
|
32
|
-
end
|
data/README.md
CHANGED
@@ -6,7 +6,9 @@ Onceover is a tool to automatically run basic tests on an entire Puppet control
|
|
6
6
|
|
7
7
|
It includes automatic parsing of the `Puppetfile`, `environment.conf` and others in order to stop silly mistakes ever reaching your Puppet Master!
|
8
8
|
|
9
|
-
|
9
|
+
**New in v3.19.1: I've reversed the decision to have onceover use `site.pp` in the same way Puppet does. From now on your `manifest` setting in `environment.conf` will be ignored and your `site.pp` will only be used if you explicitly set the `manifest` option in the CLI or config file.**
|
10
|
+
|
11
|
+
[![Build Status](https://travis-ci.com/dylanratcliffe/onceover.svg?branch=master)](https://travis-ci.com/dylanratcliffe/onceover) [![Build status](https://ci.appveyor.com/api/projects/status/2ys2ggkgln69hmyf/branch/master?svg=true)](https://ci.appveyor.com/project/dylanratcliffe/onceover/branch/master)
|
10
12
|
|
11
13
|
## Table of Contents
|
12
14
|
|
data/Rakefile
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'rubygems/tasks'
|
2
2
|
require 'rspec/core/rake_task'
|
3
3
|
require 'cucumber/rake/task'
|
4
|
+
require 'rubocop/rake_task'
|
4
5
|
Gem::Tasks.new
|
5
6
|
|
6
7
|
def windows?
|
@@ -44,11 +45,13 @@ task :syntax do
|
|
44
45
|
end
|
45
46
|
end
|
46
47
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
48
|
+
RuboCop::RakeTask.new(:rubocop) do |task|
|
49
|
+
task.options << '--display-cop-names'
|
50
|
+
task.formatters = ['simple']
|
51
|
+
task.patterns = [
|
52
|
+
"lib/**/*.rb",
|
53
|
+
"ext/**/*.rb",
|
54
|
+
]
|
52
55
|
end
|
53
56
|
|
54
57
|
task :fixtures do
|
@@ -0,0 +1,485 @@
|
|
1
|
+
{
|
2
|
+
"name": "localhost.localdomain",
|
3
|
+
"values": {
|
4
|
+
"aio_agent_version": "6.19.1",
|
5
|
+
"architecture": "x86_64",
|
6
|
+
"augeas": {
|
7
|
+
"version": "1.12.0"
|
8
|
+
},
|
9
|
+
"augeasversion": "1.12.0",
|
10
|
+
"bios_release_date": "04/01/2014",
|
11
|
+
"bios_vendor": "SeaBIOS",
|
12
|
+
"bios_version": "1.13.0-1ubuntu1",
|
13
|
+
"blockdevice_vda_size": 11811160064,
|
14
|
+
"blockdevice_vda_vendor": "0x1af4",
|
15
|
+
"blockdevices": "vda",
|
16
|
+
"chassistype": "Other",
|
17
|
+
"disks": {
|
18
|
+
"vda": {
|
19
|
+
"size": "11.00 GiB",
|
20
|
+
"size_bytes": 11811160064,
|
21
|
+
"vendor": "0x1af4"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"dmi": {
|
25
|
+
"bios": {
|
26
|
+
"release_date": "04/01/2014",
|
27
|
+
"vendor": "SeaBIOS",
|
28
|
+
"version": "1.13.0-1ubuntu1"
|
29
|
+
},
|
30
|
+
"chassis": {
|
31
|
+
"type": "Other"
|
32
|
+
},
|
33
|
+
"manufacturer": "QEMU",
|
34
|
+
"product": {
|
35
|
+
"name": "Standard PC (i440FX + PIIX, 1996)"
|
36
|
+
}
|
37
|
+
},
|
38
|
+
"domain": "localdomain",
|
39
|
+
"facterversion": "3.14.14",
|
40
|
+
"filesystems": "xfs",
|
41
|
+
"fips_enabled": false,
|
42
|
+
"fqdn": "localhost.localdomain",
|
43
|
+
"gid": "vagrant",
|
44
|
+
"hardwareisa": "x86_64",
|
45
|
+
"hardwaremodel": "x86_64",
|
46
|
+
"hostname": "localhost",
|
47
|
+
"hypervisors": {
|
48
|
+
"kvm": {
|
49
|
+
}
|
50
|
+
},
|
51
|
+
"id": "vagrant",
|
52
|
+
"identity": {
|
53
|
+
"gid": 1000,
|
54
|
+
"group": "vagrant",
|
55
|
+
"privileged": false,
|
56
|
+
"uid": 1000,
|
57
|
+
"user": "vagrant"
|
58
|
+
},
|
59
|
+
"interfaces": "eth0,lo",
|
60
|
+
"ipaddress": "192.168.121.201",
|
61
|
+
"ipaddress6": "fe80::5054:ff:fe4c:b937",
|
62
|
+
"ipaddress6_eth0": "fe80::5054:ff:fe4c:b937",
|
63
|
+
"ipaddress6_lo": "::1",
|
64
|
+
"ipaddress_eth0": "192.168.121.201",
|
65
|
+
"ipaddress_lo": "127.0.0.1",
|
66
|
+
"is_virtual": true,
|
67
|
+
"kernel": "Linux",
|
68
|
+
"kernelmajversion": "4.18",
|
69
|
+
"kernelrelease": "4.18.0-240.1.1.el8_3.x86_64",
|
70
|
+
"kernelversion": "4.18.0",
|
71
|
+
"load_averages": {
|
72
|
+
"15m": 0.07,
|
73
|
+
"1m": 0.59,
|
74
|
+
"5m": 0.19
|
75
|
+
},
|
76
|
+
"macaddress": "52:54:00:4c:b9:37",
|
77
|
+
"macaddress_eth0": "52:54:00:4c:b9:37",
|
78
|
+
"manufacturer": "QEMU",
|
79
|
+
"memory": {
|
80
|
+
"swap": {
|
81
|
+
"available": "1.98 GiB",
|
82
|
+
"available_bytes": 2127929344,
|
83
|
+
"capacity": "0.91%",
|
84
|
+
"total": "2.00 GiB",
|
85
|
+
"total_bytes": 2147479552,
|
86
|
+
"used": "18.64 MiB",
|
87
|
+
"used_bytes": 19550208
|
88
|
+
},
|
89
|
+
"system": {
|
90
|
+
"available": "235.07 MiB",
|
91
|
+
"available_bytes": 246493184,
|
92
|
+
"capacity": "49.45%",
|
93
|
+
"total": "465.05 MiB",
|
94
|
+
"total_bytes": 487636992,
|
95
|
+
"used": "229.97 MiB",
|
96
|
+
"used_bytes": 241143808
|
97
|
+
}
|
98
|
+
},
|
99
|
+
"memoryfree": "235.07 MiB",
|
100
|
+
"memoryfree_mb": 235.07421875,
|
101
|
+
"memorysize": "465.05 MiB",
|
102
|
+
"memorysize_mb": 465.046875,
|
103
|
+
"mountpoints": {
|
104
|
+
"/": {
|
105
|
+
"available": "6.47 GiB",
|
106
|
+
"available_bytes": 6952439808,
|
107
|
+
"capacity": "35.18%",
|
108
|
+
"device": "/dev/vda1",
|
109
|
+
"filesystem": "xfs",
|
110
|
+
"options": [
|
111
|
+
"rw",
|
112
|
+
"seclabel",
|
113
|
+
"relatime",
|
114
|
+
"attr2",
|
115
|
+
"inode64",
|
116
|
+
"logbufs=8",
|
117
|
+
"logbsize=32k",
|
118
|
+
"noquota"
|
119
|
+
],
|
120
|
+
"size": "9.99 GiB",
|
121
|
+
"size_bytes": 10725883904,
|
122
|
+
"used": "3.51 GiB",
|
123
|
+
"used_bytes": 3773444096
|
124
|
+
},
|
125
|
+
"/dev": {
|
126
|
+
"available": "214.51 MiB",
|
127
|
+
"available_bytes": 224927744,
|
128
|
+
"capacity": "0%",
|
129
|
+
"device": "devtmpfs",
|
130
|
+
"filesystem": "devtmpfs",
|
131
|
+
"options": [
|
132
|
+
"rw",
|
133
|
+
"seclabel",
|
134
|
+
"nosuid",
|
135
|
+
"size=219656k",
|
136
|
+
"nr_inodes=54914",
|
137
|
+
"mode=755"
|
138
|
+
],
|
139
|
+
"size": "214.51 MiB",
|
140
|
+
"size_bytes": 224927744,
|
141
|
+
"used": "0 bytes",
|
142
|
+
"used_bytes": 0
|
143
|
+
},
|
144
|
+
"/dev/hugepages": {
|
145
|
+
"available": "0 bytes",
|
146
|
+
"available_bytes": 0,
|
147
|
+
"capacity": "100%",
|
148
|
+
"device": "hugetlbfs",
|
149
|
+
"filesystem": "hugetlbfs",
|
150
|
+
"options": [
|
151
|
+
"rw",
|
152
|
+
"seclabel",
|
153
|
+
"relatime",
|
154
|
+
"pagesize=2M"
|
155
|
+
],
|
156
|
+
"size": "0 bytes",
|
157
|
+
"size_bytes": 0,
|
158
|
+
"used": "0 bytes",
|
159
|
+
"used_bytes": 0
|
160
|
+
},
|
161
|
+
"/dev/mqueue": {
|
162
|
+
"available": "0 bytes",
|
163
|
+
"available_bytes": 0,
|
164
|
+
"capacity": "100%",
|
165
|
+
"device": "mqueue",
|
166
|
+
"filesystem": "mqueue",
|
167
|
+
"options": [
|
168
|
+
"rw",
|
169
|
+
"seclabel",
|
170
|
+
"relatime"
|
171
|
+
],
|
172
|
+
"size": "0 bytes",
|
173
|
+
"size_bytes": 0,
|
174
|
+
"used": "0 bytes",
|
175
|
+
"used_bytes": 0
|
176
|
+
},
|
177
|
+
"/dev/pts": {
|
178
|
+
"available": "0 bytes",
|
179
|
+
"available_bytes": 0,
|
180
|
+
"capacity": "100%",
|
181
|
+
"device": "devpts",
|
182
|
+
"filesystem": "devpts",
|
183
|
+
"options": [
|
184
|
+
"rw",
|
185
|
+
"seclabel",
|
186
|
+
"nosuid",
|
187
|
+
"noexec",
|
188
|
+
"relatime",
|
189
|
+
"gid=5",
|
190
|
+
"mode=620",
|
191
|
+
"ptmxmode=000"
|
192
|
+
],
|
193
|
+
"size": "0 bytes",
|
194
|
+
"size_bytes": 0,
|
195
|
+
"used": "0 bytes",
|
196
|
+
"used_bytes": 0
|
197
|
+
},
|
198
|
+
"/dev/shm": {
|
199
|
+
"available": "232.52 MiB",
|
200
|
+
"available_bytes": 243818496,
|
201
|
+
"capacity": "0%",
|
202
|
+
"device": "tmpfs",
|
203
|
+
"filesystem": "tmpfs",
|
204
|
+
"options": [
|
205
|
+
"rw",
|
206
|
+
"seclabel",
|
207
|
+
"nosuid",
|
208
|
+
"nodev"
|
209
|
+
],
|
210
|
+
"size": "232.52 MiB",
|
211
|
+
"size_bytes": 243818496,
|
212
|
+
"used": "0 bytes",
|
213
|
+
"used_bytes": 0
|
214
|
+
},
|
215
|
+
"/run": {
|
216
|
+
"available": "229.23 MiB",
|
217
|
+
"available_bytes": 240369664,
|
218
|
+
"capacity": "1.41%",
|
219
|
+
"device": "tmpfs",
|
220
|
+
"filesystem": "tmpfs",
|
221
|
+
"options": [
|
222
|
+
"rw",
|
223
|
+
"seclabel",
|
224
|
+
"nosuid",
|
225
|
+
"nodev",
|
226
|
+
"mode=755"
|
227
|
+
],
|
228
|
+
"size": "232.52 MiB",
|
229
|
+
"size_bytes": 243818496,
|
230
|
+
"used": "3.29 MiB",
|
231
|
+
"used_bytes": 3448832
|
232
|
+
},
|
233
|
+
"/run/user/1000": {
|
234
|
+
"available": "46.50 MiB",
|
235
|
+
"available_bytes": 48762880,
|
236
|
+
"capacity": "0%",
|
237
|
+
"device": "tmpfs",
|
238
|
+
"filesystem": "tmpfs",
|
239
|
+
"options": [
|
240
|
+
"rw",
|
241
|
+
"seclabel",
|
242
|
+
"nosuid",
|
243
|
+
"nodev",
|
244
|
+
"relatime",
|
245
|
+
"size=47620k",
|
246
|
+
"mode=700",
|
247
|
+
"uid=1000",
|
248
|
+
"gid=1000"
|
249
|
+
],
|
250
|
+
"size": "46.50 MiB",
|
251
|
+
"size_bytes": 48762880,
|
252
|
+
"used": "0 bytes",
|
253
|
+
"used_bytes": 0
|
254
|
+
},
|
255
|
+
"/sys/fs/cgroup": {
|
256
|
+
"available": "232.52 MiB",
|
257
|
+
"available_bytes": 243818496,
|
258
|
+
"capacity": "0%",
|
259
|
+
"device": "tmpfs",
|
260
|
+
"filesystem": "tmpfs",
|
261
|
+
"options": [
|
262
|
+
"ro",
|
263
|
+
"seclabel",
|
264
|
+
"nosuid",
|
265
|
+
"nodev",
|
266
|
+
"noexec",
|
267
|
+
"mode=755"
|
268
|
+
],
|
269
|
+
"size": "232.52 MiB",
|
270
|
+
"size_bytes": 243818496,
|
271
|
+
"used": "0 bytes",
|
272
|
+
"used_bytes": 0
|
273
|
+
},
|
274
|
+
"/var/lib/nfs/rpc_pipefs": {
|
275
|
+
"available": "0 bytes",
|
276
|
+
"available_bytes": 0,
|
277
|
+
"capacity": "100%",
|
278
|
+
"device": "sunrpc",
|
279
|
+
"filesystem": "rpc_pipefs",
|
280
|
+
"options": [
|
281
|
+
"rw",
|
282
|
+
"relatime"
|
283
|
+
],
|
284
|
+
"size": "0 bytes",
|
285
|
+
"size_bytes": 0,
|
286
|
+
"used": "0 bytes",
|
287
|
+
"used_bytes": 0
|
288
|
+
}
|
289
|
+
},
|
290
|
+
"mtu_eth0": 1500,
|
291
|
+
"mtu_lo": 65536,
|
292
|
+
"netmask": "255.255.255.0",
|
293
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
294
|
+
"netmask6_eth0": "ffff:ffff:ffff:ffff::",
|
295
|
+
"netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
296
|
+
"netmask_eth0": "255.255.255.0",
|
297
|
+
"netmask_lo": "255.0.0.0",
|
298
|
+
"network": "192.168.121.0",
|
299
|
+
"network6": "fe80::",
|
300
|
+
"network6_eth0": "fe80::",
|
301
|
+
"network6_lo": "::1",
|
302
|
+
"network_eth0": "192.168.121.0",
|
303
|
+
"network_lo": "127.0.0.0",
|
304
|
+
"networking": {
|
305
|
+
"domain": "localdomain",
|
306
|
+
"fqdn": "localhost.localdomain",
|
307
|
+
"hostname": "localhost",
|
308
|
+
"interfaces": {
|
309
|
+
"eth0": {
|
310
|
+
"bindings": [
|
311
|
+
{
|
312
|
+
"address": "192.168.121.201",
|
313
|
+
"netmask": "255.255.255.0",
|
314
|
+
"network": "192.168.121.0"
|
315
|
+
}
|
316
|
+
],
|
317
|
+
"bindings6": [
|
318
|
+
{
|
319
|
+
"address": "fe80::5054:ff:fe4c:b937",
|
320
|
+
"netmask": "ffff:ffff:ffff:ffff::",
|
321
|
+
"network": "fe80::"
|
322
|
+
}
|
323
|
+
],
|
324
|
+
"ip": "192.168.121.201",
|
325
|
+
"ip6": "fe80::5054:ff:fe4c:b937",
|
326
|
+
"mac": "52:54:00:4c:b9:37",
|
327
|
+
"mtu": 1500,
|
328
|
+
"netmask": "255.255.255.0",
|
329
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
330
|
+
"network": "192.168.121.0",
|
331
|
+
"network6": "fe80::",
|
332
|
+
"scope6": "link"
|
333
|
+
},
|
334
|
+
"lo": {
|
335
|
+
"bindings": [
|
336
|
+
{
|
337
|
+
"address": "127.0.0.1",
|
338
|
+
"netmask": "255.0.0.0",
|
339
|
+
"network": "127.0.0.0"
|
340
|
+
}
|
341
|
+
],
|
342
|
+
"bindings6": [
|
343
|
+
{
|
344
|
+
"address": "::1",
|
345
|
+
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
346
|
+
"network": "::1"
|
347
|
+
}
|
348
|
+
],
|
349
|
+
"ip": "127.0.0.1",
|
350
|
+
"ip6": "::1",
|
351
|
+
"mtu": 65536,
|
352
|
+
"netmask": "255.0.0.0",
|
353
|
+
"netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
354
|
+
"network": "127.0.0.0",
|
355
|
+
"network6": "::1",
|
356
|
+
"scope6": "host"
|
357
|
+
}
|
358
|
+
},
|
359
|
+
"ip": "192.168.121.201",
|
360
|
+
"ip6": "fe80::5054:ff:fe4c:b937",
|
361
|
+
"mac": "52:54:00:4c:b9:37",
|
362
|
+
"mtu": 1500,
|
363
|
+
"netmask": "255.255.255.0",
|
364
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
365
|
+
"network": "192.168.121.0",
|
366
|
+
"network6": "fe80::",
|
367
|
+
"primary": "eth0",
|
368
|
+
"scope6": "link"
|
369
|
+
},
|
370
|
+
"operatingsystem": "CentOS",
|
371
|
+
"operatingsystemmajrelease": "8",
|
372
|
+
"operatingsystemrelease": "8.3.2011",
|
373
|
+
"os": {
|
374
|
+
"architecture": "x86_64",
|
375
|
+
"family": "RedHat",
|
376
|
+
"hardware": "x86_64",
|
377
|
+
"name": "CentOS",
|
378
|
+
"release": {
|
379
|
+
"full": "8.3.2011",
|
380
|
+
"major": "8",
|
381
|
+
"minor": "3"
|
382
|
+
},
|
383
|
+
"selinux": {
|
384
|
+
"config_mode": "enforcing",
|
385
|
+
"config_policy": "targeted",
|
386
|
+
"current_mode": "enforcing",
|
387
|
+
"enabled": true,
|
388
|
+
"enforced": true,
|
389
|
+
"policy_version": "32"
|
390
|
+
}
|
391
|
+
},
|
392
|
+
"osfamily": "RedHat",
|
393
|
+
"partitions": {
|
394
|
+
"/dev/vda1": {
|
395
|
+
"mount": "/",
|
396
|
+
"size": "10.00 GiB",
|
397
|
+
"size_bytes": 10736369664
|
398
|
+
}
|
399
|
+
},
|
400
|
+
"path": "/home/vagrant/.local/bin:/home/vagrant/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin:/sbin",
|
401
|
+
"physicalprocessorcount": 1,
|
402
|
+
"processor0": "AMD EPYC-Rome Processor",
|
403
|
+
"processorcount": 1,
|
404
|
+
"processors": {
|
405
|
+
"count": 1,
|
406
|
+
"isa": "x86_64",
|
407
|
+
"models": [
|
408
|
+
"AMD EPYC-Rome Processor"
|
409
|
+
],
|
410
|
+
"physicalcount": 1
|
411
|
+
},
|
412
|
+
"productname": "Standard PC (i440FX + PIIX, 1996)",
|
413
|
+
"puppetversion": "6.19.1",
|
414
|
+
"ruby": {
|
415
|
+
"platform": "x86_64-linux",
|
416
|
+
"sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
|
417
|
+
"version": "2.5.8"
|
418
|
+
},
|
419
|
+
"rubyplatform": "x86_64-linux",
|
420
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
|
421
|
+
"rubyversion": "2.5.8",
|
422
|
+
"scope6": "link",
|
423
|
+
"scope6_eth0": "link",
|
424
|
+
"scope6_lo": "host",
|
425
|
+
"selinux": true,
|
426
|
+
"selinux_config_mode": "enforcing",
|
427
|
+
"selinux_config_policy": "targeted",
|
428
|
+
"selinux_current_mode": "enforcing",
|
429
|
+
"selinux_enforced": true,
|
430
|
+
"selinux_policyversion": "32",
|
431
|
+
"ssh": {
|
432
|
+
"ecdsa": {
|
433
|
+
"fingerprints": {
|
434
|
+
"sha1": "SSHFP 3 1 76c09c767a65eb99b88642f5dfc09fc1e89a80de",
|
435
|
+
"sha256": "SSHFP 3 2 909590096267e2ee95cb93a77b853e4658f100dd03338c6d94e29a53e19d446c"
|
436
|
+
},
|
437
|
+
"key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEm5drTu++f7N7lKL2qFz6cPlYITr5eAl3CI96QptQL4vhqIEabCEVgBOWD9vJJ9hOHZdcDUiBIuHPWshtRPBYk=",
|
438
|
+
"type": "ecdsa-sha2-nistp256"
|
439
|
+
},
|
440
|
+
"ed25519": {
|
441
|
+
"fingerprints": {
|
442
|
+
"sha1": "SSHFP 4 1 7b24eb57aa809bb63ab1d5ed2cd5d640d9af81c0",
|
443
|
+
"sha256": "SSHFP 4 2 c08da73821119203a94eeae15c60f40bc1f7fe928b6b53cc1e4d886cd4485e58"
|
444
|
+
},
|
445
|
+
"key": "AAAAC3NzaC1lZDI1NTE5AAAAIHFdrdHK1OAwru/pkI09iy4FxjJytQHaek/akLO2hubo",
|
446
|
+
"type": "ssh-ed25519"
|
447
|
+
},
|
448
|
+
"rsa": {
|
449
|
+
"fingerprints": {
|
450
|
+
"sha1": "SSHFP 1 1 5557b29bf9291c6df01b0a3c3165fcfd8d38f808",
|
451
|
+
"sha256": "SSHFP 1 2 00ada027e652c06008becdd7650ac8e9020d87c2c8fcc683a07d8dfc138540dc"
|
452
|
+
},
|
453
|
+
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDpHVc9L5224jB3cRuXU/Hn3Q5EPudHJ0b8c44pK9WGbTExjYv2szCng8G8O+O/usuIM88PLtvT5FOYFrTxspqEvruEZCbx0HIkpRnEWfnio2Wz1Z8JuMHFLNHE2E7ocEKUGCV0bu34XLjDfzJd37gkmfOtVNwpl46dgimhfBXNTDtiAkH7mWKY87ozkdJkoo/pmjPJKgCfH3nTDV2BvTJL5umeOJx8PGI1sWhh95LviMFo9meriErb98z2WYGszXiR9+Zu4sqCExAeEWHV9A/+Me63sdkhttf8cD8OHyfLAxqxGvL07ahQ89Tuap9sYYlNsOs4QARqyvmTYz9YeXBbyCJXfaY17JOOBo+InY1xCWaGQlK3/eeInznoS41fa51poimOtpF1G+pHC2YtHSfa1pCaPLXz/Ymt3YnNgAFyhgbjZEG76bF9avEgUlyX11/DL/JCXewBIGJTcKCuZHNuGUOaiNfXuTcpXrkvgMH1mEv4g00tH96JDhlyfTifOic=",
|
454
|
+
"type": "ssh-rsa"
|
455
|
+
}
|
456
|
+
},
|
457
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEm5drTu++f7N7lKL2qFz6cPlYITr5eAl3CI96QptQL4vhqIEabCEVgBOWD9vJJ9hOHZdcDUiBIuHPWshtRPBYk=",
|
458
|
+
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIHFdrdHK1OAwru/pkI09iy4FxjJytQHaek/akLO2hubo",
|
459
|
+
"sshfp_ecdsa": "SSHFP 3 1 76c09c767a65eb99b88642f5dfc09fc1e89a80de\nSSHFP 3 2 909590096267e2ee95cb93a77b853e4658f100dd03338c6d94e29a53e19d446c",
|
460
|
+
"sshfp_ed25519": "SSHFP 4 1 7b24eb57aa809bb63ab1d5ed2cd5d640d9af81c0\nSSHFP 4 2 c08da73821119203a94eeae15c60f40bc1f7fe928b6b53cc1e4d886cd4485e58",
|
461
|
+
"sshfp_rsa": "SSHFP 1 1 5557b29bf9291c6df01b0a3c3165fcfd8d38f808\nSSHFP 1 2 00ada027e652c06008becdd7650ac8e9020d87c2c8fcc683a07d8dfc138540dc",
|
462
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDpHVc9L5224jB3cRuXU/Hn3Q5EPudHJ0b8c44pK9WGbTExjYv2szCng8G8O+O/usuIM88PLtvT5FOYFrTxspqEvruEZCbx0HIkpRnEWfnio2Wz1Z8JuMHFLNHE2E7ocEKUGCV0bu34XLjDfzJd37gkmfOtVNwpl46dgimhfBXNTDtiAkH7mWKY87ozkdJkoo/pmjPJKgCfH3nTDV2BvTJL5umeOJx8PGI1sWhh95LviMFo9meriErb98z2WYGszXiR9+Zu4sqCExAeEWHV9A/+Me63sdkhttf8cD8OHyfLAxqxGvL07ahQ89Tuap9sYYlNsOs4QARqyvmTYz9YeXBbyCJXfaY17JOOBo+InY1xCWaGQlK3/eeInznoS41fa51poimOtpF1G+pHC2YtHSfa1pCaPLXz/Ymt3YnNgAFyhgbjZEG76bF9avEgUlyX11/DL/JCXewBIGJTcKCuZHNuGUOaiNfXuTcpXrkvgMH1mEv4g00tH96JDhlyfTifOic=",
|
463
|
+
"swapfree": "1.98 GiB",
|
464
|
+
"swapfree_mb": 2029.3515625,
|
465
|
+
"swapsize": "2.00 GiB",
|
466
|
+
"swapsize_mb": 2047.99609375,
|
467
|
+
"system_uptime": {
|
468
|
+
"days": 0,
|
469
|
+
"hours": 0,
|
470
|
+
"seconds": 52,
|
471
|
+
"uptime": "0:00 hours"
|
472
|
+
},
|
473
|
+
"timezone": "UTC",
|
474
|
+
"uptime": "0:00 hours",
|
475
|
+
"uptime_days": 0,
|
476
|
+
"uptime_hours": 0,
|
477
|
+
"uptime_seconds": 52,
|
478
|
+
"virtual": "kvm",
|
479
|
+
"clientcert": "localhost.localdomain",
|
480
|
+
"clientversion": "6.19.1",
|
481
|
+
"clientnoop": false
|
482
|
+
},
|
483
|
+
"timestamp": "2021-01-01T01:51:42.579769660+00:00",
|
484
|
+
"expiration": "2021-01-01T02:21:42.580035430+00:00"
|
485
|
+
}
|