facterdb 0.3.12 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +60 -3
  4. data/facterdb.gemspec +1 -0
  5. data/facts/1.6/amazon-2017-x86_64.facts +61 -0
  6. data/facts/1.7/amazon-2017-x86_64.facts +76 -0
  7. data/facts/2.0/amazon-2017-x86_64.facts +77 -0
  8. data/facts/2.0/debian-9-i386.facts +2 -2
  9. data/facts/2.0/debian-9-x86_64.facts +2 -2
  10. data/facts/2.1/amazon-2017-x86_64.facts +212 -0
  11. data/facts/2.1/debian-9-i386.facts +2 -2
  12. data/facts/2.1/debian-9-x86_64.facts +2 -2
  13. data/facts/2.2/amazon-2017-x86_64.facts +235 -0
  14. data/facts/2.2/debian-9-i386.facts +5 -4
  15. data/facts/2.2/debian-9-x86_64.facts +6 -5
  16. data/facts/2.3/amazon-2017-x86_64.facts +236 -0
  17. data/facts/2.3/debian-9-i386.facts +5 -4
  18. data/facts/2.3/debian-9-x86_64.facts +5 -4
  19. data/facts/2.4/amazon-2017-x86_64.facts +215 -0
  20. data/facts/2.4/debian-9-i386.facts +5 -4
  21. data/facts/2.4/debian-9-x86_64.facts +5 -4
  22. data/facts/2.4/fedora-20-x86_64.facts +116 -0
  23. data/facts/2.4/fedora-21-x86_64.facts +123 -0
  24. data/facts/2.4/fedora-26-x86_64.facts +143 -0
  25. data/facts/2.5/amazon-2017-x86_64.facts +61 -0
  26. data/facts/2.5/debian-9-i386.facts +5 -4
  27. data/facts/2.5/debian-9-x86_64.facts +5 -4
  28. data/facts/2.5/fedora-20-x86_64.facts +116 -0
  29. data/facts/2.5/fedora-21-x86_64.facts +123 -0
  30. data/facts/2.5/fedora-26-x86_64.facts +143 -0
  31. data/facts/3.0/amazon-4-x86_64.facts +320 -0
  32. data/facts/3.0/fedora-20-x86_64.facts +116 -0
  33. data/facts/3.0/fedora-21-x86_64.facts +123 -0
  34. data/facts/3.0/fedora-26-x86_64.facts +143 -0
  35. data/facts/3.0/windows-10-i386.facts +70 -23
  36. data/facts/3.0/windows-10-x86_64.facts +72 -25
  37. data/facts/3.0/windows-2008 r2-x86_64.facts +70 -23
  38. data/facts/3.0/windows-2008-x86_64.facts +71 -24
  39. data/facts/3.0/windows-2012 r2-core-x86_64.facts +76 -29
  40. data/facts/3.0/windows-2012 r2-x86_64.facts +84 -42
  41. data/facts/3.0/windows-2012-x86_64.facts +72 -25
  42. data/facts/3.0/windows-2016-x86_64.facts +71 -24
  43. data/facts/3.0/windows-7-x86_64.facts +87 -45
  44. data/facts/3.0/windows-8.1-x86_64.facts +71 -24
  45. data/facts/3.1/amazon-4-x86_64.facts +350 -0
  46. data/facts/3.1/fedora-20-x86_64.facts +116 -0
  47. data/facts/3.1/fedora-21-x86_64.facts +123 -0
  48. data/facts/3.1/fedora-26-x86_64.facts +143 -0
  49. data/facts/3.1/windows-10-i386.facts +73 -26
  50. data/facts/3.1/windows-10-x86_64.facts +75 -28
  51. data/facts/3.1/windows-2008 r2-x86_64.facts +73 -26
  52. data/facts/3.1/windows-2008-x86_64.facts +74 -27
  53. data/facts/3.1/windows-2012 r2-core-x86_64.facts +79 -32
  54. data/facts/3.1/windows-2012 r2-x86_64.facts +92 -62
  55. data/facts/3.1/windows-2012-x86_64.facts +75 -28
  56. data/facts/3.1/windows-2016-x86_64.facts +74 -27
  57. data/facts/3.1/windows-7-x86_64.facts +95 -65
  58. data/facts/3.1/windows-8.1-x86_64.facts +73 -26
  59. data/facts/3.2/fedora-20-x86_64.facts +116 -0
  60. data/facts/3.2/fedora-21-x86_64.facts +123 -0
  61. data/facts/3.2/fedora-26-x86_64.facts +143 -0
  62. data/facts/3.3/amazon-4-x86_64.facts +351 -0
  63. data/facts/3.3/fedora-20-x86_64.facts +116 -0
  64. data/facts/3.3/fedora-21-x86_64.facts +123 -0
  65. data/facts/3.3/fedora-26-x86_64.facts +143 -0
  66. data/facts/3.3/windows-10-i386.facts +73 -26
  67. data/facts/3.3/windows-10-x86_64.facts +75 -28
  68. data/facts/3.3/windows-2008 r2-x86_64.facts +73 -26
  69. data/facts/3.3/windows-2008-x86_64.facts +74 -27
  70. data/facts/3.3/windows-2012 r2-core-x86_64.facts +79 -32
  71. data/facts/3.3/windows-2012 r2-x86_64.facts +70 -23
  72. data/facts/3.3/windows-2012-x86_64.facts +75 -28
  73. data/facts/3.3/windows-2016-x86_64.facts +72 -26
  74. data/facts/3.3/windows-7-x86_64.facts +72 -25
  75. data/facts/3.3/windows-8.1-x86_64.facts +73 -26
  76. data/facts/3.4/fedora-20-x86_64.facts +116 -0
  77. data/facts/3.4/fedora-21-x86_64.facts +123 -0
  78. data/facts/3.4/fedora-26-x86_64.facts +143 -0
  79. data/facts/3.4/windows-10-i386.facts +73 -26
  80. data/facts/3.4/windows-10-x86_64.facts +75 -28
  81. data/facts/3.4/windows-2008 r2-x86_64.facts +73 -26
  82. data/facts/3.4/windows-2008-x86_64.facts +74 -27
  83. data/facts/3.4/windows-2012 r2-core-x86_64.facts +79 -32
  84. data/facts/3.4/windows-2012 r2-x86_64.facts +70 -23
  85. data/facts/3.4/windows-2012-x86_64.facts +75 -28
  86. data/facts/3.4/windows-2016-x86_64.facts +72 -25
  87. data/facts/3.4/windows-7-x86_64.facts +73 -26
  88. data/facts/3.4/windows-8.1-x86_64.facts +73 -26
  89. data/facts/3.5/fedora-20-x86_64.facts +116 -0
  90. data/facts/3.5/fedora-21-x86_64.facts +123 -0
  91. data/facts/3.5/fedora-26-x86_64.facts +143 -0
  92. data/facts/3.5/windows-10-i386.facts +73 -26
  93. data/facts/3.5/windows-10-x86_64.facts +75 -28
  94. data/facts/3.5/windows-2008 r2-x86_64.facts +73 -26
  95. data/facts/3.5/windows-2008-x86_64.facts +74 -27
  96. data/facts/3.5/windows-2012 r2-core-x86_64.facts +79 -32
  97. data/facts/3.5/windows-2012 r2-x86_64.facts +70 -23
  98. data/facts/3.5/windows-2012-x86_64.facts +75 -28
  99. data/facts/3.5/windows-2016-x86_64.facts +74 -27
  100. data/facts/3.5/windows-7-x86_64.facts +73 -26
  101. data/facts/3.5/windows-8.1-x86_64.facts +73 -26
  102. data/facts/3.6/amazon-2017-x86_64.facts +367 -0
  103. data/facts/3.6/fedora-20-x86_64.facts +116 -0
  104. data/facts/3.6/fedora-21-x86_64.facts +123 -0
  105. data/facts/3.6/fedora-26-x86_64.facts +143 -0
  106. data/facts/3.6/windows-10-i386.facts +73 -26
  107. data/facts/3.6/windows-10-x86_64.facts +75 -28
  108. data/facts/3.6/windows-2008 r2-x86_64.facts +71 -24
  109. data/facts/3.6/windows-2008-x86_64.facts +74 -27
  110. data/facts/3.6/windows-2012 r2-core-x86_64.facts +79 -32
  111. data/facts/3.6/windows-2012 r2-x86_64.facts +70 -23
  112. data/facts/3.6/windows-2012-x86_64.facts +75 -28
  113. data/facts/3.6/windows-2016-x86_64.facts +74 -27
  114. data/facts/3.6/windows-7-x86_64.facts +73 -26
  115. data/facts/3.6/windows-8.1-x86_64.facts +73 -26
  116. data/facts/3.7/darwin-14-x86_64.facts +392 -0
  117. data/facts/3.7/darwin-15-x86_64.facts +410 -0
  118. data/facts/3.7/darwin-16-x86_64.facts +414 -0
  119. data/facts/3.7/fedora-20-x86_64.facts +116 -0
  120. data/facts/3.7/fedora-21-x86_64.facts +123 -0
  121. data/facts/3.7/fedora-26-x86_64.facts +143 -0
  122. data/facts/3.7/windows-10-i386.facts +73 -26
  123. data/facts/3.7/windows-10-x86_64.facts +75 -28
  124. data/facts/3.7/windows-2008 r2-x86_64.facts +73 -26
  125. data/facts/3.7/windows-2008-x86_64.facts +74 -27
  126. data/facts/3.7/windows-2012 r2-core-x86_64.facts +79 -32
  127. data/facts/3.7/windows-2012 r2-x86_64.facts +70 -23
  128. data/facts/3.7/windows-2012-x86_64.facts +75 -28
  129. data/facts/3.7/windows-2016-x86_64.facts +73 -26
  130. data/facts/3.7/windows-7-x86_64.facts +73 -26
  131. data/facts/3.7/windows-8.1-x86_64.facts +73 -26
  132. data/facts/3.8/centos-5-i386.facts +389 -0
  133. data/facts/3.8/centos-5-x86_64.facts +389 -0
  134. data/facts/3.8/centos-6-i386.facts +379 -0
  135. data/facts/3.8/centos-6-x86_64.facts +379 -0
  136. data/facts/3.8/centos-7-x86_64.facts +433 -0
  137. data/facts/3.8/darwin-14-x86_64.facts +375 -0
  138. data/facts/3.8/darwin-15-x86_64.facts +393 -0
  139. data/facts/3.8/darwin-16-x86_64.facts +397 -0
  140. data/facts/3.8/debian-7-i386.facts +440 -0
  141. data/facts/3.8/debian-7-x86_64.facts +440 -0
  142. data/facts/3.8/debian-8-i386.facts +460 -0
  143. data/facts/3.8/debian-8-x86_64.facts +460 -0
  144. data/facts/3.8/debian-9-i386.facts +476 -0
  145. data/facts/3.8/debian-9-x86_64.facts +476 -0
  146. data/facts/3.8/fedora-20-x86_64.facts +116 -0
  147. data/facts/3.8/fedora-21-x86_64.facts +123 -0
  148. data/facts/3.8/fedora-25-i386.facts +443 -0
  149. data/facts/3.8/fedora-25-x86_64.facts +443 -0
  150. data/facts/3.8/fedora-26-x86_64.facts +143 -0
  151. data/facts/3.8/oraclelinux-5-i386.facts +403 -0
  152. data/facts/3.8/oraclelinux-5-x86_64.facts +403 -0
  153. data/facts/3.8/oraclelinux-6-i386.facts +379 -0
  154. data/facts/3.8/oraclelinux-6-x86_64.facts +384 -0
  155. data/facts/3.8/oraclelinux-7-x86_64.facts +447 -0
  156. data/facts/3.8/redhat-5-i386.facts +376 -0
  157. data/facts/3.8/redhat-5-x86_64.facts +376 -0
  158. data/facts/3.8/redhat-6-i386.facts +379 -0
  159. data/facts/3.8/redhat-6-x86_64.facts +379 -0
  160. data/facts/3.8/redhat-7-x86_64.facts +418 -0
  161. data/facts/3.8/scientific-5-i386.facts +376 -0
  162. data/facts/3.8/scientific-5-x86_64.facts +376 -0
  163. data/facts/3.8/scientific-6-i386.facts +364 -0
  164. data/facts/3.8/scientific-6-x86_64.facts +364 -0
  165. data/facts/3.8/scientific-7-x86_64.facts +433 -0
  166. data/facts/3.8/sles-11-i386.facts +359 -0
  167. data/facts/3.8/sles-11-x86_64.facts +359 -0
  168. data/facts/3.8/sles-12-x86_64.facts +386 -0
  169. data/facts/3.8/ubuntu-14.04-i386.facts +467 -0
  170. data/facts/3.8/ubuntu-14.04-x86_64.facts +467 -0
  171. data/facts/3.8/ubuntu-16.04-i386.facts +482 -0
  172. data/facts/3.8/ubuntu-16.04-x86_64.facts +482 -0
  173. data/facts/3.8/windows-10-i386.facts +162 -0
  174. data/facts/3.8/windows-10-x86_64.facts +162 -0
  175. data/facts/3.8/windows-2008 r2-x86_64.facts +162 -0
  176. data/facts/3.8/windows-2008-x86_64.facts +162 -0
  177. data/facts/3.8/windows-2012 r2-core-x86_64.facts +162 -0
  178. data/facts/3.8/windows-2012 r2-x86_64.facts +162 -0
  179. data/facts/3.8/windows-2012-x86_64.facts +162 -0
  180. data/facts/3.8/windows-2016-x86_64.facts +162 -0
  181. data/facts/3.8/windows-7-x86_64.facts +162 -0
  182. data/facts/3.8/windows-8.1-x86_64.facts +162 -0
  183. data/facts/Vagrantfile +11 -1
  184. data/facts/get_facts.sh +11 -2
  185. data/lib/facterdb.rb +39 -1
  186. data/lib/facterdb/version.rb +1 -1
  187. data/spec/facterdb_spec.rb +94 -0
  188. data/spec/spec_helper.rb +4 -0
  189. metadata +113 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aad2137f4a8e0d778bd1b50f02b2588b74015ff4
4
- data.tar.gz: 78b16a03a837d4a3ef44dc034c45f68390c98415
3
+ metadata.gz: 4d364d21c8a8005c5707071b2505929811e611b3
4
+ data.tar.gz: c28896ab52abe2ad92aaf2f4e9e7ba85bc185da6
5
5
  SHA512:
6
- metadata.gz: 69ad44fd4134f6f3dae0b48af2e7e8a299e66a4ca8ed21190cf2ac8bd63dab9e8046e06ed299a8c718e57d629238e7f09e7bb8cb04bda323531c8662592fcf7c
7
- data.tar.gz: fffd7738e0a4e3f0dd821c78833739a66742b0564fb87d7891ea5079cfb2f5e78501600c9a61644e61aae1ca1ea93ea947db1133c3046ae4115f73eaa90cea2b
6
+ metadata.gz: 3ac60113f97b6bd4f57341b6c8b7a77d29f386db0987f69c30e18a91e908911bc89b5a8e076c5cee328536608d05db289b77ab5f13b1b88f2ef62127623f4aeb
7
+ data.tar.gz: a71f465fad3cae37212a32c5924f6f15006901e97c292a551744ddeab45e8e1f030fc4c0982a636f57b683693f9311f02b7f55aa96125efd7e78035cdf06c883
data/Gemfile CHANGED
@@ -6,4 +6,4 @@ if facterversion = ENV['FACTER_GEM_VERSION']
6
6
  gem 'facter', facterversion, :require => false
7
7
  else
8
8
  gem 'facter', :require => false
9
- end
9
+ end
data/README.md CHANGED
@@ -54,7 +54,7 @@ require 'facterdb'
54
54
  FacterDB::get_facts('osfamily=Debian')
55
55
  ```
56
56
 
57
- # Facter versions supported
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
- # Operating Systems supported
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
- # Add new Operating System support
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": "stretch/sid",
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": "stretch/sid"
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": "stretch/sid",
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": "stretch/sid",
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
+ }