controlrepo 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +3 -1
- data/README.md +40 -0
- data/controlrepo.gemspec +2 -1
- data/factsets/CentOS-6.6-64.json +342 -0
- data/factsets/CentOS-7.0-64.json +352 -0
- data/factsets/Debian-7.8-64.json +338 -0
- data/factsets/Ubuntu-12.04-32.json +328 -0
- data/factsets/Ubuntu-14.04-64.json +373 -0
- data/factsets/Windows_Server-2008r2-64.json +183 -0
- data/factsets/Windows_Server-2012r2-64.json +164 -0
- data/lib/controlrepo.rb +17 -2
- data/lib/controlrepo/beaker.rb +5 -5
- data/lib/controlrepo/rake_tasks.rb +28 -27
- data/lib/controlrepo/testconfig.rb +23 -15
- data/templates/acceptance_test_spec.rb.erb +1 -1
- data/templates/controlrepo.yaml.erb +38 -0
- data/templates/nodeset.yaml.erb +9 -9
- metadata +24 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3dbf4efa67f128e98f6fa56f518ded6d95df862
|
4
|
+
data.tar.gz: 1a189ac805a6eb0ce897d021a8030062ea569627
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 306092ec87d7fc6ad9f7815e2c47814efb396b5deb93abcf9a05e5dbe9a47258601fb7203918b106de4ee60982dd39207711d96a334b52e240a54a7141a1593c
|
7
|
+
data.tar.gz: 46cdb8dd9a2c19176c2cfe09d6b0d5a5a887b055ca2c159117c29b663cf55ec42a79f4b68023d4c809086c37fd22886085f90a976944f3caea7cac1892972486
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
## Table of Contents
|
4
4
|
|
5
5
|
- [Overview](#overview)
|
6
|
+
- [Quick Start](#quick-start)
|
6
7
|
- [Installation](#installation)
|
7
8
|
- [Config files](#config-files)
|
8
9
|
- [controlrepo.yaml](#controlrepoyaml)
|
@@ -24,6 +25,45 @@
|
|
24
25
|
- [generate_nodesets](#generate_nodesets)
|
25
26
|
- [hiera_setup](#hiera_setup)
|
26
27
|
|
28
|
+
## Quick Start
|
29
|
+
|
30
|
+
**Note:** This assumes you are inside the controlrepo directory.
|
31
|
+
|
32
|
+
Add this to your `Gemfile`:
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
source 'https://rubygems.org'
|
36
|
+
|
37
|
+
gem 'controlrepo'
|
38
|
+
```
|
39
|
+
|
40
|
+
Install all the gems:
|
41
|
+
|
42
|
+
`bundle install`
|
43
|
+
|
44
|
+
Add this to your [Rakefile](#rake-tasks):
|
45
|
+
|
46
|
+
```ruby
|
47
|
+
require 'puppetlabs_spec_helper/rake_tasks'
|
48
|
+
```
|
49
|
+
|
50
|
+
Generate your [controlrepo.yaml](#controlrepoyaml):
|
51
|
+
|
52
|
+
`bundle exec rake generate_controlrepo_yaml > spec/controlrepo.yaml`
|
53
|
+
|
54
|
+
Generate your [nodesets](#nodesets):
|
55
|
+
|
56
|
+
`bundle exec rake generate_nodesets > spec/acceptance/controlrepo-nodes.yml`
|
57
|
+
|
58
|
+
*Optional:* [Get hiera working](#hiera-data)
|
59
|
+
|
60
|
+
Run spec tests:
|
61
|
+
|
62
|
+
`bundle exec rake controlrepo_spec `
|
63
|
+
|
64
|
+
Run acceptance tests:
|
65
|
+
|
66
|
+
`bundle exec rake controlrepo_acceptance`
|
27
67
|
|
28
68
|
## Overview
|
29
69
|
|
data/controlrepo.gemspec
CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "controlrepo"
|
6
|
-
s.version = "2.0.
|
6
|
+
s.version = "2.0.2"
|
7
7
|
s.authors = ["Dylan Ratcliffe"]
|
8
8
|
s.email = ["dylan.ratcliffe@puppetlabs.com"]
|
9
9
|
s.homepage = ""
|
@@ -24,4 +24,5 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_runtime_dependency 'bundler'
|
25
25
|
s.add_runtime_dependency 'r10k'
|
26
26
|
s.add_runtime_dependency 'puppet'
|
27
|
+
s.add_runtime_dependency 'git'
|
27
28
|
end
|
@@ -0,0 +1,342 @@
|
|
1
|
+
{
|
2
|
+
"name": "centos6a.pdx.puppetlabs.demo",
|
3
|
+
"values": {
|
4
|
+
"aio_agent_build": "1.2.2",
|
5
|
+
"aio_agent_version": "1.2.2",
|
6
|
+
"architecture": "x86_64",
|
7
|
+
"augeas": {
|
8
|
+
"version": "1.4.0"
|
9
|
+
},
|
10
|
+
"augeasversion": "1.4.0",
|
11
|
+
"bios_release_date": "12/01/2006",
|
12
|
+
"bios_vendor": "innotek GmbH",
|
13
|
+
"bios_version": "VirtualBox",
|
14
|
+
"blockdevice_sda_model": "VBOX HARDDISK",
|
15
|
+
"blockdevice_sda_size": 21474836480,
|
16
|
+
"blockdevice_sda_vendor": "ATA",
|
17
|
+
"blockdevices": "sda",
|
18
|
+
"boardmanufacturer": "Oracle Corporation",
|
19
|
+
"boardproductname": "VirtualBox",
|
20
|
+
"boardserialnumber": "0",
|
21
|
+
"chassistype": "Other",
|
22
|
+
"concat_basedir": "/opt/puppetlabs/puppet/cache/concat",
|
23
|
+
"custom_auth_conf": "false",
|
24
|
+
"datacenter": "portland",
|
25
|
+
"dhcp_servers": {
|
26
|
+
"eth0": "10.0.2.2",
|
27
|
+
"system": "10.0.2.2"
|
28
|
+
},
|
29
|
+
"disks": {
|
30
|
+
"sda": {
|
31
|
+
"model": "VBOX HARDDISK",
|
32
|
+
"size": "20.00 GiB",
|
33
|
+
"size_bytes": 21474836480,
|
34
|
+
"vendor": "ATA"
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"dmi": {
|
38
|
+
"bios": {
|
39
|
+
"release_date": "12/01/2006",
|
40
|
+
"vendor": "innotek GmbH",
|
41
|
+
"version": "VirtualBox"
|
42
|
+
},
|
43
|
+
"board": {
|
44
|
+
"manufacturer": "Oracle Corporation",
|
45
|
+
"product": "VirtualBox",
|
46
|
+
"serial_number": "0"
|
47
|
+
},
|
48
|
+
"chassis": {
|
49
|
+
"type": "Other"
|
50
|
+
},
|
51
|
+
"manufacturer": "innotek GmbH",
|
52
|
+
"product": {
|
53
|
+
"name": "VirtualBox",
|
54
|
+
"serial_number": "0",
|
55
|
+
"uuid": "DA4CD203-2C23-4E21-B169-293D1749C38C"
|
56
|
+
}
|
57
|
+
},
|
58
|
+
"domain": "pdx.puppetlabs.demo",
|
59
|
+
"facterversion": "3.0.2",
|
60
|
+
"filesystems": "ext4,iso9660",
|
61
|
+
"fqdn": "centos6a.pdx.puppetlabs.demo",
|
62
|
+
"gid": "root",
|
63
|
+
"hardwareisa": "x86_64",
|
64
|
+
"hardwaremodel": "x86_64",
|
65
|
+
"homedir": "/root",
|
66
|
+
"hostname": "centos6a",
|
67
|
+
"id": "root",
|
68
|
+
"identity": {
|
69
|
+
"gid": 0,
|
70
|
+
"group": "root",
|
71
|
+
"uid": 0,
|
72
|
+
"user": "root"
|
73
|
+
},
|
74
|
+
"interfaces": "eth0,eth1,lo",
|
75
|
+
"ip6tables_version": "1.4.7",
|
76
|
+
"ipaddress": "10.0.2.15",
|
77
|
+
"ipaddress6": "fe80::a00:27ff:fe0f:d276",
|
78
|
+
"ipaddress6_eth0": "fe80::a00:27ff:fe0f:d276",
|
79
|
+
"ipaddress6_eth1": "fe80::a00:27ff:fe66:988a",
|
80
|
+
"ipaddress6_lo": "::1",
|
81
|
+
"ipaddress_eth0": "10.0.2.15",
|
82
|
+
"ipaddress_eth1": "10.20.1.88",
|
83
|
+
"ipaddress_lo": "127.0.0.1",
|
84
|
+
"iptables_version": "1.4.7",
|
85
|
+
"is_admin": true,
|
86
|
+
"is_pe": false,
|
87
|
+
"is_virtual": true,
|
88
|
+
"kernel": "Linux",
|
89
|
+
"kernelmajversion": "2.6",
|
90
|
+
"kernelrelease": "2.6.32-504.8.1.el6.x86_64",
|
91
|
+
"kernelversion": "2.6.32",
|
92
|
+
"load_averages": {
|
93
|
+
"15m": 0.0,
|
94
|
+
"1m": 0.0,
|
95
|
+
"5m": 0.0
|
96
|
+
},
|
97
|
+
"macaddress": "08:00:27:0f:d2:76",
|
98
|
+
"macaddress_eth0": "08:00:27:0f:d2:76",
|
99
|
+
"macaddress_eth1": "08:00:27:66:98:8a",
|
100
|
+
"manufacturer": "innotek GmbH",
|
101
|
+
"memory": {
|
102
|
+
"swap": {
|
103
|
+
"available": "992.00 MiB",
|
104
|
+
"available_bytes": 1040183296,
|
105
|
+
"capacity": "0%",
|
106
|
+
"total": "992.00 MiB",
|
107
|
+
"total_bytes": 1040183296,
|
108
|
+
"used": "0 bytes",
|
109
|
+
"used_bytes": 0
|
110
|
+
},
|
111
|
+
"system": {
|
112
|
+
"available": "348.41 MiB",
|
113
|
+
"available_bytes": 365338624,
|
114
|
+
"capacity": "28.95%",
|
115
|
+
"total": "490.39 MiB",
|
116
|
+
"total_bytes": 514215936,
|
117
|
+
"used": "141.98 MiB",
|
118
|
+
"used_bytes": 148877312
|
119
|
+
}
|
120
|
+
},
|
121
|
+
"memoryfree": "348.41 MiB",
|
122
|
+
"memoryfree_mb": 348.4140625,
|
123
|
+
"memorysize": "490.39 MiB",
|
124
|
+
"memorysize_mb": 490.39453125,
|
125
|
+
"mountpoints": {
|
126
|
+
"/": {
|
127
|
+
"available": "16.94 GiB",
|
128
|
+
"available_bytes": 18193268736,
|
129
|
+
"capacity": "6.51%",
|
130
|
+
"device": "/dev/mapper/VolGroup-lv_root",
|
131
|
+
"filesystem": "ext4",
|
132
|
+
"options": [
|
133
|
+
"rw"
|
134
|
+
],
|
135
|
+
"size": "18.12 GiB",
|
136
|
+
"size_bytes": 19459338240,
|
137
|
+
"used": "1.18 GiB",
|
138
|
+
"used_bytes": 1266069504
|
139
|
+
},
|
140
|
+
"/boot": {
|
141
|
+
"available": "448.35 MiB",
|
142
|
+
"available_bytes": 470125568,
|
143
|
+
"capacity": "5.85%",
|
144
|
+
"device": "/dev/sda1",
|
145
|
+
"filesystem": "ext4",
|
146
|
+
"options": [
|
147
|
+
"rw"
|
148
|
+
],
|
149
|
+
"size": "476.22 MiB",
|
150
|
+
"size_bytes": 499355648,
|
151
|
+
"used": "27.88 MiB",
|
152
|
+
"used_bytes": 29230080
|
153
|
+
}
|
154
|
+
},
|
155
|
+
"mtu_eth0": 1500,
|
156
|
+
"mtu_eth1": 1500,
|
157
|
+
"mtu_lo": 65536,
|
158
|
+
"mysql_server_id": 8555670,
|
159
|
+
"netmask": "255.255.255.0",
|
160
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
161
|
+
"netmask6_eth0": "ffff:ffff:ffff:ffff::",
|
162
|
+
"netmask6_eth1": "ffff:ffff:ffff:ffff::",
|
163
|
+
"netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
164
|
+
"netmask_eth0": "255.255.255.0",
|
165
|
+
"netmask_eth1": "255.255.255.0",
|
166
|
+
"netmask_lo": "255.0.0.0",
|
167
|
+
"network": "10.0.2.0",
|
168
|
+
"network6": "fe80::",
|
169
|
+
"network6_eth0": "fe80::",
|
170
|
+
"network6_eth1": "fe80::",
|
171
|
+
"network6_lo": "::1",
|
172
|
+
"network_eth0": "10.0.2.0",
|
173
|
+
"network_eth1": "10.20.1.0",
|
174
|
+
"network_lo": "127.0.0.0",
|
175
|
+
"networking": {
|
176
|
+
"dhcp": "10.0.2.2",
|
177
|
+
"domain": "pdx.puppetlabs.demo",
|
178
|
+
"fqdn": "centos6a.pdx.puppetlabs.demo",
|
179
|
+
"hostname": "centos6a",
|
180
|
+
"interfaces": {
|
181
|
+
"eth0": {
|
182
|
+
"dhcp": "10.0.2.2",
|
183
|
+
"ip": "10.0.2.15",
|
184
|
+
"ip6": "fe80::a00:27ff:fe0f:d276",
|
185
|
+
"mac": "08:00:27:0f:d2:76",
|
186
|
+
"mtu": 1500,
|
187
|
+
"netmask": "255.255.255.0",
|
188
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
189
|
+
"network": "10.0.2.0",
|
190
|
+
"network6": "fe80::"
|
191
|
+
},
|
192
|
+
"eth1": {
|
193
|
+
"ip": "10.20.1.88",
|
194
|
+
"ip6": "fe80::a00:27ff:fe66:988a",
|
195
|
+
"mac": "08:00:27:66:98:8a",
|
196
|
+
"mtu": 1500,
|
197
|
+
"netmask": "255.255.255.0",
|
198
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
199
|
+
"network": "10.20.1.0",
|
200
|
+
"network6": "fe80::"
|
201
|
+
},
|
202
|
+
"lo": {
|
203
|
+
"ip": "127.0.0.1",
|
204
|
+
"ip6": "::1",
|
205
|
+
"mtu": 65536,
|
206
|
+
"netmask": "255.0.0.0",
|
207
|
+
"netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
208
|
+
"network": "127.0.0.0",
|
209
|
+
"network6": "::1"
|
210
|
+
}
|
211
|
+
},
|
212
|
+
"ip": "10.0.2.15",
|
213
|
+
"ip6": "fe80::a00:27ff:fe0f:d276",
|
214
|
+
"mac": "08:00:27:0f:d2:76",
|
215
|
+
"mtu": 1500,
|
216
|
+
"netmask": "255.255.255.0",
|
217
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
218
|
+
"network": "10.0.2.0",
|
219
|
+
"network6": "fe80::"
|
220
|
+
},
|
221
|
+
"operatingsystem": "CentOS",
|
222
|
+
"operatingsystemmajrelease": "6",
|
223
|
+
"operatingsystemrelease": "6.6",
|
224
|
+
"os": {
|
225
|
+
"architecture": "x86_64",
|
226
|
+
"family": "RedHat",
|
227
|
+
"hardware": "x86_64",
|
228
|
+
"name": "CentOS",
|
229
|
+
"release": {
|
230
|
+
"full": "6.6",
|
231
|
+
"major": "6",
|
232
|
+
"minor": "6"
|
233
|
+
},
|
234
|
+
"selinux": {
|
235
|
+
"enabled": false
|
236
|
+
}
|
237
|
+
},
|
238
|
+
"osfamily": "RedHat",
|
239
|
+
"partitions": {
|
240
|
+
"/dev/mapper/VolGroup-lv_root": {
|
241
|
+
"filesystem": "ext4",
|
242
|
+
"mount": "/",
|
243
|
+
"size": "0 bytes",
|
244
|
+
"size_bytes": 0,
|
245
|
+
"uuid": "a29409f8-0b58-4271-a348-032caefec8b8"
|
246
|
+
},
|
247
|
+
"/dev/mapper/VolGroup-lv_swap": {
|
248
|
+
"filesystem": "swap",
|
249
|
+
"size": "0 bytes",
|
250
|
+
"size_bytes": 0,
|
251
|
+
"uuid": "b30b464a-8ac9-492a-a1c5-2da75bb7488a"
|
252
|
+
},
|
253
|
+
"/dev/sda1": {
|
254
|
+
"filesystem": "ext4",
|
255
|
+
"mount": "/boot",
|
256
|
+
"size": "500.00 MiB",
|
257
|
+
"size_bytes": 524288000,
|
258
|
+
"uuid": "da946872-1406-4ac1-9a4d-f7ce5f7be47e"
|
259
|
+
},
|
260
|
+
"/dev/sda2": {
|
261
|
+
"filesystem": "LVM2_member",
|
262
|
+
"size": "19.51 GiB",
|
263
|
+
"size_bytes": 20949499904,
|
264
|
+
"uuid": "nRdWPh-INkA-aHPs-TNtk-HjJG-SxBU-DdqI8a"
|
265
|
+
}
|
266
|
+
},
|
267
|
+
"path": "/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
|
268
|
+
"pe_concat_basedir": "/opt/puppetlabs/puppet/cache/pe_concat",
|
269
|
+
"pe_razor_server_version": "package pe-razor-server is not installed",
|
270
|
+
"physicalprocessorcount": 1,
|
271
|
+
"platform_symlink_writable": true,
|
272
|
+
"platform_tag": "el-6-x86_64",
|
273
|
+
"processor0": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
|
274
|
+
"processorcount": 1,
|
275
|
+
"processors": {
|
276
|
+
"count": 1,
|
277
|
+
"isa": "x86_64",
|
278
|
+
"models": [
|
279
|
+
"Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz"
|
280
|
+
],
|
281
|
+
"physicalcount": 1
|
282
|
+
},
|
283
|
+
"productname": "VirtualBox",
|
284
|
+
"puppet_files_dir_present": false,
|
285
|
+
"puppet_vardir": "/opt/puppetlabs/puppet/cache",
|
286
|
+
"puppetversion": "4.2.1",
|
287
|
+
"root_home": "/root",
|
288
|
+
"ruby": {
|
289
|
+
"platform": "x86_64-linux",
|
290
|
+
"sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
291
|
+
"version": "2.1.6"
|
292
|
+
},
|
293
|
+
"rubyplatform": "x86_64-linux",
|
294
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
295
|
+
"rubyversion": "2.1.6",
|
296
|
+
"selinux": false,
|
297
|
+
"serialnumber": "0",
|
298
|
+
"ssh": {
|
299
|
+
"dsa": {
|
300
|
+
"fingerprints": {
|
301
|
+
"sha1": "SSHFP 2 1 5dad11db93cde6e3b1d5ce5a5fe5ad02825037e8",
|
302
|
+
"sha256": "SSHFP 2 2 576fe2b6a8412ada50cb776e6f1da5dd4bc301f2aa682be2ff82c70558c14745"
|
303
|
+
},
|
304
|
+
"key": "AAAAB3NzaC1kc3MAAACBAJSFgQJi2VfgHnp2MQsV2wNpONevQuhi1Jb/nX0EjHtrAgc8MNRXLQTmjunh5q4+mjcYMHXDIx6F0Oc4XCnR5g6uQwBOGg70oXJmUkmwCw/mdgu3ppepOQJssBKnKFCR7QsbrBL+U1YmYmV8eGYDB76eXWRBOd9LewcGkjhHYbpzAAAAFQCShhFDlgHvmj6kcr6XRUuYPNziNwAAAIBBjLzEbwqoedlUKXRGuKc7nU71qWAkahN8rI4lU7d6PrVS7XziNX3OTCXbRCF3wT/dlYBU+grjmOIF4dbOrjBCHmmYVzlntXsefyR6XIbJw/H08L2LdDT6aye+MDWdYGK0PqgV6AZ5pWUzu7wS+qJduOaNMts5YrzqvlhiFDO8EAAAAIAJoqYk2bkNTPnjYi4qhIP3o+7Lhpxh5akAkjPMpM4tf/BedBqzKimvWhtDNVTcNCOZwJuSkHL4SSafvPCoxbKY4YhFWYykS/Vdle9ixNtH+wMU5d8DsSsvZpfa4lvj9FpzgfcM+NT1aYHis/pIRpBblPfHHnFBsxGKX66v6webHg=="
|
305
|
+
},
|
306
|
+
"rsa": {
|
307
|
+
"fingerprints": {
|
308
|
+
"sha1": "SSHFP 1 1 e1e2811771eb093d9b74333a111e089bc8e434ef",
|
309
|
+
"sha256": "SSHFP 1 2 4513b7ba6b47b22319ea40fe9e0f12e9ac200b367b78508364a80a2a9b92409c"
|
310
|
+
},
|
311
|
+
"key": "AAAAB3NzaC1yc2EAAAABIwAAAQEA3Gn072MPvlL1R0RpTGod7BxiCvm4Wp6p8gRYJgEba9FLtYTWYhx18ueLnuFWKnK6WMpwe24732ZGGCsagjBkEo8DFJZABZbfSHxW1gsmU6smUM9o2wt9ZEeYJ036DqIkg4DzsBLc206NKStuKCTOINFSwBtHAWkZCeGdon8ssEoery//yZchbHBXQB1f312Re42W4eLNpWm0T93eEwRRMOpnLtNFrVa9kvHv71eQx2crvDG2xd6BfN0PkU0tx0TBzDS2xUqBg5m1MdNbarxWH1Km8JUEH40jl3YKgh5g0lrfEE36xIItPtW2mFawsMBpMK0iPerqs60or9SjM1LwXQ=="
|
312
|
+
}
|
313
|
+
},
|
314
|
+
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAJSFgQJi2VfgHnp2MQsV2wNpONevQuhi1Jb/nX0EjHtrAgc8MNRXLQTmjunh5q4+mjcYMHXDIx6F0Oc4XCnR5g6uQwBOGg70oXJmUkmwCw/mdgu3ppepOQJssBKnKFCR7QsbrBL+U1YmYmV8eGYDB76eXWRBOd9LewcGkjhHYbpzAAAAFQCShhFDlgHvmj6kcr6XRUuYPNziNwAAAIBBjLzEbwqoedlUKXRGuKc7nU71qWAkahN8rI4lU7d6PrVS7XziNX3OTCXbRCF3wT/dlYBU+grjmOIF4dbOrjBCHmmYVzlntXsefyR6XIbJw/H08L2LdDT6aye+MDWdYGK0PqgV6AZ5pWUzu7wS+qJduOaNMts5YrzqvlhiFDO8EAAAAIAJoqYk2bkNTPnjYi4qhIP3o+7Lhpxh5akAkjPMpM4tf/BedBqzKimvWhtDNVTcNCOZwJuSkHL4SSafvPCoxbKY4YhFWYykS/Vdle9ixNtH+wMU5d8DsSsvZpfa4lvj9FpzgfcM+NT1aYHis/pIRpBblPfHHnFBsxGKX66v6webHg==",
|
315
|
+
"sshfp_dsa": "SSHFP 2 1 5dad11db93cde6e3b1d5ce5a5fe5ad02825037e8\nSSHFP 2 2 576fe2b6a8412ada50cb776e6f1da5dd4bc301f2aa682be2ff82c70558c14745",
|
316
|
+
"sshfp_rsa": "SSHFP 1 1 e1e2811771eb093d9b74333a111e089bc8e434ef\nSSHFP 1 2 4513b7ba6b47b22319ea40fe9e0f12e9ac200b367b78508364a80a2a9b92409c",
|
317
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAABIwAAAQEA3Gn072MPvlL1R0RpTGod7BxiCvm4Wp6p8gRYJgEba9FLtYTWYhx18ueLnuFWKnK6WMpwe24732ZGGCsagjBkEo8DFJZABZbfSHxW1gsmU6smUM9o2wt9ZEeYJ036DqIkg4DzsBLc206NKStuKCTOINFSwBtHAWkZCeGdon8ssEoery//yZchbHBXQB1f312Re42W4eLNpWm0T93eEwRRMOpnLtNFrVa9kvHv71eQx2crvDG2xd6BfN0PkU0tx0TBzDS2xUqBg5m1MdNbarxWH1Km8JUEH40jl3YKgh5g0lrfEE36xIItPtW2mFawsMBpMK0iPerqs60or9SjM1LwXQ==",
|
318
|
+
"staging_http_get": "curl",
|
319
|
+
"swapfree": "992.00 MiB",
|
320
|
+
"swapfree_mb": 991.99609375,
|
321
|
+
"swapsize": "992.00 MiB",
|
322
|
+
"swapsize_mb": 991.99609375,
|
323
|
+
"system_uptime": {
|
324
|
+
"days": 0,
|
325
|
+
"hours": 0,
|
326
|
+
"seconds": 352,
|
327
|
+
"uptime": "0:05 hours"
|
328
|
+
},
|
329
|
+
"timezone": "UTC",
|
330
|
+
"uptime": "0:05 hours",
|
331
|
+
"uptime_days": 0,
|
332
|
+
"uptime_hours": 0,
|
333
|
+
"uptime_seconds": 352,
|
334
|
+
"uuid": "DA4CD203-2C23-4E21-B169-293D1749C38C",
|
335
|
+
"virtual": "virtualbox",
|
336
|
+
"clientcert": "centos6a.pdx.puppetlabs.demo",
|
337
|
+
"clientversion": "4.2.1",
|
338
|
+
"clientnoop": false
|
339
|
+
},
|
340
|
+
"timestamp": "2015-09-23T01:56:02.689718267+00:00",
|
341
|
+
"expiration": "2015-09-23T02:26:02.690130706+00:00"
|
342
|
+
}
|
@@ -0,0 +1,352 @@
|
|
1
|
+
{
|
2
|
+
"name": "centos7b.syd.puppetlabs.demo",
|
3
|
+
"values": {
|
4
|
+
"aio_agent_build": "1.2.2",
|
5
|
+
"aio_agent_version": "1.2.2",
|
6
|
+
"architecture": "x86_64",
|
7
|
+
"augeas": {
|
8
|
+
"version": "1.4.0"
|
9
|
+
},
|
10
|
+
"augeasversion": "1.4.0",
|
11
|
+
"bios_release_date": "12/01/2006",
|
12
|
+
"bios_vendor": "innotek GmbH",
|
13
|
+
"bios_version": "VirtualBox",
|
14
|
+
"blockdevice_sda_model": "VBOX HARDDISK",
|
15
|
+
"blockdevice_sda_size": 21474836480,
|
16
|
+
"blockdevice_sda_vendor": "ATA",
|
17
|
+
"blockdevices": "sda",
|
18
|
+
"boardmanufacturer": "Oracle Corporation",
|
19
|
+
"boardproductname": "VirtualBox",
|
20
|
+
"boardserialnumber": "0",
|
21
|
+
"chassistype": "Other",
|
22
|
+
"concat_basedir": "/opt/puppetlabs/puppet/cache/concat",
|
23
|
+
"custom_auth_conf": "false",
|
24
|
+
"datacenter": "sydney",
|
25
|
+
"dhcp_servers": {
|
26
|
+
"enp0s3": "10.0.2.2",
|
27
|
+
"enp0s8": "192.168.56.100",
|
28
|
+
"system": "10.0.2.2"
|
29
|
+
},
|
30
|
+
"disks": {
|
31
|
+
"sda": {
|
32
|
+
"model": "VBOX HARDDISK",
|
33
|
+
"size": "20.00 GiB",
|
34
|
+
"size_bytes": 21474836480,
|
35
|
+
"vendor": "ATA"
|
36
|
+
}
|
37
|
+
},
|
38
|
+
"dmi": {
|
39
|
+
"bios": {
|
40
|
+
"release_date": "12/01/2006",
|
41
|
+
"vendor": "innotek GmbH",
|
42
|
+
"version": "VirtualBox"
|
43
|
+
},
|
44
|
+
"board": {
|
45
|
+
"manufacturer": "Oracle Corporation",
|
46
|
+
"product": "VirtualBox",
|
47
|
+
"serial_number": "0"
|
48
|
+
},
|
49
|
+
"chassis": {
|
50
|
+
"type": "Other"
|
51
|
+
},
|
52
|
+
"manufacturer": "innotek GmbH",
|
53
|
+
"product": {
|
54
|
+
"name": "VirtualBox",
|
55
|
+
"serial_number": "0",
|
56
|
+
"uuid": "9D7BE471-F3DA-47EE-B023-F659129270EF"
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"domain": "syd.puppetlabs.demo",
|
60
|
+
"facterversion": "3.0.2",
|
61
|
+
"filesystems": "xfs",
|
62
|
+
"fqdn": "centos7b.syd.puppetlabs.demo",
|
63
|
+
"gid": "root",
|
64
|
+
"hardwareisa": "x86_64",
|
65
|
+
"hardwaremodel": "x86_64",
|
66
|
+
"homedir": "/root",
|
67
|
+
"hostname": "centos7b",
|
68
|
+
"id": "root",
|
69
|
+
"identity": {
|
70
|
+
"gid": 0,
|
71
|
+
"group": "root",
|
72
|
+
"uid": 0,
|
73
|
+
"user": "root"
|
74
|
+
},
|
75
|
+
"interfaces": "enp0s3,enp0s8,lo",
|
76
|
+
"ip6tables_version": "1.4.21",
|
77
|
+
"ipaddress": "10.0.2.15",
|
78
|
+
"ipaddress6": "fe80::a00:27ff:fe39:183c",
|
79
|
+
"ipaddress6_enp0s3": "fe80::a00:27ff:fe39:183c",
|
80
|
+
"ipaddress6_enp0s8": "fe80::a00:27ff:fe39:832c",
|
81
|
+
"ipaddress6_lo": "::1",
|
82
|
+
"ipaddress_enp0s3": "10.0.2.15",
|
83
|
+
"ipaddress_enp0s8": "10.20.1.92",
|
84
|
+
"ipaddress_lo": "127.0.0.1",
|
85
|
+
"iptables_version": "1.4.21",
|
86
|
+
"is_admin": true,
|
87
|
+
"is_pe": false,
|
88
|
+
"is_virtual": true,
|
89
|
+
"kernel": "Linux",
|
90
|
+
"kernelmajversion": "3.10",
|
91
|
+
"kernelrelease": "3.10.0-123.el7.x86_64",
|
92
|
+
"kernelversion": "3.10.0",
|
93
|
+
"load_averages": {
|
94
|
+
"15m": 0.05,
|
95
|
+
"1m": 0.26,
|
96
|
+
"5m": 0.12
|
97
|
+
},
|
98
|
+
"macaddress": "08:00:27:39:18:3c",
|
99
|
+
"macaddress_enp0s3": "08:00:27:39:18:3c",
|
100
|
+
"macaddress_enp0s8": "08:00:27:39:83:2c",
|
101
|
+
"manufacturer": "innotek GmbH",
|
102
|
+
"memory": {
|
103
|
+
"swap": {
|
104
|
+
"available": "1.03 GiB",
|
105
|
+
"available_bytes": 1107292160,
|
106
|
+
"capacity": "0%",
|
107
|
+
"total": "1.03 GiB",
|
108
|
+
"total_bytes": 1107292160,
|
109
|
+
"used": "0 bytes",
|
110
|
+
"used_bytes": 0
|
111
|
+
},
|
112
|
+
"system": {
|
113
|
+
"available": "297.76 MiB",
|
114
|
+
"available_bytes": 312225792,
|
115
|
+
"capacity": "39.28%",
|
116
|
+
"total": "490.41 MiB",
|
117
|
+
"total_bytes": 514228224,
|
118
|
+
"used": "192.64 MiB",
|
119
|
+
"used_bytes": 202002432
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"memoryfree": "297.76 MiB",
|
123
|
+
"memoryfree_mb": 297.76171875,
|
124
|
+
"memorysize": "490.41 MiB",
|
125
|
+
"memorysize_mb": 490.40625,
|
126
|
+
"mountpoints": {
|
127
|
+
"/": {
|
128
|
+
"available": "17.30 GiB",
|
129
|
+
"available_bytes": 18574749696,
|
130
|
+
"capacity": "6.32%",
|
131
|
+
"device": "/dev/mapper/centos-root",
|
132
|
+
"filesystem": "xfs",
|
133
|
+
"options": [
|
134
|
+
"rw",
|
135
|
+
"relatime",
|
136
|
+
"attr2",
|
137
|
+
"inode64",
|
138
|
+
"noquota"
|
139
|
+
],
|
140
|
+
"size": "18.47 GiB",
|
141
|
+
"size_bytes": 19828572160,
|
142
|
+
"used": "1.17 GiB",
|
143
|
+
"used_bytes": 1253822464
|
144
|
+
},
|
145
|
+
"/boot": {
|
146
|
+
"available": "393.11 MiB",
|
147
|
+
"available_bytes": 412209152,
|
148
|
+
"capacity": "20.85%",
|
149
|
+
"device": "/dev/sda1",
|
150
|
+
"filesystem": "xfs",
|
151
|
+
"options": [
|
152
|
+
"rw",
|
153
|
+
"relatime",
|
154
|
+
"attr2",
|
155
|
+
"inode64",
|
156
|
+
"noquota"
|
157
|
+
],
|
158
|
+
"size": "496.67 MiB",
|
159
|
+
"size_bytes": 520794112,
|
160
|
+
"used": "103.55 MiB",
|
161
|
+
"used_bytes": 108584960
|
162
|
+
}
|
163
|
+
},
|
164
|
+
"mtu_enp0s3": 1500,
|
165
|
+
"mtu_enp0s8": 1500,
|
166
|
+
"mtu_lo": 65536,
|
167
|
+
"mysql_server_id": 8563388,
|
168
|
+
"netmask": "255.255.255.0",
|
169
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
170
|
+
"netmask6_enp0s3": "ffff:ffff:ffff:ffff::",
|
171
|
+
"netmask6_enp0s8": "ffff:ffff:ffff:ffff::",
|
172
|
+
"netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
173
|
+
"netmask_enp0s3": "255.255.255.0",
|
174
|
+
"netmask_enp0s8": "255.255.255.0",
|
175
|
+
"netmask_lo": "255.0.0.0",
|
176
|
+
"network": "10.0.2.0",
|
177
|
+
"network6": "fe80::",
|
178
|
+
"network6_enp0s3": "fe80::",
|
179
|
+
"network6_enp0s8": "fe80::",
|
180
|
+
"network6_lo": "::1",
|
181
|
+
"network_enp0s3": "10.0.2.0",
|
182
|
+
"network_enp0s8": "10.20.1.0",
|
183
|
+
"network_lo": "127.0.0.0",
|
184
|
+
"networking": {
|
185
|
+
"dhcp": "10.0.2.2",
|
186
|
+
"domain": "syd.puppetlabs.demo",
|
187
|
+
"fqdn": "centos7b.syd.puppetlabs.demo",
|
188
|
+
"hostname": "centos7b",
|
189
|
+
"interfaces": {
|
190
|
+
"enp0s3": {
|
191
|
+
"dhcp": "10.0.2.2",
|
192
|
+
"ip": "10.0.2.15",
|
193
|
+
"ip6": "fe80::a00:27ff:fe39:183c",
|
194
|
+
"mac": "08:00:27:39:18:3c",
|
195
|
+
"mtu": 1500,
|
196
|
+
"netmask": "255.255.255.0",
|
197
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
198
|
+
"network": "10.0.2.0",
|
199
|
+
"network6": "fe80::"
|
200
|
+
},
|
201
|
+
"enp0s8": {
|
202
|
+
"dhcp": "192.168.56.100",
|
203
|
+
"ip": "10.20.1.92",
|
204
|
+
"ip6": "fe80::a00:27ff:fe39:832c",
|
205
|
+
"mac": "08:00:27:39:83:2c",
|
206
|
+
"mtu": 1500,
|
207
|
+
"netmask": "255.255.255.0",
|
208
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
209
|
+
"network": "10.20.1.0",
|
210
|
+
"network6": "fe80::"
|
211
|
+
},
|
212
|
+
"lo": {
|
213
|
+
"ip": "127.0.0.1",
|
214
|
+
"ip6": "::1",
|
215
|
+
"mtu": 65536,
|
216
|
+
"netmask": "255.0.0.0",
|
217
|
+
"netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
218
|
+
"network": "127.0.0.0",
|
219
|
+
"network6": "::1"
|
220
|
+
}
|
221
|
+
},
|
222
|
+
"ip": "10.0.2.15",
|
223
|
+
"ip6": "fe80::a00:27ff:fe39:183c",
|
224
|
+
"mac": "08:00:27:39:18:3c",
|
225
|
+
"mtu": 1500,
|
226
|
+
"netmask": "255.255.255.0",
|
227
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
228
|
+
"network": "10.0.2.0",
|
229
|
+
"network6": "fe80::"
|
230
|
+
},
|
231
|
+
"operatingsystem": "CentOS",
|
232
|
+
"operatingsystemmajrelease": "7",
|
233
|
+
"operatingsystemrelease": "7.0.1406",
|
234
|
+
"os": {
|
235
|
+
"architecture": "x86_64",
|
236
|
+
"family": "RedHat",
|
237
|
+
"hardware": "x86_64",
|
238
|
+
"name": "CentOS",
|
239
|
+
"release": {
|
240
|
+
"full": "7.0.1406",
|
241
|
+
"major": "7",
|
242
|
+
"minor": "0"
|
243
|
+
},
|
244
|
+
"selinux": {
|
245
|
+
"enabled": false
|
246
|
+
}
|
247
|
+
},
|
248
|
+
"osfamily": "RedHat",
|
249
|
+
"partitions": {
|
250
|
+
"/dev/mapper/centos-root": {
|
251
|
+
"filesystem": "xfs",
|
252
|
+
"mount": "/",
|
253
|
+
"size": "0 bytes",
|
254
|
+
"size_bytes": 0,
|
255
|
+
"uuid": "db651e5f-a2c2-4236-9570-6226f63e1fcd"
|
256
|
+
},
|
257
|
+
"/dev/mapper/centos-swap": {
|
258
|
+
"filesystem": "swap",
|
259
|
+
"size": "0 bytes",
|
260
|
+
"size_bytes": 0,
|
261
|
+
"uuid": "ff4ec16c-28c0-4715-846d-11e7c9b4e53b"
|
262
|
+
},
|
263
|
+
"/dev/sda1": {
|
264
|
+
"filesystem": "xfs",
|
265
|
+
"mount": "/boot",
|
266
|
+
"size": "500.00 MiB",
|
267
|
+
"size_bytes": 524288000,
|
268
|
+
"uuid": "39ce4ad1-4e9d-49a4-bce0-8a30b459490a"
|
269
|
+
},
|
270
|
+
"/dev/sda2": {
|
271
|
+
"filesystem": "LVM2_member",
|
272
|
+
"size": "19.51 GiB",
|
273
|
+
"size_bytes": 20949499904,
|
274
|
+
"uuid": "pg7zVv-M3hI-zpjY-eYlZ-06aD-ZRO2-J30GLd"
|
275
|
+
}
|
276
|
+
},
|
277
|
+
"path": "/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
|
278
|
+
"pe_concat_basedir": "/opt/puppetlabs/puppet/cache/pe_concat",
|
279
|
+
"pe_razor_server_version": "package pe-razor-server is not installed",
|
280
|
+
"physicalprocessorcount": 1,
|
281
|
+
"platform_symlink_writable": true,
|
282
|
+
"platform_tag": "el-7-x86_64",
|
283
|
+
"processor0": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
|
284
|
+
"processorcount": 1,
|
285
|
+
"processors": {
|
286
|
+
"count": 1,
|
287
|
+
"isa": "x86_64",
|
288
|
+
"models": [
|
289
|
+
"Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz"
|
290
|
+
],
|
291
|
+
"physicalcount": 1
|
292
|
+
},
|
293
|
+
"productname": "VirtualBox",
|
294
|
+
"puppet_files_dir_present": false,
|
295
|
+
"puppet_vardir": "/opt/puppetlabs/puppet/cache",
|
296
|
+
"puppetversion": "4.2.1",
|
297
|
+
"root_home": "/root",
|
298
|
+
"ruby": {
|
299
|
+
"platform": "x86_64-linux",
|
300
|
+
"sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
301
|
+
"version": "2.1.6"
|
302
|
+
},
|
303
|
+
"rubyplatform": "x86_64-linux",
|
304
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
305
|
+
"rubyversion": "2.1.6",
|
306
|
+
"selinux": false,
|
307
|
+
"serialnumber": "0",
|
308
|
+
"ssh": {
|
309
|
+
"ecdsa": {
|
310
|
+
"fingerprints": {
|
311
|
+
"sha1": "SSHFP 3 1 91edfdf5e7e098f4392606865c017dabc26804bb",
|
312
|
+
"sha256": "SSHFP 3 2 f00c65a1884bfec52db11de89254f0bfd46baf9e759546654c94371a05ee0dba"
|
313
|
+
},
|
314
|
+
"key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBcSUcHQOfBDZElr6PBmxc/4ZDaIhsugXM7OE2SQj35iOMCN/I3XfINMo8SvBIQ6CsBqPnzgbKRBs7e1FPFnsT4="
|
315
|
+
},
|
316
|
+
"rsa": {
|
317
|
+
"fingerprints": {
|
318
|
+
"sha1": "SSHFP 1 1 f25e9ad2faddbe75263cfee4fa97dc965bc1d581",
|
319
|
+
"sha256": "SSHFP 1 2 0173e386031a134e4cbfb7f6971788761a5aa3d9e39dafcf163f003de2537199"
|
320
|
+
},
|
321
|
+
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDLMo35gwbuqQvRq1gy6L8vddeyMNBYr5WPVcftMKSJR1jmwzxcZ+h0AEb3KPfoMHkqe9Xy+3oN981qe5ZCE780HO884AaXzXry9zdWQjGysrI+zHQbqbpOkYAGsVbJiQ7VnH7lMVZo2jCbABj4OdsbeCOeP3oDXTNCTaWWdQChzqvYgNBvb0mg/na1l0naQ1nsJYD85O8ZRQ9U/JOADMaOjummfOb2z7MgskZ9abm5eFCCQl+wUUNXKqQx+uyVM4lyyoTHpW3M2IV0P9wxhWJF6eovwyREGuMgJCs6kbHCFty7HtAYbzziabgQav8pMe68aBqjshbpU6ll/+aXWhD1"
|
322
|
+
}
|
323
|
+
},
|
324
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBcSUcHQOfBDZElr6PBmxc/4ZDaIhsugXM7OE2SQj35iOMCN/I3XfINMo8SvBIQ6CsBqPnzgbKRBs7e1FPFnsT4=",
|
325
|
+
"sshfp_ecdsa": "SSHFP 3 1 91edfdf5e7e098f4392606865c017dabc26804bb\nSSHFP 3 2 f00c65a1884bfec52db11de89254f0bfd46baf9e759546654c94371a05ee0dba",
|
326
|
+
"sshfp_rsa": "SSHFP 1 1 f25e9ad2faddbe75263cfee4fa97dc965bc1d581\nSSHFP 1 2 0173e386031a134e4cbfb7f6971788761a5aa3d9e39dafcf163f003de2537199",
|
327
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDLMo35gwbuqQvRq1gy6L8vddeyMNBYr5WPVcftMKSJR1jmwzxcZ+h0AEb3KPfoMHkqe9Xy+3oN981qe5ZCE780HO884AaXzXry9zdWQjGysrI+zHQbqbpOkYAGsVbJiQ7VnH7lMVZo2jCbABj4OdsbeCOeP3oDXTNCTaWWdQChzqvYgNBvb0mg/na1l0naQ1nsJYD85O8ZRQ9U/JOADMaOjummfOb2z7MgskZ9abm5eFCCQl+wUUNXKqQx+uyVM4lyyoTHpW3M2IV0P9wxhWJF6eovwyREGuMgJCs6kbHCFty7HtAYbzziabgQav8pMe68aBqjshbpU6ll/+aXWhD1",
|
328
|
+
"staging_http_get": "curl",
|
329
|
+
"swapfree": "1.03 GiB",
|
330
|
+
"swapfree_mb": 1055.99609375,
|
331
|
+
"swapsize": "1.03 GiB",
|
332
|
+
"swapsize_mb": 1055.99609375,
|
333
|
+
"system_uptime": {
|
334
|
+
"days": 0,
|
335
|
+
"hours": 0,
|
336
|
+
"seconds": 78,
|
337
|
+
"uptime": "0:01 hours"
|
338
|
+
},
|
339
|
+
"timezone": "UTC",
|
340
|
+
"uptime": "0:01 hours",
|
341
|
+
"uptime_days": 0,
|
342
|
+
"uptime_hours": 0,
|
343
|
+
"uptime_seconds": 78,
|
344
|
+
"uuid": "9D7BE471-F3DA-47EE-B023-F659129270EF",
|
345
|
+
"virtual": "virtualbox",
|
346
|
+
"clientcert": "centos7b.syd.puppetlabs.demo",
|
347
|
+
"clientversion": "4.2.1",
|
348
|
+
"clientnoop": false
|
349
|
+
},
|
350
|
+
"timestamp": "2015-09-23T23:50:15.484459763+00:00",
|
351
|
+
"expiration": "2015-09-24T00:20:15.484744482+00:00"
|
352
|
+
}
|