facterdb 0.3.12 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +60 -3
- data/facterdb.gemspec +1 -0
- data/facts/1.6/amazon-2017-x86_64.facts +61 -0
- data/facts/1.7/amazon-2017-x86_64.facts +76 -0
- data/facts/2.0/amazon-2017-x86_64.facts +77 -0
- data/facts/2.0/debian-9-i386.facts +2 -2
- data/facts/2.0/debian-9-x86_64.facts +2 -2
- data/facts/2.1/amazon-2017-x86_64.facts +212 -0
- data/facts/2.1/debian-9-i386.facts +2 -2
- data/facts/2.1/debian-9-x86_64.facts +2 -2
- data/facts/2.2/amazon-2017-x86_64.facts +235 -0
- data/facts/2.2/debian-9-i386.facts +5 -4
- data/facts/2.2/debian-9-x86_64.facts +6 -5
- data/facts/2.3/amazon-2017-x86_64.facts +236 -0
- data/facts/2.3/debian-9-i386.facts +5 -4
- data/facts/2.3/debian-9-x86_64.facts +5 -4
- data/facts/2.4/amazon-2017-x86_64.facts +215 -0
- data/facts/2.4/debian-9-i386.facts +5 -4
- data/facts/2.4/debian-9-x86_64.facts +5 -4
- data/facts/2.4/fedora-20-x86_64.facts +116 -0
- data/facts/2.4/fedora-21-x86_64.facts +123 -0
- data/facts/2.4/fedora-26-x86_64.facts +143 -0
- data/facts/2.5/amazon-2017-x86_64.facts +61 -0
- data/facts/2.5/debian-9-i386.facts +5 -4
- data/facts/2.5/debian-9-x86_64.facts +5 -4
- data/facts/2.5/fedora-20-x86_64.facts +116 -0
- data/facts/2.5/fedora-21-x86_64.facts +123 -0
- data/facts/2.5/fedora-26-x86_64.facts +143 -0
- data/facts/3.0/amazon-4-x86_64.facts +320 -0
- data/facts/3.0/fedora-20-x86_64.facts +116 -0
- data/facts/3.0/fedora-21-x86_64.facts +123 -0
- data/facts/3.0/fedora-26-x86_64.facts +143 -0
- data/facts/3.0/windows-10-i386.facts +70 -23
- data/facts/3.0/windows-10-x86_64.facts +72 -25
- data/facts/3.0/windows-2008 r2-x86_64.facts +70 -23
- data/facts/3.0/windows-2008-x86_64.facts +71 -24
- data/facts/3.0/windows-2012 r2-core-x86_64.facts +76 -29
- data/facts/3.0/windows-2012 r2-x86_64.facts +84 -42
- data/facts/3.0/windows-2012-x86_64.facts +72 -25
- data/facts/3.0/windows-2016-x86_64.facts +71 -24
- data/facts/3.0/windows-7-x86_64.facts +87 -45
- data/facts/3.0/windows-8.1-x86_64.facts +71 -24
- data/facts/3.1/amazon-4-x86_64.facts +350 -0
- data/facts/3.1/fedora-20-x86_64.facts +116 -0
- data/facts/3.1/fedora-21-x86_64.facts +123 -0
- data/facts/3.1/fedora-26-x86_64.facts +143 -0
- data/facts/3.1/windows-10-i386.facts +73 -26
- data/facts/3.1/windows-10-x86_64.facts +75 -28
- data/facts/3.1/windows-2008 r2-x86_64.facts +73 -26
- data/facts/3.1/windows-2008-x86_64.facts +74 -27
- data/facts/3.1/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.1/windows-2012 r2-x86_64.facts +92 -62
- data/facts/3.1/windows-2012-x86_64.facts +75 -28
- data/facts/3.1/windows-2016-x86_64.facts +74 -27
- data/facts/3.1/windows-7-x86_64.facts +95 -65
- data/facts/3.1/windows-8.1-x86_64.facts +73 -26
- data/facts/3.2/fedora-20-x86_64.facts +116 -0
- data/facts/3.2/fedora-21-x86_64.facts +123 -0
- data/facts/3.2/fedora-26-x86_64.facts +143 -0
- data/facts/3.3/amazon-4-x86_64.facts +351 -0
- data/facts/3.3/fedora-20-x86_64.facts +116 -0
- data/facts/3.3/fedora-21-x86_64.facts +123 -0
- data/facts/3.3/fedora-26-x86_64.facts +143 -0
- data/facts/3.3/windows-10-i386.facts +73 -26
- data/facts/3.3/windows-10-x86_64.facts +75 -28
- data/facts/3.3/windows-2008 r2-x86_64.facts +73 -26
- data/facts/3.3/windows-2008-x86_64.facts +74 -27
- data/facts/3.3/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.3/windows-2012 r2-x86_64.facts +70 -23
- data/facts/3.3/windows-2012-x86_64.facts +75 -28
- data/facts/3.3/windows-2016-x86_64.facts +72 -26
- data/facts/3.3/windows-7-x86_64.facts +72 -25
- data/facts/3.3/windows-8.1-x86_64.facts +73 -26
- data/facts/3.4/fedora-20-x86_64.facts +116 -0
- data/facts/3.4/fedora-21-x86_64.facts +123 -0
- data/facts/3.4/fedora-26-x86_64.facts +143 -0
- data/facts/3.4/windows-10-i386.facts +73 -26
- data/facts/3.4/windows-10-x86_64.facts +75 -28
- data/facts/3.4/windows-2008 r2-x86_64.facts +73 -26
- data/facts/3.4/windows-2008-x86_64.facts +74 -27
- data/facts/3.4/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.4/windows-2012 r2-x86_64.facts +70 -23
- data/facts/3.4/windows-2012-x86_64.facts +75 -28
- data/facts/3.4/windows-2016-x86_64.facts +72 -25
- data/facts/3.4/windows-7-x86_64.facts +73 -26
- data/facts/3.4/windows-8.1-x86_64.facts +73 -26
- data/facts/3.5/fedora-20-x86_64.facts +116 -0
- data/facts/3.5/fedora-21-x86_64.facts +123 -0
- data/facts/3.5/fedora-26-x86_64.facts +143 -0
- data/facts/3.5/windows-10-i386.facts +73 -26
- data/facts/3.5/windows-10-x86_64.facts +75 -28
- data/facts/3.5/windows-2008 r2-x86_64.facts +73 -26
- data/facts/3.5/windows-2008-x86_64.facts +74 -27
- data/facts/3.5/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.5/windows-2012 r2-x86_64.facts +70 -23
- data/facts/3.5/windows-2012-x86_64.facts +75 -28
- data/facts/3.5/windows-2016-x86_64.facts +74 -27
- data/facts/3.5/windows-7-x86_64.facts +73 -26
- data/facts/3.5/windows-8.1-x86_64.facts +73 -26
- data/facts/3.6/amazon-2017-x86_64.facts +367 -0
- data/facts/3.6/fedora-20-x86_64.facts +116 -0
- data/facts/3.6/fedora-21-x86_64.facts +123 -0
- data/facts/3.6/fedora-26-x86_64.facts +143 -0
- data/facts/3.6/windows-10-i386.facts +73 -26
- data/facts/3.6/windows-10-x86_64.facts +75 -28
- data/facts/3.6/windows-2008 r2-x86_64.facts +71 -24
- data/facts/3.6/windows-2008-x86_64.facts +74 -27
- data/facts/3.6/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.6/windows-2012 r2-x86_64.facts +70 -23
- data/facts/3.6/windows-2012-x86_64.facts +75 -28
- data/facts/3.6/windows-2016-x86_64.facts +74 -27
- data/facts/3.6/windows-7-x86_64.facts +73 -26
- data/facts/3.6/windows-8.1-x86_64.facts +73 -26
- data/facts/3.7/darwin-14-x86_64.facts +392 -0
- data/facts/3.7/darwin-15-x86_64.facts +410 -0
- data/facts/3.7/darwin-16-x86_64.facts +414 -0
- data/facts/3.7/fedora-20-x86_64.facts +116 -0
- data/facts/3.7/fedora-21-x86_64.facts +123 -0
- data/facts/3.7/fedora-26-x86_64.facts +143 -0
- data/facts/3.7/windows-10-i386.facts +73 -26
- data/facts/3.7/windows-10-x86_64.facts +75 -28
- data/facts/3.7/windows-2008 r2-x86_64.facts +73 -26
- data/facts/3.7/windows-2008-x86_64.facts +74 -27
- data/facts/3.7/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.7/windows-2012 r2-x86_64.facts +70 -23
- data/facts/3.7/windows-2012-x86_64.facts +75 -28
- data/facts/3.7/windows-2016-x86_64.facts +73 -26
- data/facts/3.7/windows-7-x86_64.facts +73 -26
- data/facts/3.7/windows-8.1-x86_64.facts +73 -26
- data/facts/3.8/centos-5-i386.facts +389 -0
- data/facts/3.8/centos-5-x86_64.facts +389 -0
- data/facts/3.8/centos-6-i386.facts +379 -0
- data/facts/3.8/centos-6-x86_64.facts +379 -0
- data/facts/3.8/centos-7-x86_64.facts +433 -0
- data/facts/3.8/darwin-14-x86_64.facts +375 -0
- data/facts/3.8/darwin-15-x86_64.facts +393 -0
- data/facts/3.8/darwin-16-x86_64.facts +397 -0
- data/facts/3.8/debian-7-i386.facts +440 -0
- data/facts/3.8/debian-7-x86_64.facts +440 -0
- data/facts/3.8/debian-8-i386.facts +460 -0
- data/facts/3.8/debian-8-x86_64.facts +460 -0
- data/facts/3.8/debian-9-i386.facts +476 -0
- data/facts/3.8/debian-9-x86_64.facts +476 -0
- data/facts/3.8/fedora-20-x86_64.facts +116 -0
- data/facts/3.8/fedora-21-x86_64.facts +123 -0
- data/facts/3.8/fedora-25-i386.facts +443 -0
- data/facts/3.8/fedora-25-x86_64.facts +443 -0
- data/facts/3.8/fedora-26-x86_64.facts +143 -0
- data/facts/3.8/oraclelinux-5-i386.facts +403 -0
- data/facts/3.8/oraclelinux-5-x86_64.facts +403 -0
- data/facts/3.8/oraclelinux-6-i386.facts +379 -0
- data/facts/3.8/oraclelinux-6-x86_64.facts +384 -0
- data/facts/3.8/oraclelinux-7-x86_64.facts +447 -0
- data/facts/3.8/redhat-5-i386.facts +376 -0
- data/facts/3.8/redhat-5-x86_64.facts +376 -0
- data/facts/3.8/redhat-6-i386.facts +379 -0
- data/facts/3.8/redhat-6-x86_64.facts +379 -0
- data/facts/3.8/redhat-7-x86_64.facts +418 -0
- data/facts/3.8/scientific-5-i386.facts +376 -0
- data/facts/3.8/scientific-5-x86_64.facts +376 -0
- data/facts/3.8/scientific-6-i386.facts +364 -0
- data/facts/3.8/scientific-6-x86_64.facts +364 -0
- data/facts/3.8/scientific-7-x86_64.facts +433 -0
- data/facts/3.8/sles-11-i386.facts +359 -0
- data/facts/3.8/sles-11-x86_64.facts +359 -0
- data/facts/3.8/sles-12-x86_64.facts +386 -0
- data/facts/3.8/ubuntu-14.04-i386.facts +467 -0
- data/facts/3.8/ubuntu-14.04-x86_64.facts +467 -0
- data/facts/3.8/ubuntu-16.04-i386.facts +482 -0
- data/facts/3.8/ubuntu-16.04-x86_64.facts +482 -0
- data/facts/3.8/windows-10-i386.facts +162 -0
- data/facts/3.8/windows-10-x86_64.facts +162 -0
- data/facts/3.8/windows-2008 r2-x86_64.facts +162 -0
- data/facts/3.8/windows-2008-x86_64.facts +162 -0
- data/facts/3.8/windows-2012 r2-core-x86_64.facts +162 -0
- data/facts/3.8/windows-2012 r2-x86_64.facts +162 -0
- data/facts/3.8/windows-2012-x86_64.facts +162 -0
- data/facts/3.8/windows-2016-x86_64.facts +162 -0
- data/facts/3.8/windows-7-x86_64.facts +162 -0
- data/facts/3.8/windows-8.1-x86_64.facts +162 -0
- data/facts/Vagrantfile +11 -1
- data/facts/get_facts.sh +11 -2
- data/lib/facterdb.rb +39 -1
- data/lib/facterdb/version.rb +1 -1
- data/spec/facterdb_spec.rb +94 -0
- data/spec/spec_helper.rb +4 -0
- metadata +113 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d364d21c8a8005c5707071b2505929811e611b3
|
4
|
+
data.tar.gz: c28896ab52abe2ad92aaf2f4e9e7ba85bc185da6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ac60113f97b6bd4f57341b6c8b7a77d29f386db0987f69c30e18a91e908911bc89b5a8e076c5cee328536608d05db289b77ab5f13b1b88f2ef62127623f4aeb
|
7
|
+
data.tar.gz: a71f465fad3cae37212a32c5924f6f15006901e97c292a551744ddeab45e8e1f030fc4c0982a636f57b683693f9311f02b7f55aa96125efd7e78035cdf06c883
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -54,7 +54,7 @@ require 'facterdb'
|
|
54
54
|
FacterDB::get_facts('osfamily=Debian')
|
55
55
|
```
|
56
56
|
|
57
|
-
|
57
|
+
## Facter versions supported
|
58
58
|
|
59
59
|
* 1.6
|
60
60
|
* 1.7
|
@@ -66,8 +66,13 @@ FacterDB::get_facts('osfamily=Debian')
|
|
66
66
|
* 3.0
|
67
67
|
* 3.1
|
68
68
|
* 3.3
|
69
|
+
* 3.4
|
70
|
+
* 3.5
|
71
|
+
* 3.6
|
72
|
+
* 3.7
|
73
|
+
* 3.8
|
69
74
|
|
70
|
-
|
75
|
+
## Operating Systems supported
|
71
76
|
|
72
77
|
* AIX
|
73
78
|
* ArchLinux
|
@@ -113,7 +118,7 @@ FacterDB::get_facts('osfamily=Debian')
|
|
113
118
|
* Windows 2012 r2
|
114
119
|
* Windows 7
|
115
120
|
|
116
|
-
|
121
|
+
## Add new Operating System support
|
117
122
|
|
118
123
|
There is `Vagrantfile` to automagically populate `facts` directory by spawning a new VM and launches a provisioning scripts.
|
119
124
|
|
@@ -134,3 +139,55 @@ for file in facts/*/centos-*.facts; do cat $file | sed -e 's/CentOS/RedHat/' > $
|
|
134
139
|
for file in facts/*/centos-*.facts; do cat $file | sed -e 's/CentOS/Scientific/' > $(echo $file | sed 's/centos/scientific/'); done
|
135
140
|
for file in facts/*/centos-*.facts; do cat $file | sed -e 's/CentOS/OracleLinux/' > $(echo $file | sed 's/centos/oraclelinux/'); done
|
136
141
|
```
|
142
|
+
|
143
|
+
## Supplying custom external facts
|
144
|
+
The default facts are great for many things but there will be times when you need to have facterdb search custom
|
145
|
+
fact sets that only make sense in your environment or might contain sensitive information.
|
146
|
+
|
147
|
+
This can be useful when combined with [rspec_puppet_facts](https://github.com/mcanevet/rspec-puppet-facts) or the [puppet-debugger](https://github.com/nwops/puppet-debugger) which both use this gem.
|
148
|
+
|
149
|
+
To supply external facts to facterdb just set the `FACTERDB_SEARCH_PATHS` environment variable with one or more
|
150
|
+
paths to your facts. Do this any time facterdb is used directly or indirectly.
|
151
|
+
|
152
|
+
When separating paths please use the default path separator character supported by your OS.
|
153
|
+
* Unix/Linux/OSX = `:`
|
154
|
+
* Windows = `;`
|
155
|
+
|
156
|
+
Each fact set you create must meet the following requirements:
|
157
|
+
1. A JSON serialized file containing a single Hash of all the facts.
|
158
|
+
2. The facts file must end in `.facts`
|
159
|
+
3. Must be placed inside some directory. You can organize this directory however you like.
|
160
|
+
|
161
|
+
Facterdb is smart enough the search your supplied directories for files ending with '.facts'. You can even supply
|
162
|
+
multiple directories.
|
163
|
+
|
164
|
+
Example:
|
165
|
+
|
166
|
+
`FACTERDB_SEARCH_PATHS="/var/opt/lib/custom_facts"`
|
167
|
+
|
168
|
+
or
|
169
|
+
|
170
|
+
`FACTERDB_SEARCH_PATHS="/var/opt/lib/custom_facts:/tmp/custom_facts:/home/user1/custom_facts"`
|
171
|
+
|
172
|
+
We still highly encourage you to create pull requests with new fact sets over of using external facts.
|
173
|
+
|
174
|
+
You can create these files via many methods.
|
175
|
+
|
176
|
+
* `puppet facts | jq '.values' > /tmp/custom_facts/datacenter_a/2.4/os_x.facts` # must have jq command
|
177
|
+
* Via puppetdb queries
|
178
|
+
* hand crafted
|
179
|
+
|
180
|
+
|
181
|
+
Additionally you can skip the default FacterDB facts completely by setting the environment variable `FACTERDB_SKIP_DEFAULTDB`.
|
182
|
+
This will instruct facterdb to not look at its built-in facts which can be useful should you need to completely replace which facts are used.
|
183
|
+
|
184
|
+
|
185
|
+
Setting the variable `FACTERDB_SKIP_DEFAULTDB` to anything will disable the internal facts used by facterdb. You would most likely use this in combination
|
186
|
+
with the `FACTERDB_SEARCH_PATHS` environment variable.
|
187
|
+
|
188
|
+
Example:
|
189
|
+
|
190
|
+
```
|
191
|
+
FACTERDB_SEARCH_PATHS="/var/opt/lib/custom_facts:/tmp/custom_facts:/home/user1/custom_facts"
|
192
|
+
FACTERDB_SKIP_DEFAULTDB='yes'
|
193
|
+
```
|
data/facterdb.gemspec
CHANGED
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
|
19
19
|
s.add_development_dependency 'coveralls'
|
20
20
|
s.add_development_dependency 'rake'
|
21
|
+
s.add_development_dependency 'pry'
|
21
22
|
s.add_development_dependency 'rspec'
|
22
23
|
s.add_development_dependency 'github_changelog_generator', '~> 1.10', '< 1.10.4'
|
23
24
|
s.add_runtime_dependency 'json' if RUBY_VERSION =~ /^1\.8/
|
@@ -0,0 +1,61 @@
|
|
1
|
+
{
|
2
|
+
"gem_version": "~> 1.6.0",
|
3
|
+
"architecture": "x86_64",
|
4
|
+
"kernel": "Linux",
|
5
|
+
"augeasversion": "1.4.0",
|
6
|
+
"domain": "us-gov-west-1.compute.internal",
|
7
|
+
"macaddress": "02:85:E9:60:90:D4",
|
8
|
+
"operatingsystem": "Amazon",
|
9
|
+
"facterversion": "1.6.18",
|
10
|
+
"fqdn": "ip-10-254-253-132.us-gov-west-1.compute.internal",
|
11
|
+
"hardwareisa": "x86_64",
|
12
|
+
"hardwaremodel": "x86_64",
|
13
|
+
"hostname": "ip-10-254-253-132",
|
14
|
+
"id": "root",
|
15
|
+
"interfaces": "eth0,lo",
|
16
|
+
"ipaddress_eth0": "10.254.253.132",
|
17
|
+
"macaddress_eth0": "02:85:E9:60:90:D4",
|
18
|
+
"netmask_eth0": "255.255.255.192",
|
19
|
+
"mtu_eth0": "9001",
|
20
|
+
"ipaddress_lo": "127.0.0.1",
|
21
|
+
"netmask_lo": "255.0.0.0",
|
22
|
+
"mtu_lo": "65536",
|
23
|
+
"ipaddress": "10.254.253.132",
|
24
|
+
"kernelmajversion": "4.9",
|
25
|
+
"kernelrelease": "4.9.27-14.33.amzn1.x86_64",
|
26
|
+
"kernelversion": "4.9.27",
|
27
|
+
"manufacturer": "Xen",
|
28
|
+
"productname": "HVM domU",
|
29
|
+
"serialnumber": "ec209762-def6-9b34-bb6f-eba5e5ee4c56",
|
30
|
+
"type": "Other",
|
31
|
+
"memorysize": "1.95 GB",
|
32
|
+
"memoryfree": "1.27 GB",
|
33
|
+
"swapsize": "0.00 kB",
|
34
|
+
"swapfree": "0.00 kB",
|
35
|
+
"memorytotal": "1.95 GB",
|
36
|
+
"netmask": "255.255.255.192",
|
37
|
+
"network_eth0": "10.254.253.128",
|
38
|
+
"network_lo": "127.0.0.0",
|
39
|
+
"operatingsystemrelease": "4.9.27-14.33.amzn1.x86_64",
|
40
|
+
"osfamily": "Linux",
|
41
|
+
"path": "/home/bob_ops/facterdb/facts/vendor/bundler/ruby/2.1.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin",
|
42
|
+
"physicalprocessorcount": 1,
|
43
|
+
"processor0": "Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz",
|
44
|
+
"processorcount": "1",
|
45
|
+
"ps": "ps -ef",
|
46
|
+
"puppetversion": "4.10.4",
|
47
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
48
|
+
"rubyversion": "2.1.9",
|
49
|
+
"selinux": "false",
|
50
|
+
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAIzzXVJ969js6E3t0Mn/DRSM7fe5a/XRBBwM9fwkVOywQI3lwp6slu1VzVy0OxdtynCbY5GLnf5m3hftmrdoWjHRzIwpfeEx9Nx1Al/k1/ObRKtMrXOrGfmb5kqJjhchtObSVyNe8P/A1YHoelC8p7DLltjEzmE6hTdjh/hAtDU9AAAAFQD92+2vIWrEDG1MOwoqMLbILhcx7wAAAIB2+c/2bEeJbXYCrmKBbOgTP0hVC1IXot77jYJMkCkj7+pNpBSOENmZ3pDjtmq4G9aN8xmT0W+mDQWT6sn+6FfwPl15CElazyELu3XxjjamQN1GkayaIq7SImPwg2bePxAoL2Nc6pehjzZ12zgsqaoZ+LpJyLqg/37Q59LeBu+30gAAAIEAhKPPVndjaLrwlMJwic6micb06ehZO1dEVE2HJDQntLVdlEWJTfcZWZLiucuTj+D9CHj8icHBHG3ss8mi39TAKbRKHcpxQU5V4/TZCB28EiLd6RYn+GvjL55a3u5snqUQ/b7NbLH8XRkFuiodVNJlcehrfpp8fWBDfgGhCta2U7M=",
|
51
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDWqjpmmtqmYXEp6D1G9JM3tSP1lrjc2yBGE3DSvMRWtfeLaE8J2vRKhPmspicJF44SflWlA5RUPjhtKxBzhqrm3BtfIrGKfUKve0UYNm+ELKhpNy4m6Mc6yw43KDw/04i1kQaeHxLUP76OYvh//gfEdpcMYnGJF2pR/lol6N9ZN6tJXhw3gTuZdmI61qJodTBmrAJ1sikzdwBYzVmKELje3K/R+LE/RvB5o1C5sTDXLHXjOauCxZrFWwlokwupe802TueGxY3bOe27aCb3MSdXwb+Rx1Qx659NVD5VQyoCXgGVYa6IVULyw1sH8TBB9GwW7HZFGTo0JV9qQHpTl4Y5",
|
52
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIAZqAKBTo1r+WXrWbBeFmbXaEaKWC+m20zRnBWLKflebi8fjUP2g9HMUCuh1021Yam+SKjzmm0Butv2KE4unyQ=",
|
53
|
+
"timezone": "UTC",
|
54
|
+
"uniqueid": "fe0a84fd",
|
55
|
+
"uptime": "2:39 hours",
|
56
|
+
"uptime_days": 0,
|
57
|
+
"uptime_hours": 2,
|
58
|
+
"uptime_seconds": 9554,
|
59
|
+
"virtual": "xenhvm",
|
60
|
+
"is_virtual": "true"
|
61
|
+
}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
{
|
2
|
+
"gem_version": "~> 1.7.0",
|
3
|
+
"architecture": "x86_64",
|
4
|
+
"augeasversion": "1.4.0",
|
5
|
+
"kernel": "Linux",
|
6
|
+
"blockdevice_xvda_size": 8589934592,
|
7
|
+
"blockdevices": "xvda",
|
8
|
+
"domain": "us-gov-west-1.compute.internal",
|
9
|
+
"macaddress": "02:85:E9:60:90:D4",
|
10
|
+
"osfamily": "RedHat",
|
11
|
+
"operatingsystem": "Amazon",
|
12
|
+
"facterversion": "1.7.6",
|
13
|
+
"filesystems": "ext3,ext4",
|
14
|
+
"fqdn": "ip-10-254-253-132.us-gov-west-1.compute.internal",
|
15
|
+
"hardwareisa": "x86_64",
|
16
|
+
"hardwaremodel": "x86_64",
|
17
|
+
"hostname": "ip-10-254-253-132",
|
18
|
+
"id": "root",
|
19
|
+
"interfaces": "eth0,lo",
|
20
|
+
"ipaddress_eth0": "10.254.253.132",
|
21
|
+
"macaddress_eth0": "02:85:E9:60:90:D4",
|
22
|
+
"netmask_eth0": "255.255.255.192",
|
23
|
+
"mtu_eth0": "9001",
|
24
|
+
"ipaddress_lo": "127.0.0.1",
|
25
|
+
"netmask_lo": "255.0.0.0",
|
26
|
+
"mtu_lo": "65536",
|
27
|
+
"ipaddress": "10.254.253.132",
|
28
|
+
"kernelmajversion": "4.9",
|
29
|
+
"kernelrelease": "4.9.27-14.33.amzn1.x86_64",
|
30
|
+
"kernelversion": "4.9.27",
|
31
|
+
"bios_vendor": "Xen",
|
32
|
+
"bios_version": "4.2.amazon",
|
33
|
+
"bios_release_date": "02/16/2017",
|
34
|
+
"manufacturer": "Xen",
|
35
|
+
"productname": "HVM domU",
|
36
|
+
"serialnumber": "ec209762-def6-9b34-bb6f-eba5e5ee4c56",
|
37
|
+
"uuid": "EC209762-DEF6-9B34-BB6F-EBA5E5EE4C56",
|
38
|
+
"type": "Other",
|
39
|
+
"memorysize": "1.95 GB",
|
40
|
+
"memoryfree": "1.26 GB",
|
41
|
+
"swapsize": "0.00 MB",
|
42
|
+
"swapfree": "0.00 MB",
|
43
|
+
"swapsize_mb": "0.00",
|
44
|
+
"swapfree_mb": "0.00",
|
45
|
+
"memorysize_mb": "2001.53",
|
46
|
+
"memoryfree_mb": "1293.16",
|
47
|
+
"memorytotal": "1.95 GB",
|
48
|
+
"netmask": "255.255.255.192",
|
49
|
+
"network_eth0": "10.254.253.128",
|
50
|
+
"network_lo": "127.0.0.0",
|
51
|
+
"operatingsystemmajrelease": "4",
|
52
|
+
"operatingsystemrelease": "4.9.27-14.33.amzn1.x86_64",
|
53
|
+
"path": "/home/bob_ops/facterdb/facts/vendor/bundler/ruby/2.1.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin",
|
54
|
+
"physicalprocessorcount": 1,
|
55
|
+
"processor0": "Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz",
|
56
|
+
"processorcount": "1",
|
57
|
+
"ps": "ps -ef",
|
58
|
+
"puppetversion": "4.10.4",
|
59
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
60
|
+
"rubyversion": "2.1.9",
|
61
|
+
"selinux": "false",
|
62
|
+
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAIzzXVJ969js6E3t0Mn/DRSM7fe5a/XRBBwM9fwkVOywQI3lwp6slu1VzVy0OxdtynCbY5GLnf5m3hftmrdoWjHRzIwpfeEx9Nx1Al/k1/ObRKtMrXOrGfmb5kqJjhchtObSVyNe8P/A1YHoelC8p7DLltjEzmE6hTdjh/hAtDU9AAAAFQD92+2vIWrEDG1MOwoqMLbILhcx7wAAAIB2+c/2bEeJbXYCrmKBbOgTP0hVC1IXot77jYJMkCkj7+pNpBSOENmZ3pDjtmq4G9aN8xmT0W+mDQWT6sn+6FfwPl15CElazyELu3XxjjamQN1GkayaIq7SImPwg2bePxAoL2Nc6pehjzZ12zgsqaoZ+LpJyLqg/37Q59LeBu+30gAAAIEAhKPPVndjaLrwlMJwic6micb06ehZO1dEVE2HJDQntLVdlEWJTfcZWZLiucuTj+D9CHj8icHBHG3ss8mi39TAKbRKHcpxQU5V4/TZCB28EiLd6RYn+GvjL55a3u5snqUQ/b7NbLH8XRkFuiodVNJlcehrfpp8fWBDfgGhCta2U7M=",
|
63
|
+
"sshfp_dsa": "SSHFP 2 1 c43bf10c9a439eeb15ec22474d75f0af56ffcba7\nSSHFP 2 2 b63472dd58bccbd6bb40e55902f70418d432df98657476080a56b80062cffdbe",
|
64
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDWqjpmmtqmYXEp6D1G9JM3tSP1lrjc2yBGE3DSvMRWtfeLaE8J2vRKhPmspicJF44SflWlA5RUPjhtKxBzhqrm3BtfIrGKfUKve0UYNm+ELKhpNy4m6Mc6yw43KDw/04i1kQaeHxLUP76OYvh//gfEdpcMYnGJF2pR/lol6N9ZN6tJXhw3gTuZdmI61qJodTBmrAJ1sikzdwBYzVmKELje3K/R+LE/RvB5o1C5sTDXLHXjOauCxZrFWwlokwupe802TueGxY3bOe27aCb3MSdXwb+Rx1Qx659NVD5VQyoCXgGVYa6IVULyw1sH8TBB9GwW7HZFGTo0JV9qQHpTl4Y5",
|
65
|
+
"sshfp_rsa": "SSHFP 1 1 4def1ffa75235b7e5c95c0db75373ac3d4f4378c\nSSHFP 1 2 b8fb14b70b8407b5fef32f56cd8fe20daa7da5061ccb3266a4d168345474dcbc",
|
66
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIAZqAKBTo1r+WXrWbBeFmbXaEaKWC+m20zRnBWLKflebi8fjUP2g9HMUCuh1021Yam+SKjzmm0Butv2KE4unyQ=",
|
67
|
+
"sshfp_ecdsa": "SSHFP 3 1 f366cf43a2f9abc44509ff0edd8c7cb801cd53c4\nSSHFP 3 2 ea130fb2ce0f4c8131336e04ded6c4497a9d24a169db1e92a3f969a5f749e2d8",
|
68
|
+
"timezone": "UTC",
|
69
|
+
"uniqueid": "fe0a84fd",
|
70
|
+
"uptime": "2:39 hours",
|
71
|
+
"uptime_days": 0,
|
72
|
+
"uptime_hours": 2,
|
73
|
+
"uptime_seconds": 9557,
|
74
|
+
"virtual": "xenhvm",
|
75
|
+
"is_virtual": "true"
|
76
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
{
|
2
|
+
"gem_version": "~> 2.0.0",
|
3
|
+
"interfaces": "eth0,lo",
|
4
|
+
"kernel": "Linux",
|
5
|
+
"ipaddress_eth0": "10.254.253.132",
|
6
|
+
"macaddress_eth0": "02:85:E9:60:90:D4",
|
7
|
+
"netmask_eth0": "255.255.255.192",
|
8
|
+
"mtu_eth0": "9001",
|
9
|
+
"ipaddress_lo": "127.0.0.1",
|
10
|
+
"netmask_lo": "255.0.0.0",
|
11
|
+
"mtu_lo": "65536",
|
12
|
+
"architecture": "x86_64",
|
13
|
+
"macaddress": "02:85:E9:60:90:D4",
|
14
|
+
"domain": "us-gov-west-1.compute.internal",
|
15
|
+
"operatingsystemmajrelease": "4",
|
16
|
+
"fqdn": "ip-10-254-253-132.us-gov-west-1.compute.internal",
|
17
|
+
"id": "root",
|
18
|
+
"uptime": "2:39 hours",
|
19
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
20
|
+
"uptime_hours": 2,
|
21
|
+
"osfamily": "RedHat",
|
22
|
+
"operatingsystem": "Amazon",
|
23
|
+
"facterversion": "2.0.2",
|
24
|
+
"hardwaremodel": "x86_64",
|
25
|
+
"processor0": "Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz",
|
26
|
+
"processorcount": "1",
|
27
|
+
"bios_vendor": "Xen",
|
28
|
+
"bios_version": "4.2.amazon",
|
29
|
+
"bios_release_date": "02/16/2017",
|
30
|
+
"manufacturer": "Xen",
|
31
|
+
"productname": "HVM domU",
|
32
|
+
"serialnumber": "ec209762-def6-9b34-bb6f-eba5e5ee4c56",
|
33
|
+
"uuid": "EC209762-DEF6-9B34-BB6F-EBA5E5EE4C56",
|
34
|
+
"type": "Other",
|
35
|
+
"timezone": "UTC",
|
36
|
+
"filesystems": "ext3,ext4",
|
37
|
+
"network_eth0": "10.254.253.128",
|
38
|
+
"network_lo": "127.0.0.0",
|
39
|
+
"hardwareisa": "x86_64",
|
40
|
+
"virtual": "xenhvm",
|
41
|
+
"is_virtual": "true",
|
42
|
+
"uptime_seconds": 9559,
|
43
|
+
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAIzzXVJ969js6E3t0Mn/DRSM7fe5a/XRBBwM9fwkVOywQI3lwp6slu1VzVy0OxdtynCbY5GLnf5m3hftmrdoWjHRzIwpfeEx9Nx1Al/k1/ObRKtMrXOrGfmb5kqJjhchtObSVyNe8P/A1YHoelC8p7DLltjEzmE6hTdjh/hAtDU9AAAAFQD92+2vIWrEDG1MOwoqMLbILhcx7wAAAIB2+c/2bEeJbXYCrmKBbOgTP0hVC1IXot77jYJMkCkj7+pNpBSOENmZ3pDjtmq4G9aN8xmT0W+mDQWT6sn+6FfwPl15CElazyELu3XxjjamQN1GkayaIq7SImPwg2bePxAoL2Nc6pehjzZ12zgsqaoZ+LpJyLqg/37Q59LeBu+30gAAAIEAhKPPVndjaLrwlMJwic6micb06ehZO1dEVE2HJDQntLVdlEWJTfcZWZLiucuTj+D9CHj8icHBHG3ss8mi39TAKbRKHcpxQU5V4/TZCB28EiLd6RYn+GvjL55a3u5snqUQ/b7NbLH8XRkFuiodVNJlcehrfpp8fWBDfgGhCta2U7M=",
|
44
|
+
"sshfp_dsa": "SSHFP 2 1 c43bf10c9a439eeb15ec22474d75f0af56ffcba7\nSSHFP 2 2 b63472dd58bccbd6bb40e55902f70418d432df98657476080a56b80062cffdbe",
|
45
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDWqjpmmtqmYXEp6D1G9JM3tSP1lrjc2yBGE3DSvMRWtfeLaE8J2vRKhPmspicJF44SflWlA5RUPjhtKxBzhqrm3BtfIrGKfUKve0UYNm+ELKhpNy4m6Mc6yw43KDw/04i1kQaeHxLUP76OYvh//gfEdpcMYnGJF2pR/lol6N9ZN6tJXhw3gTuZdmI61qJodTBmrAJ1sikzdwBYzVmKELje3K/R+LE/RvB5o1C5sTDXLHXjOauCxZrFWwlokwupe802TueGxY3bOe27aCb3MSdXwb+Rx1Qx659NVD5VQyoCXgGVYa6IVULyw1sH8TBB9GwW7HZFGTo0JV9qQHpTl4Y5",
|
46
|
+
"sshfp_rsa": "SSHFP 1 1 4def1ffa75235b7e5c95c0db75373ac3d4f4378c\nSSHFP 1 2 b8fb14b70b8407b5fef32f56cd8fe20daa7da5061ccb3266a4d168345474dcbc",
|
47
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIAZqAKBTo1r+WXrWbBeFmbXaEaKWC+m20zRnBWLKflebi8fjUP2g9HMUCuh1021Yam+SKjzmm0Butv2KE4unyQ=",
|
48
|
+
"sshfp_ecdsa": "SSHFP 3 1 f366cf43a2f9abc44509ff0edd8c7cb801cd53c4\nSSHFP 3 2 ea130fb2ce0f4c8131336e04ded6c4497a9d24a169db1e92a3f969a5f749e2d8",
|
49
|
+
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIGvxvqngzqP1jXfmQCf/xgjQp/oNUjGsuKX2/Mra4isy",
|
50
|
+
"sshfp_ed25519": "SSHFP 4 1 f6b9e74d6de41081ebe75e867990a76b85c6d107\nSSHFP 4 2 4a10c3e11ef7d31c7bb24fe0f171347c52374f9803e1ca0ed787e67a01db32f6",
|
51
|
+
"rubyversion": "2.1.9",
|
52
|
+
"path": "/home/bob_ops/facterdb/facts/vendor/bundler/ruby/2.1.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin",
|
53
|
+
"memorysize": "1.95 GB",
|
54
|
+
"memoryfree": "1.28 GB",
|
55
|
+
"swapsize": "0.00 MB",
|
56
|
+
"swapfree": "0.00 MB",
|
57
|
+
"swapsize_mb": "0.00",
|
58
|
+
"swapfree_mb": "0.00",
|
59
|
+
"memorysize_mb": "2001.53",
|
60
|
+
"memoryfree_mb": "1309.96",
|
61
|
+
"hostname": "ip-10-254-253-132",
|
62
|
+
"ps": "ps -ef",
|
63
|
+
"uptime_days": 0,
|
64
|
+
"operatingsystemrelease": "4.9.27-14.33.amzn1.x86_64",
|
65
|
+
"ipaddress": "10.254.253.132",
|
66
|
+
"augeasversion": "1.4.0",
|
67
|
+
"kernelrelease": "4.9.27-14.33.amzn1.x86_64",
|
68
|
+
"puppetversion": "4.10.4",
|
69
|
+
"blockdevice_xvda_size": 8589934592,
|
70
|
+
"blockdevices": "xvda",
|
71
|
+
"uniqueid": "fe0a84fd",
|
72
|
+
"physicalprocessorcount": "1",
|
73
|
+
"netmask": "255.255.255.192",
|
74
|
+
"selinux": "false",
|
75
|
+
"kernelversion": "4.9.27",
|
76
|
+
"kernelmajversion": "4.9"
|
77
|
+
}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
"kernel": "Linux",
|
9
9
|
"uptime_days": 0,
|
10
10
|
"uniqueid": "200ac67e",
|
11
|
-
"operatingsystemrelease": "
|
11
|
+
"operatingsystemrelease": "9.1",
|
12
12
|
"rubyversion": "2.3.3",
|
13
13
|
"timezone": "PDT",
|
14
14
|
"hardwareisa": "unknown",
|
@@ -81,5 +81,5 @@
|
|
81
81
|
"rubysitedir": "/usr/local/lib/site_ruby/2.3.0",
|
82
82
|
"uptime_seconds": 48518,
|
83
83
|
"lsbdistdescription": "Debian GNU/Linux 9.1 (stretch)",
|
84
|
-
"operatingsystemmajrelease": "
|
84
|
+
"operatingsystemmajrelease": "9"
|
85
85
|
}
|
@@ -20,7 +20,7 @@
|
|
20
20
|
"facterversion": "2.0.2",
|
21
21
|
"rubysitedir": "/usr/local/lib/site_ruby/2.3.0",
|
22
22
|
"uptime_seconds": 48346,
|
23
|
-
"operatingsystemrelease": "
|
23
|
+
"operatingsystemrelease": "9.1",
|
24
24
|
"uptime": "13:25 hours",
|
25
25
|
"macaddress": "00:50:56:a2:40:1c",
|
26
26
|
"boardmanufacturer": "Intel Corporation",
|
@@ -70,7 +70,7 @@
|
|
70
70
|
"rubyversion": "2.3.3",
|
71
71
|
"uptime_days": 0,
|
72
72
|
"lsbdistcodename": "stretch",
|
73
|
-
"operatingsystemmajrelease": "
|
73
|
+
"operatingsystemmajrelease": "9",
|
74
74
|
"netmask": "255.255.240.0",
|
75
75
|
"id": "root",
|
76
76
|
"blockdevice_fd0_size": 4096,
|
@@ -0,0 +1,212 @@
|
|
1
|
+
{
|
2
|
+
"gem_version": "~> 2.1.0",
|
3
|
+
"interfaces": "eth0,lo",
|
4
|
+
"kernel": "Linux",
|
5
|
+
"ipaddress_eth0": "10.254.253.132",
|
6
|
+
"macaddress_eth0": "02:85:E9:60:90:D4",
|
7
|
+
"netmask_eth0": "255.255.255.192",
|
8
|
+
"mtu_eth0": "9001",
|
9
|
+
"ipaddress_lo": "127.0.0.1",
|
10
|
+
"netmask_lo": "255.0.0.0",
|
11
|
+
"mtu_lo": "65536",
|
12
|
+
"architecture": "x86_64",
|
13
|
+
"macaddress": "02:85:E9:60:90:D4",
|
14
|
+
"domain": "us-gov-west-1.compute.internal",
|
15
|
+
"operatingsystemmajrelease": "4",
|
16
|
+
"fqdn": "ip-10-254-253-132.us-gov-west-1.compute.internal",
|
17
|
+
"id": "root",
|
18
|
+
"uptime": "2:39 hours",
|
19
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
20
|
+
"uptime_hours": 2,
|
21
|
+
"ec2_metadata": {
|
22
|
+
"ami-id": "ami-b2d056d3",
|
23
|
+
"ami-launch-index": "0",
|
24
|
+
"ami-manifest-path": "(unknown)",
|
25
|
+
"block-device-mapping": {
|
26
|
+
"ami": "/dev/xvda",
|
27
|
+
"root": "/dev/xvda"
|
28
|
+
},
|
29
|
+
"hostname": "ip-10-254-253-132.us-gov-west-1.compute.internal",
|
30
|
+
"iam": {
|
31
|
+
"info": [
|
32
|
+
"{",
|
33
|
+
" \"Code\" : \"Success\",",
|
34
|
+
" \"LastUpdated\" : \"2017-09-14T21:04:53Z\",",
|
35
|
+
" \"InstanceProfileArn\" : \"arn:aws-us-gov:iam::050287752177:instance-profile/caf-dev-default-role\",",
|
36
|
+
" \"InstanceProfileId\" : \"AIPAK7C66WYDVS3ZKCQRI\"",
|
37
|
+
"}"
|
38
|
+
],
|
39
|
+
"security-credentials": {
|
40
|
+
"caf-dev-default-role": [
|
41
|
+
"{",
|
42
|
+
" \"Code\" : \"Success\",",
|
43
|
+
" \"LastUpdated\" : \"2017-09-14T21:03:59Z\",",
|
44
|
+
" \"Type\" : \"AWS-HMAC\",",
|
45
|
+
" \"AccessKeyId\" : \"ASIALIN3CJNFPU34NJZA\",",
|
46
|
+
" \"SecretAccessKey\" : \"l9b+p1XYw9Gihar4chWZttOJgJdBY7dwdAHEV20p\",",
|
47
|
+
" \"Token\" : \"FQoDYXdzEDQaDD3R/kUjaY5Sab6iUCLNA6lxDgp+dPzndK0q6RrJWt5OX8RXH6MmP9JQR4bkcBQo/sWqMExA9RKcqfLSAyeaF6nmCM9D1UfIcmg9QCOCaOb/xbXGv1iu2kWjx/kZTcaStQoM5rRqDgcQj8ALbgnF+NyVUYdoT/mHWR94TwGioIalaHcvMHTJSwe6hafW+B3nBR8uPa+NrGbEztktS1TRlXT2a54T6Id+Oz/5ZrIZqIg+lFR88tvj+f41fwKBlA4baPl1Ow1DzWCp2vlmFD0XmoM9HC9M9UYB65XS06qOSlgEiMS6G+80BXy7kyWFHzh1vAhMYdzpMsa9ysW1wD0GyP43kUuK5rMoVMFQYB1z9oHqpuFQa1Am+z0+xJMauDIIT7cDiuIDS22l+cGscqDogG4Gamv9IN4i5kVLpr5p8EjaIdJ4ivQ+bn6ggWpbpac7HoJ+PuYY8cN/rs/qoiHU/kkD3eoik4Ptf86uQj7qJVcAXObkoO5o22cVkCwjtFA6jjWplF8rHfvTRVllMqhqxnCUk9X9hdh7+1jR6UNwBXi7o//p0ML9rYK+LleowUXBrpIRBOXagtGFeBmexHlNqdUj9bfnE8tbdY5lNvI7cUrfikjqpGNyNhOdKohsKObd680F\",",
|
48
|
+
" \"Expiration\" : \"2017-09-15T03:33:28Z\"",
|
49
|
+
"}"
|
50
|
+
]
|
51
|
+
}
|
52
|
+
},
|
53
|
+
"instance-action": "none",
|
54
|
+
"instance-id": "i-021bd29b48d609819",
|
55
|
+
"instance-type": "t2.small",
|
56
|
+
"local-hostname": "ip-10-254-253-132.us-gov-west-1.compute.internal",
|
57
|
+
"local-ipv4": "10.254.253.132",
|
58
|
+
"mac": "02:85:e9:60:90:d4",
|
59
|
+
"metrics": {
|
60
|
+
"vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
|
61
|
+
},
|
62
|
+
"network": {
|
63
|
+
"interfaces": {
|
64
|
+
"macs": {
|
65
|
+
"02:85:e9:60:90:d4": {
|
66
|
+
"device-number": "0",
|
67
|
+
"interface-id": "eni-f53215b3",
|
68
|
+
"local-hostname": "ip-10-254-253-132.us-gov-west-1.compute.internal",
|
69
|
+
"local-ipv4s": "10.254.253.132",
|
70
|
+
"mac": "02:85:e9:60:90:d4",
|
71
|
+
"owner-id": "050287752177",
|
72
|
+
"security-group-ids": "sg-04863961",
|
73
|
+
"security-groups": "caf-ops-management",
|
74
|
+
"subnet-id": "subnet-076f1f62",
|
75
|
+
"subnet-ipv4-cidr-block": "10.254.253.128/26",
|
76
|
+
"vpc-id": "vpc-d660abb3",
|
77
|
+
"vpc-ipv4-cidr-block": "10.254.253.0/24",
|
78
|
+
"vpc-ipv4-cidr-blocks": "10.254.253.0/24"
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"placement": {
|
84
|
+
"availability-zone": "us-gov-west-1a"
|
85
|
+
},
|
86
|
+
"profile": "default-hvm",
|
87
|
+
"public-keys": {
|
88
|
+
"0": {
|
89
|
+
"openssh-key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDqlxaiYiVRFtC4eDVw7ilzMR8eo6B/b6JWv8xqjGzAn1wbGsca0v6RkyozigNF+lupZ4Li405NzYWPRWvNLVrqcQPmmlSDaX03RA9RtDuDOB1c0KHH7yMzXM509UYQIK8HEx5rmOs+0be5+/psDIeUw8hxOpyZVUC3QM+B/B7AyQXR8G1G047Zne6dHJ3qcuhkrafm68J35lGoD1ygkn+FsM6E2H17oyTdj5Rr/4VuyE0L3CBnkZaRMXnUUpSXPhnnsavg4HkUIUKJtMfitkQtUD2/TnXgcJrw2qXywaJ2FBq3q87Hl1dSozSmL3gsJ1dCySDVQBoljdwFJ71VdwfJ caf-doj-bob"
|
90
|
+
}
|
91
|
+
},
|
92
|
+
"reservation-id": "r-0959aaa272a6f36e3",
|
93
|
+
"security-groups": "caf-ops-management",
|
94
|
+
"services": {
|
95
|
+
"domain": "amazonaws.com",
|
96
|
+
"partition": "aws-us-gov"
|
97
|
+
}
|
98
|
+
},
|
99
|
+
"ec2_userdata": "#!/bin/bash -ex\nyum -y update\nrpm -Uvh https://yum.puppetlabs.com/puppetlabs-release-pc1-el-6.noarch.rpm\nyum -y install puppet-agent\nmkdir -p /etc/puppet/modules\n/opt/puppetlabs/bin/puppet module install saz-sudo\n/opt/puppetlabs/bin/puppet module install puppetlabs-accounts\naws --region us-gov-west-1 s3 cp s3://caf-ops-deployment/user_data/users_ops.pp /root/\n/opt/puppetlabs/bin/puppet apply /root/users_ops.pp",
|
100
|
+
"virtual": "xenhvm",
|
101
|
+
"is_virtual": "true",
|
102
|
+
"hardwaremodel": "x86_64",
|
103
|
+
"operatingsystem": "Amazon",
|
104
|
+
"ec2_ami_id": "ami-b2d056d3",
|
105
|
+
"ec2_ami_launch_index": "0",
|
106
|
+
"ec2_ami_manifest_path": "(unknown)",
|
107
|
+
"ec2_block_device_mapping_ami": "/dev/xvda",
|
108
|
+
"ec2_block_device_mapping_root": "/dev/xvda",
|
109
|
+
"ec2_hostname": "ip-10-254-253-132.us-gov-west-1.compute.internal",
|
110
|
+
"ec2_iam_info_0": "{",
|
111
|
+
"ec2_iam_info_1": " \"Code\" : \"Success\",",
|
112
|
+
"ec2_iam_info_2": " \"LastUpdated\" : \"2017-09-14T21:04:53Z\",",
|
113
|
+
"ec2_iam_info_3": " \"InstanceProfileArn\" : \"arn:aws-us-gov:iam::050287752177:instance-profile/caf-dev-default-role\",",
|
114
|
+
"ec2_iam_info_4": " \"InstanceProfileId\" : \"AIPAK7C66WYDVS3ZKCQRI\"",
|
115
|
+
"ec2_iam_info_5": "}",
|
116
|
+
"ec2_iam_security_credentials_caf_dev_default_role_0": "{",
|
117
|
+
"ec2_iam_security_credentials_caf_dev_default_role_1": " \"Code\" : \"Success\",",
|
118
|
+
"ec2_iam_security_credentials_caf_dev_default_role_2": " \"LastUpdated\" : \"2017-09-14T21:03:59Z\",",
|
119
|
+
"ec2_iam_security_credentials_caf_dev_default_role_3": " \"Type\" : \"AWS-HMAC\",",
|
120
|
+
"ec2_iam_security_credentials_caf_dev_default_role_4": " \"AccessKeyId\" : \"ASIALIN3CJNFPU34NJZA\",",
|
121
|
+
"ec2_iam_security_credentials_caf_dev_default_role_5": " \"SecretAccessKey\" : \"l9b+p1XYw9Gihar4chWZttOJgJdBY7dwdAHEV20p\",",
|
122
|
+
"ec2_iam_security_credentials_caf_dev_default_role_6": " \"Token\" : \"FQoDYXdzEDQaDD3R/kUjaY5Sab6iUCLNA6lxDgp+dPzndK0q6RrJWt5OX8RXH6MmP9JQR4bkcBQo/sWqMExA9RKcqfLSAyeaF6nmCM9D1UfIcmg9QCOCaOb/xbXGv1iu2kWjx/kZTcaStQoM5rRqDgcQj8ALbgnF+NyVUYdoT/mHWR94TwGioIalaHcvMHTJSwe6hafW+B3nBR8uPa+NrGbEztktS1TRlXT2a54T6Id+Oz/5ZrIZqIg+lFR88tvj+f41fwKBlA4baPl1Ow1DzWCp2vlmFD0XmoM9HC9M9UYB65XS06qOSlgEiMS6G+80BXy7kyWFHzh1vAhMYdzpMsa9ysW1wD0GyP43kUuK5rMoVMFQYB1z9oHqpuFQa1Am+z0+xJMauDIIT7cDiuIDS22l+cGscqDogG4Gamv9IN4i5kVLpr5p8EjaIdJ4ivQ+bn6ggWpbpac7HoJ+PuYY8cN/rs/qoiHU/kkD3eoik4Ptf86uQj7qJVcAXObkoO5o22cVkCwjtFA6jjWplF8rHfvTRVllMqhqxnCUk9X9hdh7+1jR6UNwBXi7o//p0ML9rYK+LleowUXBrpIRBOXagtGFeBmexHlNqdUj9bfnE8tbdY5lNvI7cUrfikjqpGNyNhOdKohsKObd680F\",",
|
123
|
+
"ec2_iam_security_credentials_caf_dev_default_role_7": " \"Expiration\" : \"2017-09-15T03:33:28Z\"",
|
124
|
+
"ec2_iam_security_credentials_caf_dev_default_role_8": "}",
|
125
|
+
"ec2_instance_action": "none",
|
126
|
+
"ec2_instance_id": "i-021bd29b48d609819",
|
127
|
+
"ec2_instance_type": "t2.small",
|
128
|
+
"ec2_local_hostname": "ip-10-254-253-132.us-gov-west-1.compute.internal",
|
129
|
+
"ec2_local_ipv4": "10.254.253.132",
|
130
|
+
"ec2_mac": "02:85:e9:60:90:d4",
|
131
|
+
"ec2_metrics_vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
132
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_device_number": "0",
|
133
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_interface_id": "eni-f53215b3",
|
134
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_local_hostname": "ip-10-254-253-132.us-gov-west-1.compute.internal",
|
135
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_local_ipv4s": "10.254.253.132",
|
136
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_mac": "02:85:e9:60:90:d4",
|
137
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_owner_id": "050287752177",
|
138
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_security_group_ids": "sg-04863961",
|
139
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_security_groups": "caf-ops-management",
|
140
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_subnet_id": "subnet-076f1f62",
|
141
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_subnet_ipv4_cidr_block": "10.254.253.128/26",
|
142
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_vpc_id": "vpc-d660abb3",
|
143
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_vpc_ipv4_cidr_block": "10.254.253.0/24",
|
144
|
+
"ec2_network_interfaces_macs_02:85:e9:60:90:d4_vpc_ipv4_cidr_blocks": "10.254.253.0/24",
|
145
|
+
"ec2_placement_availability_zone": "us-gov-west-1a",
|
146
|
+
"ec2_profile": "default-hvm",
|
147
|
+
"ec2_public_keys_0_openssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDqlxaiYiVRFtC4eDVw7ilzMR8eo6B/b6JWv8xqjGzAn1wbGsca0v6RkyozigNF+lupZ4Li405NzYWPRWvNLVrqcQPmmlSDaX03RA9RtDuDOB1c0KHH7yMzXM509UYQIK8HEx5rmOs+0be5+/psDIeUw8hxOpyZVUC3QM+B/B7AyQXR8G1G047Zne6dHJ3qcuhkrafm68J35lGoD1ygkn+FsM6E2H17oyTdj5Rr/4VuyE0L3CBnkZaRMXnUUpSXPhnnsavg4HkUIUKJtMfitkQtUD2/TnXgcJrw2qXywaJ2FBq3q87Hl1dSozSmL3gsJ1dCySDVQBoljdwFJ71VdwfJ caf-doj-bob",
|
148
|
+
"ec2_reservation_id": "r-0959aaa272a6f36e3",
|
149
|
+
"ec2_security_groups": "caf-ops-management",
|
150
|
+
"ec2_services_domain": "amazonaws.com",
|
151
|
+
"ec2_services_partition": "aws-us-gov",
|
152
|
+
"facterversion": "2.1.0",
|
153
|
+
"processor0": "Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz",
|
154
|
+
"processorcount": "1",
|
155
|
+
"bios_vendor": "Xen",
|
156
|
+
"bios_version": "4.2.amazon",
|
157
|
+
"bios_release_date": "02/16/2017",
|
158
|
+
"manufacturer": "Xen",
|
159
|
+
"productname": "HVM domU",
|
160
|
+
"serialnumber": "ec209762-def6-9b34-bb6f-eba5e5ee4c56",
|
161
|
+
"uuid": "EC209762-DEF6-9B34-BB6F-EBA5E5EE4C56",
|
162
|
+
"type": "Other",
|
163
|
+
"osfamily": "RedHat",
|
164
|
+
"timezone": "UTC",
|
165
|
+
"filesystems": "ext3,ext4",
|
166
|
+
"network_eth0": "10.254.253.128",
|
167
|
+
"network_lo": "127.0.0.0",
|
168
|
+
"hardwareisa": "x86_64",
|
169
|
+
"uptime_seconds": 9562,
|
170
|
+
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAIzzXVJ969js6E3t0Mn/DRSM7fe5a/XRBBwM9fwkVOywQI3lwp6slu1VzVy0OxdtynCbY5GLnf5m3hftmrdoWjHRzIwpfeEx9Nx1Al/k1/ObRKtMrXOrGfmb5kqJjhchtObSVyNe8P/A1YHoelC8p7DLltjEzmE6hTdjh/hAtDU9AAAAFQD92+2vIWrEDG1MOwoqMLbILhcx7wAAAIB2+c/2bEeJbXYCrmKBbOgTP0hVC1IXot77jYJMkCkj7+pNpBSOENmZ3pDjtmq4G9aN8xmT0W+mDQWT6sn+6FfwPl15CElazyELu3XxjjamQN1GkayaIq7SImPwg2bePxAoL2Nc6pehjzZ12zgsqaoZ+LpJyLqg/37Q59LeBu+30gAAAIEAhKPPVndjaLrwlMJwic6micb06ehZO1dEVE2HJDQntLVdlEWJTfcZWZLiucuTj+D9CHj8icHBHG3ss8mi39TAKbRKHcpxQU5V4/TZCB28EiLd6RYn+GvjL55a3u5snqUQ/b7NbLH8XRkFuiodVNJlcehrfpp8fWBDfgGhCta2U7M=",
|
171
|
+
"sshfp_dsa": "SSHFP 2 1 c43bf10c9a439eeb15ec22474d75f0af56ffcba7\nSSHFP 2 2 b63472dd58bccbd6bb40e55902f70418d432df98657476080a56b80062cffdbe",
|
172
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDWqjpmmtqmYXEp6D1G9JM3tSP1lrjc2yBGE3DSvMRWtfeLaE8J2vRKhPmspicJF44SflWlA5RUPjhtKxBzhqrm3BtfIrGKfUKve0UYNm+ELKhpNy4m6Mc6yw43KDw/04i1kQaeHxLUP76OYvh//gfEdpcMYnGJF2pR/lol6N9ZN6tJXhw3gTuZdmI61qJodTBmrAJ1sikzdwBYzVmKELje3K/R+LE/RvB5o1C5sTDXLHXjOauCxZrFWwlokwupe802TueGxY3bOe27aCb3MSdXwb+Rx1Qx659NVD5VQyoCXgGVYa6IVULyw1sH8TBB9GwW7HZFGTo0JV9qQHpTl4Y5",
|
173
|
+
"sshfp_rsa": "SSHFP 1 1 4def1ffa75235b7e5c95c0db75373ac3d4f4378c\nSSHFP 1 2 b8fb14b70b8407b5fef32f56cd8fe20daa7da5061ccb3266a4d168345474dcbc",
|
174
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIAZqAKBTo1r+WXrWbBeFmbXaEaKWC+m20zRnBWLKflebi8fjUP2g9HMUCuh1021Yam+SKjzmm0Butv2KE4unyQ=",
|
175
|
+
"sshfp_ecdsa": "SSHFP 3 1 f366cf43a2f9abc44509ff0edd8c7cb801cd53c4\nSSHFP 3 2 ea130fb2ce0f4c8131336e04ded6c4497a9d24a169db1e92a3f969a5f749e2d8",
|
176
|
+
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIGvxvqngzqP1jXfmQCf/xgjQp/oNUjGsuKX2/Mra4isy",
|
177
|
+
"sshfp_ed25519": "SSHFP 4 1 f6b9e74d6de41081ebe75e867990a76b85c6d107\nSSHFP 4 2 4a10c3e11ef7d31c7bb24fe0f171347c52374f9803e1ca0ed787e67a01db32f6",
|
178
|
+
"rubyversion": "2.1.9",
|
179
|
+
"path": "/home/bob_ops/facterdb/facts/vendor/bundler/ruby/2.1.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin",
|
180
|
+
"memorysize": "1.95 GB",
|
181
|
+
"memoryfree": "1.28 GB",
|
182
|
+
"swapsize": "0.00 MB",
|
183
|
+
"swapfree": "0.00 MB",
|
184
|
+
"swapsize_mb": "0.00",
|
185
|
+
"swapfree_mb": "0.00",
|
186
|
+
"memorysize_mb": "2001.53",
|
187
|
+
"memoryfree_mb": "1308.18",
|
188
|
+
"hostname": "ip-10-254-253-132",
|
189
|
+
"ps": "ps -ef",
|
190
|
+
"uptime_days": 0,
|
191
|
+
"operatingsystemrelease": "4.9.27-14.33.amzn1.x86_64",
|
192
|
+
"ipaddress": "10.254.253.132",
|
193
|
+
"augeasversion": "1.4.0",
|
194
|
+
"kernelrelease": "4.9.27-14.33.amzn1.x86_64",
|
195
|
+
"puppetversion": "4.10.4",
|
196
|
+
"partitions": {
|
197
|
+
"xvda1": {
|
198
|
+
"uuid": "d99f5b93-1427-4ad7-881e-aa4a6fc8721b",
|
199
|
+
"size": "16773087",
|
200
|
+
"mount": "/",
|
201
|
+
"filesystem": "ext4\" PARTLABEL=\"Linux\" PARTUUID=\"47e549fb-f1d0-4bb2-96cb-7cff0bccf36c"
|
202
|
+
}
|
203
|
+
},
|
204
|
+
"blockdevice_xvda_size": 8589934592,
|
205
|
+
"blockdevices": "xvda",
|
206
|
+
"uniqueid": "fe0a84fd",
|
207
|
+
"physicalprocessorcount": "1",
|
208
|
+
"netmask": "255.255.255.192",
|
209
|
+
"selinux": "false",
|
210
|
+
"kernelversion": "4.9.27",
|
211
|
+
"kernelmajversion": "4.9"
|
212
|
+
}
|