rspec-puppet-facts 0.12.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (441) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -66
  3. data/lib/rspec-puppet-facts.rb +15 -24
  4. data/lib/rspec-puppet-facts/version.rb +1 -1
  5. data/rspec-puppet-facts.gemspec +1 -1
  6. data/spec/rspec_puppet_facts_spec.rb +12 -7
  7. data/spec/spec_helper.rb +0 -5
  8. metadata +6 -439
  9. data/facts/1.6/archlinux-i386.facts +0 -56
  10. data/facts/1.6/archlinux-x86_64.facts +0 -56
  11. data/facts/1.6/centos-5-i386.facts +0 -68
  12. data/facts/1.6/centos-5-x86_64.facts +0 -68
  13. data/facts/1.6/centos-6-i386.facts +0 -61
  14. data/facts/1.6/centos-6-x86_64.facts +0 -61
  15. data/facts/1.6/centos-7-i386.facts +0 -52
  16. data/facts/1.6/centos-7-x86_64.facts +0 -52
  17. data/facts/1.6/debian-6-i386.facts +0 -66
  18. data/facts/1.6/debian-6-x86_64.facts +0 -66
  19. data/facts/1.6/debian-7-i386.facts +0 -67
  20. data/facts/1.6/debian-7-x86_64.facts +0 -67
  21. data/facts/1.6/debian-8-i386.facts +0 -67
  22. data/facts/1.6/debian-8-x86_64.facts +0 -67
  23. data/facts/1.6/fedora-19-i386.facts +0 -44
  24. data/facts/1.6/fedora-19-x86_64.facts +0 -44
  25. data/facts/1.6/freebsd-10-i386.facts +0 -57
  26. data/facts/1.6/freebsd-10-x86_64.facts +0 -57
  27. data/facts/1.6/freebsd-9-i386.facts +0 -57
  28. data/facts/1.6/freebsd-9-x86_64.facts +0 -57
  29. data/facts/1.6/gentoo-i386.facts +0 -46
  30. data/facts/1.6/gentoo-x86_64.facts +0 -46
  31. data/facts/1.6/openbsd-5.7-i386.facts +0 -56
  32. data/facts/1.6/openbsd-5.7-x86_64.facts +0 -56
  33. data/facts/1.6/opensuse-12-i386.facts +0 -55
  34. data/facts/1.6/opensuse-12-x86_64.facts +0 -55
  35. data/facts/1.6/opensuse-13-i386.facts +0 -55
  36. data/facts/1.6/opensuse-13-x86_64.facts +0 -55
  37. data/facts/1.6/oraclelinux-5-i386.facts +0 -68
  38. data/facts/1.6/oraclelinux-5-x86_64.facts +0 -68
  39. data/facts/1.6/oraclelinux-6-i386.facts +0 -61
  40. data/facts/1.6/oraclelinux-6-x86_64.facts +0 -61
  41. data/facts/1.6/oraclelinux-7-i386.facts +0 -52
  42. data/facts/1.6/oraclelinux-7-x86_64.facts +0 -52
  43. data/facts/1.6/redhat-5-i386.facts +0 -68
  44. data/facts/1.6/redhat-5-x86_64.facts +0 -68
  45. data/facts/1.6/redhat-6-i386.facts +0 -61
  46. data/facts/1.6/redhat-6-x86_64.facts +0 -61
  47. data/facts/1.6/redhat-7-i386.facts +0 -52
  48. data/facts/1.6/redhat-7-x86_64.facts +0 -52
  49. data/facts/1.6/scientific-5-i386.facts +0 -68
  50. data/facts/1.6/scientific-5-x86_64.facts +0 -68
  51. data/facts/1.6/scientific-6-i386.facts +0 -61
  52. data/facts/1.6/scientific-6-x86_64.facts +0 -61
  53. data/facts/1.6/scientific-7-i386.facts +0 -52
  54. data/facts/1.6/scientific-7-x86_64.facts +0 -52
  55. data/facts/1.6/sles-11-i386.facts +0 -61
  56. data/facts/1.6/sles-11-x86_64.facts +0 -61
  57. data/facts/1.6/solaris-11-i386.facts +0 -60
  58. data/facts/1.6/solaris-11-x86_64.facts +0 -60
  59. data/facts/1.6/ubuntu-10.04-i386.facts +0 -66
  60. data/facts/1.6/ubuntu-10.04-x86_64.facts +0 -66
  61. data/facts/1.6/ubuntu-12.04-i386.facts +0 -67
  62. data/facts/1.6/ubuntu-12.04-x86_64.facts +0 -67
  63. data/facts/1.6/ubuntu-14.04-i386.facts +0 -67
  64. data/facts/1.6/ubuntu-14.04-x86_64.facts +0 -67
  65. data/facts/1.6/ubuntu-14.10-i386.facts +0 -67
  66. data/facts/1.6/ubuntu-14.10-x86_64.facts +0 -67
  67. data/facts/1.6/ubuntu-15.04-i386.facts +0 -67
  68. data/facts/1.6/ubuntu-15.04-x86_64.facts +0 -67
  69. data/facts/1.7/archlinux-i386.facts +0 -82
  70. data/facts/1.7/archlinux-x86_64.facts +0 -82
  71. data/facts/1.7/centos-5-i386.facts +0 -82
  72. data/facts/1.7/centos-5-x86_64.facts +0 -82
  73. data/facts/1.7/centos-6-i386.facts +0 -77
  74. data/facts/1.7/centos-6-x86_64.facts +0 -77
  75. data/facts/1.7/centos-7-i386.facts +0 -75
  76. data/facts/1.7/centos-7-x86_64.facts +0 -75
  77. data/facts/1.7/debian-6-i386.facts +0 -88
  78. data/facts/1.7/debian-6-x86_64.facts +0 -88
  79. data/facts/1.7/debian-7-i386.facts +0 -84
  80. data/facts/1.7/debian-7-x86_64.facts +0 -84
  81. data/facts/1.7/debian-8-i386.facts +0 -87
  82. data/facts/1.7/debian-8-x86_64.facts +0 -87
  83. data/facts/1.7/fedora-19-i386.facts +0 -67
  84. data/facts/1.7/fedora-19-x86_64.facts +0 -67
  85. data/facts/1.7/freebsd-10-i386.facts +0 -76
  86. data/facts/1.7/freebsd-10-x86_64.facts +0 -76
  87. data/facts/1.7/freebsd-9-i386.facts +0 -76
  88. data/facts/1.7/freebsd-9-x86_64.facts +0 -76
  89. data/facts/1.7/gentoo-i386.facts +0 -70
  90. data/facts/1.7/gentoo-x86_64.facts +0 -70
  91. data/facts/1.7/openbsd-5.7-i386.facts +0 -63
  92. data/facts/1.7/openbsd-5.7-x86_64.facts +0 -63
  93. data/facts/1.7/opensuse-12-i386.facts +0 -70
  94. data/facts/1.7/opensuse-12-x86_64.facts +0 -70
  95. data/facts/1.7/opensuse-13-i386.facts +0 -67
  96. data/facts/1.7/opensuse-13-x86_64.facts +0 -67
  97. data/facts/1.7/oraclelinux-5-i386.facts +0 -82
  98. data/facts/1.7/oraclelinux-5-x86_64.facts +0 -82
  99. data/facts/1.7/oraclelinux-6-i386.facts +0 -77
  100. data/facts/1.7/oraclelinux-6-x86_64.facts +0 -77
  101. data/facts/1.7/oraclelinux-7-i386.facts +0 -75
  102. data/facts/1.7/oraclelinux-7-x86_64.facts +0 -75
  103. data/facts/1.7/redhat-5-i386.facts +0 -82
  104. data/facts/1.7/redhat-5-x86_64.facts +0 -82
  105. data/facts/1.7/redhat-6-i386.facts +0 -77
  106. data/facts/1.7/redhat-6-x86_64.facts +0 -77
  107. data/facts/1.7/redhat-7-i386.facts +0 -75
  108. data/facts/1.7/redhat-7-x86_64.facts +0 -75
  109. data/facts/1.7/scientific-5-i386.facts +0 -82
  110. data/facts/1.7/scientific-5-x86_64.facts +0 -82
  111. data/facts/1.7/scientific-6-i386.facts +0 -77
  112. data/facts/1.7/scientific-6-x86_64.facts +0 -77
  113. data/facts/1.7/scientific-7-i386.facts +0 -75
  114. data/facts/1.7/scientific-7-x86_64.facts +0 -75
  115. data/facts/1.7/sles-11-i386.facts +0 -82
  116. data/facts/1.7/sles-11-x86_64.facts +0 -82
  117. data/facts/1.7/solaris-11-i386.facts +0 -80
  118. data/facts/1.7/solaris-11-x86_64.facts +0 -80
  119. data/facts/1.7/ubuntu-10.04-i386.facts +0 -87
  120. data/facts/1.7/ubuntu-10.04-x86_64.facts +0 -87
  121. data/facts/1.7/ubuntu-12.04-i386.facts +0 -89
  122. data/facts/1.7/ubuntu-12.04-x86_64.facts +0 -89
  123. data/facts/1.7/ubuntu-14.04-i386.facts +0 -83
  124. data/facts/1.7/ubuntu-14.04-x86_64.facts +0 -83
  125. data/facts/1.7/ubuntu-14.10-i386.facts +0 -83
  126. data/facts/1.7/ubuntu-14.10-x86_64.facts +0 -83
  127. data/facts/1.7/ubuntu-15.04-i386.facts +0 -83
  128. data/facts/1.7/ubuntu-15.04-x86_64.facts +0 -83
  129. data/facts/2.0/archlinux-i386.facts +0 -83
  130. data/facts/2.0/archlinux-x86_64.facts +0 -83
  131. data/facts/2.0/centos-5-i386.facts +0 -81
  132. data/facts/2.0/centos-5-x86_64.facts +0 -81
  133. data/facts/2.0/centos-6-i386.facts +0 -76
  134. data/facts/2.0/centos-6-x86_64.facts +0 -76
  135. data/facts/2.0/centos-7-i386.facts +0 -74
  136. data/facts/2.0/centos-7-x86_64.facts +0 -74
  137. data/facts/2.0/debian-6-i386.facts +0 -87
  138. data/facts/2.0/debian-6-x86_64.facts +0 -87
  139. data/facts/2.0/debian-7-i386.facts +0 -83
  140. data/facts/2.0/debian-7-x86_64.facts +0 -83
  141. data/facts/2.0/debian-8-i386.facts +0 -88
  142. data/facts/2.0/debian-8-x86_64.facts +0 -88
  143. data/facts/2.0/fedora-19-i386.facts +0 -66
  144. data/facts/2.0/fedora-19-x86_64.facts +0 -66
  145. data/facts/2.0/freebsd-10-i386.facts +0 -75
  146. data/facts/2.0/freebsd-10-x86_64.facts +0 -75
  147. data/facts/2.0/freebsd-9-i386.facts +0 -75
  148. data/facts/2.0/freebsd-9-x86_64.facts +0 -75
  149. data/facts/2.0/gentoo-i386.facts +0 -71
  150. data/facts/2.0/gentoo-x86_64.facts +0 -71
  151. data/facts/2.0/openbsd-5.7-i386.facts +0 -64
  152. data/facts/2.0/openbsd-5.7-x86_64.facts +0 -64
  153. data/facts/2.0/opensuse-12-i386.facts +0 -69
  154. data/facts/2.0/opensuse-12-x86_64.facts +0 -69
  155. data/facts/2.0/opensuse-13-i386.facts +0 -66
  156. data/facts/2.0/opensuse-13-x86_64.facts +0 -66
  157. data/facts/2.0/oraclelinux-5-i386.facts +0 -81
  158. data/facts/2.0/oraclelinux-5-x86_64.facts +0 -81
  159. data/facts/2.0/oraclelinux-6-i386.facts +0 -76
  160. data/facts/2.0/oraclelinux-6-x86_64.facts +0 -76
  161. data/facts/2.0/oraclelinux-7-i386.facts +0 -74
  162. data/facts/2.0/oraclelinux-7-x86_64.facts +0 -74
  163. data/facts/2.0/redhat-5-i386.facts +0 -81
  164. data/facts/2.0/redhat-5-x86_64.facts +0 -81
  165. data/facts/2.0/redhat-6-i386.facts +0 -76
  166. data/facts/2.0/redhat-6-x86_64.facts +0 -76
  167. data/facts/2.0/redhat-7-i386.facts +0 -74
  168. data/facts/2.0/redhat-7-x86_64.facts +0 -74
  169. data/facts/2.0/scientific-5-i386.facts +0 -81
  170. data/facts/2.0/scientific-5-x86_64.facts +0 -81
  171. data/facts/2.0/scientific-6-i386.facts +0 -76
  172. data/facts/2.0/scientific-6-x86_64.facts +0 -76
  173. data/facts/2.0/scientific-7-i386.facts +0 -74
  174. data/facts/2.0/scientific-7-x86_64.facts +0 -74
  175. data/facts/2.0/sles-11-i386.facts +0 -81
  176. data/facts/2.0/sles-11-x86_64.facts +0 -81
  177. data/facts/2.0/solaris-11-i386.facts +0 -82
  178. data/facts/2.0/solaris-11-x86_64.facts +0 -82
  179. data/facts/2.0/ubuntu-10.04-i386.facts +0 -86
  180. data/facts/2.0/ubuntu-10.04-x86_64.facts +0 -86
  181. data/facts/2.0/ubuntu-12.04-i386.facts +0 -88
  182. data/facts/2.0/ubuntu-12.04-x86_64.facts +0 -88
  183. data/facts/2.0/ubuntu-14.04-i386.facts +0 -84
  184. data/facts/2.0/ubuntu-14.04-x86_64.facts +0 -84
  185. data/facts/2.0/ubuntu-14.10-i386.facts +0 -84
  186. data/facts/2.0/ubuntu-14.10-x86_64.facts +0 -84
  187. data/facts/2.0/ubuntu-15.04-i386.facts +0 -82
  188. data/facts/2.0/ubuntu-15.04-x86_64.facts +0 -82
  189. data/facts/2.1/archlinux-i386.facts +0 -99
  190. data/facts/2.1/archlinux-x86_64.facts +0 -99
  191. data/facts/2.1/centos-5-i386.facts +0 -92
  192. data/facts/2.1/centos-5-x86_64.facts +0 -92
  193. data/facts/2.1/centos-6-i386.facts +0 -88
  194. data/facts/2.1/centos-6-x86_64.facts +0 -88
  195. data/facts/2.1/centos-7-i386.facts +0 -92
  196. data/facts/2.1/centos-7-x86_64.facts +0 -92
  197. data/facts/2.1/debian-6-i386.facts +0 -102
  198. data/facts/2.1/debian-6-x86_64.facts +0 -102
  199. data/facts/2.1/debian-7-i386.facts +0 -98
  200. data/facts/2.1/debian-7-x86_64.facts +0 -98
  201. data/facts/2.1/debian-8-i386.facts +0 -105
  202. data/facts/2.1/debian-8-x86_64.facts +0 -105
  203. data/facts/2.1/fedora-19-i386.facts +0 -84
  204. data/facts/2.1/fedora-19-x86_64.facts +0 -84
  205. data/facts/2.1/freebsd-10-i386.facts +0 -75
  206. data/facts/2.1/freebsd-10-x86_64.facts +0 -75
  207. data/facts/2.1/freebsd-9-i386.facts +0 -75
  208. data/facts/2.1/freebsd-9-x86_64.facts +0 -75
  209. data/facts/2.1/gentoo-i386.facts +0 -96
  210. data/facts/2.1/gentoo-x86_64.facts +0 -96
  211. data/facts/2.1/openbsd-5.7-i386.facts +0 -66
  212. data/facts/2.1/openbsd-5.7-x86_64.facts +0 -66
  213. data/facts/2.1/opensuse-12-i386.facts +0 -81
  214. data/facts/2.1/opensuse-12-x86_64.facts +0 -81
  215. data/facts/2.1/opensuse-13-i386.facts +0 -85
  216. data/facts/2.1/opensuse-13-x86_64.facts +0 -85
  217. data/facts/2.1/oraclelinux-5-i386.facts +0 -92
  218. data/facts/2.1/oraclelinux-5-x86_64.facts +0 -92
  219. data/facts/2.1/oraclelinux-6-i386.facts +0 -88
  220. data/facts/2.1/oraclelinux-6-x86_64.facts +0 -88
  221. data/facts/2.1/oraclelinux-7-i386.facts +0 -92
  222. data/facts/2.1/oraclelinux-7-x86_64.facts +0 -92
  223. data/facts/2.1/redhat-5-i386.facts +0 -92
  224. data/facts/2.1/redhat-5-x86_64.facts +0 -92
  225. data/facts/2.1/redhat-6-i386.facts +0 -88
  226. data/facts/2.1/redhat-6-x86_64.facts +0 -88
  227. data/facts/2.1/redhat-7-i386.facts +0 -92
  228. data/facts/2.1/redhat-7-x86_64.facts +0 -92
  229. data/facts/2.1/scientific-5-i386.facts +0 -92
  230. data/facts/2.1/scientific-5-x86_64.facts +0 -92
  231. data/facts/2.1/scientific-6-i386.facts +0 -88
  232. data/facts/2.1/scientific-6-x86_64.facts +0 -88
  233. data/facts/2.1/scientific-7-i386.facts +0 -92
  234. data/facts/2.1/scientific-7-x86_64.facts +0 -92
  235. data/facts/2.1/sles-11-i386.facts +0 -94
  236. data/facts/2.1/sles-11-x86_64.facts +0 -94
  237. data/facts/2.1/solaris-11-i386.facts +0 -82
  238. data/facts/2.1/solaris-11-x86_64.facts +0 -82
  239. data/facts/2.1/ubuntu-10.04-i386.facts +0 -101
  240. data/facts/2.1/ubuntu-10.04-x86_64.facts +0 -101
  241. data/facts/2.1/ubuntu-12.04-i386.facts +0 -103
  242. data/facts/2.1/ubuntu-12.04-x86_64.facts +0 -103
  243. data/facts/2.1/ubuntu-14.04-i386.facts +0 -99
  244. data/facts/2.1/ubuntu-14.04-x86_64.facts +0 -99
  245. data/facts/2.1/ubuntu-14.10-i386.facts +0 -100
  246. data/facts/2.1/ubuntu-14.10-x86_64.facts +0 -100
  247. data/facts/2.1/ubuntu-15.04-i386.facts +0 -90
  248. data/facts/2.1/ubuntu-15.04-x86_64.facts +0 -90
  249. data/facts/2.2/archlinux-i386.facts +0 -126
  250. data/facts/2.2/archlinux-x86_64.facts +0 -126
  251. data/facts/2.2/centos-5-i386.facts +0 -125
  252. data/facts/2.2/centos-5-x86_64.facts +0 -125
  253. data/facts/2.2/centos-6-i386.facts +0 -111
  254. data/facts/2.2/centos-6-x86_64.facts +0 -111
  255. data/facts/2.2/centos-7-i386.facts +0 -115
  256. data/facts/2.2/centos-7-x86_64.facts +0 -115
  257. data/facts/2.2/debian-6-i386.facts +0 -134
  258. data/facts/2.2/debian-6-x86_64.facts +0 -134
  259. data/facts/2.2/debian-7-i386.facts +0 -130
  260. data/facts/2.2/debian-7-x86_64.facts +0 -130
  261. data/facts/2.2/debian-8-i386.facts +0 -137
  262. data/facts/2.2/debian-8-x86_64.facts +0 -137
  263. data/facts/2.2/fedora-19-i386.facts +0 -106
  264. data/facts/2.2/fedora-19-x86_64.facts +0 -106
  265. data/facts/2.2/freebsd-10-i386.facts +0 -96
  266. data/facts/2.2/freebsd-10-x86_64.facts +0 -96
  267. data/facts/2.2/freebsd-9-i386.facts +0 -96
  268. data/facts/2.2/freebsd-9-x86_64.facts +0 -96
  269. data/facts/2.2/gentoo-i386.facts +0 -121
  270. data/facts/2.2/gentoo-x86_64.facts +0 -121
  271. data/facts/2.2/openbsd-5.7-i386.facts +0 -134
  272. data/facts/2.2/openbsd-5.7-x86_64.facts +0 -134
  273. data/facts/2.2/opensuse-12-i386.facts +0 -105
  274. data/facts/2.2/opensuse-12-x86_64.facts +0 -105
  275. data/facts/2.2/opensuse-13-i386.facts +0 -109
  276. data/facts/2.2/opensuse-13-x86_64.facts +0 -109
  277. data/facts/2.2/oraclelinux-5-i386.facts +0 -125
  278. data/facts/2.2/oraclelinux-5-x86_64.facts +0 -125
  279. data/facts/2.2/oraclelinux-6-i386.facts +0 -111
  280. data/facts/2.2/oraclelinux-6-x86_64.facts +0 -111
  281. data/facts/2.2/oraclelinux-7-i386.facts +0 -115
  282. data/facts/2.2/oraclelinux-7-x86_64.facts +0 -115
  283. data/facts/2.2/redhat-5-i386.facts +0 -125
  284. data/facts/2.2/redhat-5-x86_64.facts +0 -125
  285. data/facts/2.2/redhat-6-i386.facts +0 -111
  286. data/facts/2.2/redhat-6-x86_64.facts +0 -111
  287. data/facts/2.2/redhat-7-i386.facts +0 -115
  288. data/facts/2.2/redhat-7-x86_64.facts +0 -115
  289. data/facts/2.2/scientific-5-i386.facts +0 -125
  290. data/facts/2.2/scientific-5-x86_64.facts +0 -125
  291. data/facts/2.2/scientific-6-i386.facts +0 -111
  292. data/facts/2.2/scientific-6-x86_64.facts +0 -111
  293. data/facts/2.2/scientific-7-i386.facts +0 -115
  294. data/facts/2.2/scientific-7-x86_64.facts +0 -115
  295. data/facts/2.2/sles-11-i386.facts +0 -118
  296. data/facts/2.2/sles-11-x86_64.facts +0 -118
  297. data/facts/2.2/solaris-11-i386.facts +0 -105
  298. data/facts/2.2/solaris-11-x86_64.facts +0 -105
  299. data/facts/2.2/ubuntu-10.04-i386.facts +0 -131
  300. data/facts/2.2/ubuntu-10.04-x86_64.facts +0 -131
  301. data/facts/2.2/ubuntu-12.04-i386.facts +0 -133
  302. data/facts/2.2/ubuntu-12.04-x86_64.facts +0 -133
  303. data/facts/2.2/ubuntu-14.04-i386.facts +0 -129
  304. data/facts/2.2/ubuntu-14.04-x86_64.facts +0 -129
  305. data/facts/2.2/ubuntu-14.10-i386.facts +0 -130
  306. data/facts/2.2/ubuntu-14.10-x86_64.facts +0 -130
  307. data/facts/2.2/ubuntu-15.04-i386.facts +0 -120
  308. data/facts/2.2/ubuntu-15.04-x86_64.facts +0 -120
  309. data/facts/2.3/archlinux-i386.facts +0 -127
  310. data/facts/2.3/archlinux-x86_64.facts +0 -127
  311. data/facts/2.3/centos-5-i386.facts +0 -126
  312. data/facts/2.3/centos-5-x86_64.facts +0 -126
  313. data/facts/2.3/centos-6-i386.facts +0 -112
  314. data/facts/2.3/centos-6-x86_64.facts +0 -112
  315. data/facts/2.3/centos-7-i386.facts +0 -116
  316. data/facts/2.3/centos-7-x86_64.facts +0 -116
  317. data/facts/2.3/debian-6-i386.facts +0 -135
  318. data/facts/2.3/debian-6-x86_64.facts +0 -135
  319. data/facts/2.3/debian-7-i386.facts +0 -131
  320. data/facts/2.3/debian-7-x86_64.facts +0 -131
  321. data/facts/2.3/debian-8-i386.facts +0 -138
  322. data/facts/2.3/debian-8-x86_64.facts +0 -138
  323. data/facts/2.3/fedora-19-i386.facts +0 -107
  324. data/facts/2.3/fedora-19-x86_64.facts +0 -107
  325. data/facts/2.3/freebsd-10-i386.facts +0 -97
  326. data/facts/2.3/freebsd-10-x86_64.facts +0 -97
  327. data/facts/2.3/freebsd-9-i386.facts +0 -97
  328. data/facts/2.3/freebsd-9-x86_64.facts +0 -97
  329. data/facts/2.3/gentoo-i386.facts +0 -122
  330. data/facts/2.3/gentoo-x86_64.facts +0 -122
  331. data/facts/2.3/openbsd-5.7-i386.facts +0 -137
  332. data/facts/2.3/openbsd-5.7-x86_64.facts +0 -137
  333. data/facts/2.3/opensuse-12-i386.facts +0 -106
  334. data/facts/2.3/opensuse-12-x86_64.facts +0 -106
  335. data/facts/2.3/opensuse-13-i386.facts +0 -110
  336. data/facts/2.3/opensuse-13-x86_64.facts +0 -110
  337. data/facts/2.3/oraclelinux-5-i386.facts +0 -126
  338. data/facts/2.3/oraclelinux-5-x86_64.facts +0 -126
  339. data/facts/2.3/oraclelinux-6-i386.facts +0 -112
  340. data/facts/2.3/oraclelinux-6-x86_64.facts +0 -112
  341. data/facts/2.3/oraclelinux-7-i386.facts +0 -116
  342. data/facts/2.3/oraclelinux-7-x86_64.facts +0 -116
  343. data/facts/2.3/redhat-5-i386.facts +0 -126
  344. data/facts/2.3/redhat-5-x86_64.facts +0 -126
  345. data/facts/2.3/redhat-6-i386.facts +0 -112
  346. data/facts/2.3/redhat-6-x86_64.facts +0 -112
  347. data/facts/2.3/redhat-7-i386.facts +0 -116
  348. data/facts/2.3/redhat-7-x86_64.facts +0 -116
  349. data/facts/2.3/scientific-5-i386.facts +0 -126
  350. data/facts/2.3/scientific-5-x86_64.facts +0 -126
  351. data/facts/2.3/scientific-6-i386.facts +0 -112
  352. data/facts/2.3/scientific-6-x86_64.facts +0 -112
  353. data/facts/2.3/scientific-7-i386.facts +0 -116
  354. data/facts/2.3/scientific-7-x86_64.facts +0 -116
  355. data/facts/2.3/sles-11-i386.facts +0 -119
  356. data/facts/2.3/sles-11-x86_64.facts +0 -119
  357. data/facts/2.3/solaris-11-i386.facts +0 -106
  358. data/facts/2.3/solaris-11-x86_64.facts +0 -106
  359. data/facts/2.3/ubuntu-10.04-i386.facts +0 -132
  360. data/facts/2.3/ubuntu-10.04-x86_64.facts +0 -132
  361. data/facts/2.3/ubuntu-12.04-i386.facts +0 -134
  362. data/facts/2.3/ubuntu-12.04-x86_64.facts +0 -134
  363. data/facts/2.3/ubuntu-14.04-i386.facts +0 -130
  364. data/facts/2.3/ubuntu-14.04-x86_64.facts +0 -130
  365. data/facts/2.3/ubuntu-14.10-i386.facts +0 -131
  366. data/facts/2.3/ubuntu-14.10-x86_64.facts +0 -131
  367. data/facts/2.3/ubuntu-15.04-i386.facts +0 -121
  368. data/facts/2.3/ubuntu-15.04-x86_64.facts +0 -121
  369. data/facts/2.4/archlinux-i386.facts +0 -127
  370. data/facts/2.4/archlinux-x86_64.facts +0 -127
  371. data/facts/2.4/centos-5-i386.facts +0 -127
  372. data/facts/2.4/centos-5-x86_64.facts +0 -127
  373. data/facts/2.4/centos-6-i386.facts +0 -112
  374. data/facts/2.4/centos-6-x86_64.facts +0 -112
  375. data/facts/2.4/centos-7-i386.facts +0 -116
  376. data/facts/2.4/centos-7-x86_64.facts +0 -116
  377. data/facts/2.4/debian-6-i386.facts +0 -135
  378. data/facts/2.4/debian-6-x86_64.facts +0 -135
  379. data/facts/2.4/debian-7-i386.facts +0 -131
  380. data/facts/2.4/debian-7-x86_64.facts +0 -131
  381. data/facts/2.4/debian-8-i386.facts +0 -138
  382. data/facts/2.4/debian-8-x86_64.facts +0 -138
  383. data/facts/2.4/fedora-19-i386.facts +0 -107
  384. data/facts/2.4/fedora-19-x86_64.facts +0 -107
  385. data/facts/2.4/freebsd-10-i386.facts +0 -97
  386. data/facts/2.4/freebsd-10-x86_64.facts +0 -97
  387. data/facts/2.4/freebsd-9-i386.facts +0 -97
  388. data/facts/2.4/freebsd-9-x86_64.facts +0 -97
  389. data/facts/2.4/gentoo-i386.facts +0 -126
  390. data/facts/2.4/gentoo-x86_64.facts +0 -126
  391. data/facts/2.4/openbsd-5.7-i386.facts +0 -137
  392. data/facts/2.4/openbsd-5.7-x86_64.facts +0 -137
  393. data/facts/2.4/opensuse-12-i386.facts +0 -106
  394. data/facts/2.4/opensuse-12-x86_64.facts +0 -106
  395. data/facts/2.4/opensuse-13-i386.facts +0 -110
  396. data/facts/2.4/opensuse-13-x86_64.facts +0 -110
  397. data/facts/2.4/oraclelinux-5-i386.facts +0 -127
  398. data/facts/2.4/oraclelinux-5-x86_64.facts +0 -127
  399. data/facts/2.4/oraclelinux-6-i386.facts +0 -112
  400. data/facts/2.4/oraclelinux-6-x86_64.facts +0 -112
  401. data/facts/2.4/oraclelinux-7-i386.facts +0 -116
  402. data/facts/2.4/oraclelinux-7-x86_64.facts +0 -116
  403. data/facts/2.4/redhat-5-i386.facts +0 -127
  404. data/facts/2.4/redhat-5-x86_64.facts +0 -127
  405. data/facts/2.4/redhat-6-i386.facts +0 -112
  406. data/facts/2.4/redhat-6-x86_64.facts +0 -112
  407. data/facts/2.4/redhat-7-i386.facts +0 -116
  408. data/facts/2.4/redhat-7-x86_64.facts +0 -116
  409. data/facts/2.4/scientific-5-i386.facts +0 -127
  410. data/facts/2.4/scientific-5-x86_64.facts +0 -127
  411. data/facts/2.4/scientific-6-i386.facts +0 -112
  412. data/facts/2.4/scientific-6-x86_64.facts +0 -112
  413. data/facts/2.4/scientific-7-i386.facts +0 -116
  414. data/facts/2.4/scientific-7-x86_64.facts +0 -116
  415. data/facts/2.4/sles-11-i386.facts +0 -119
  416. data/facts/2.4/sles-11-x86_64.facts +0 -119
  417. data/facts/2.4/solaris-11-i386.facts +0 -106
  418. data/facts/2.4/solaris-11-x86_64.facts +0 -106
  419. data/facts/2.4/ubuntu-10.04-i386.facts +0 -132
  420. data/facts/2.4/ubuntu-10.04-x86_64.facts +0 -132
  421. data/facts/2.4/ubuntu-12.04-i386.facts +0 -134
  422. data/facts/2.4/ubuntu-12.04-x86_64.facts +0 -134
  423. data/facts/2.4/ubuntu-14.04-i386.facts +0 -130
  424. data/facts/2.4/ubuntu-14.04-x86_64.facts +0 -130
  425. data/facts/2.4/ubuntu-14.10-i386.facts +0 -131
  426. data/facts/2.4/ubuntu-14.10-x86_64.facts +0 -131
  427. data/facts/2.4/ubuntu-15.04-i386.facts +0 -122
  428. data/facts/2.4/ubuntu-15.04-x86_64.facts +0 -122
  429. data/facts/3.0/debian-6-i386.facts +0 -229
  430. data/facts/3.0/debian-6-x86_64.facts +0 -229
  431. data/facts/3.0/debian-7-i386.facts +0 -243
  432. data/facts/3.0/debian-7-x86_64.facts +0 -243
  433. data/facts/3.0/debian-8-i386.facts +0 -204
  434. data/facts/3.0/debian-8-x86_64.facts +0 -204
  435. data/facts/3.0/ubuntu-12.04-i386.facts +0 -234
  436. data/facts/3.0/ubuntu-12.04-x86_64.facts +0 -234
  437. data/facts/3.0/ubuntu-14.04-i386.facts +0 -241
  438. data/facts/3.0/ubuntu-14.04-x86_64.facts +0 -241
  439. data/facts/Gemfile +0 -9
  440. data/facts/Vagrantfile +0 -198
  441. data/facts/get_facts.sh +0 -84
data/facts/Gemfile DELETED
@@ -1,9 +0,0 @@
1
- source ENV['GEM_SOURCE'] || "https://rubygems.org"
2
-
3
- gem 'json', :require => false
4
-
5
- if facterversion = ENV['FACTER_GEM_VERSION']
6
- gem 'facter', facterversion, :require => false
7
- else
8
- gem 'facter', :require => false
9
- end
data/facts/Vagrantfile DELETED
@@ -1,198 +0,0 @@
1
- # -*- mode: ruby -*-
2
- # vi: set ft=ruby :
3
-
4
- # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
5
- VAGRANTFILE_API_VERSION = "2"
6
-
7
- $install_rvm = <<SCRIPT
8
- # Install mpapis public key
9
- gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 ||
10
- curl -sSL https://rvm.io/mpapis.asc | gpg --import - &&
11
-
12
- # Run the installer
13
- \\curl -sSL https://get.rvm.io | bash -s stable &&
14
-
15
- # Install Ruby
16
- source /etc/profile.d/rvm.sh &&
17
- rvm install 1.9.3 &&
18
- rvm use --create 1.9.3
19
- SCRIPT
20
-
21
- Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
22
-
23
- config.vm.hostname = "foo.example.com"
24
-
25
- config.vm.define "debian-6-x86_64" do |host|
26
- host.vm.box = "puppetlabs/debian-6.0.10-64-nocm"
27
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby rubygems"
28
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
29
- host.vm.provision "shell", path: "get_facts.sh"
30
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
31
- end
32
- config.vm.define "debian-7-x86_64" do |host|
33
- host.vm.box = "puppetlabs/debian-7.8-64-nocm"
34
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby rubygems ruby-dev"
35
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
36
- host.vm.provision "shell", path: "get_facts.sh"
37
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
38
- end
39
- config.vm.define "debian-8-x86_64" do |host|
40
- host.vm.box = "camptocamp/debian-8-amd64"
41
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y curl"
42
- host.vm.provision "shell", inline: "curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \\curl -sSL https://get.rvm.io | bash -s stable"
43
- host.vm.provision "shell", inline: "source /etc/profile.d/rvm.sh && rvm install 1.9.3 && rvm use --create 1.9.3"
44
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
45
- host.vm.provision "shell", path: "get_facts.sh"
46
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
47
- end
48
- config.vm.define "ubuntu-10.04-x86_64" do |host|
49
- host.vm.box = "ubuntu-server-10044-x64-vbox4210-nocm"
50
- host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box"
51
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev rubygems libopenssl-ruby"
52
- host.vm.provision "shell", inline: "gem install rubygems-update && /var/lib/gems/1.8/bin/update_rubygems"
53
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
54
- host.vm.provision "shell", path: "get_facts.sh"
55
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
56
- end
57
- config.vm.define "ubuntu-12.04-x86_64" do |host|
58
- host.vm.box = "puppetlabs/ubuntu-12.04-64-nocm"
59
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y rubygems"
60
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
61
- host.vm.provision "shell", path: "get_facts.sh"
62
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
63
- end
64
- config.vm.define "ubuntu-14.04-x86_64" do |host|
65
- host.vm.box = "puppetlabs/ubuntu-14.04-64-nocm"
66
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev"
67
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
68
- host.vm.provision "shell", path: "get_facts.sh"
69
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
70
- end
71
- config.vm.define "ubuntu-14.10-x86_64" do |host|
72
- host.vm.box = "chef/ubuntu-14.10"
73
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev"
74
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
75
- host.vm.provision "shell", path: "get_facts.sh"
76
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
77
- end
78
- config.vm.define "ubuntu-15.04-x86_64" do |host|
79
- host.vm.box = "ubuntu/vivid64"
80
- host.vm.provision "shell", inline: $install_rvm
81
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
82
- host.vm.provision "shell", path: "get_facts.sh"
83
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
84
- end
85
- config.vm.define "centos-5-x86_64" do |host|
86
- host.vm.box = "puppetlabs/centos-5.11-64-nocm"
87
- host.vm.provision "shell", inline: "curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \\curl -sSL https://get.rvm.io | bash -s stable"
88
- host.vm.provision "shell", inline: "source /etc/profile.d/rvm.sh && rvm install 1.9.3 && rvm use --create 1.9.3"
89
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
90
- host.vm.provision "shell", path: "get_facts.sh"
91
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
92
- end
93
- config.vm.define "centos-6-x86_64" do |host|
94
- host.vm.box = "puppetlabs/centos-6.6-64-nocm"
95
- host.vm.provision "shell", inline: "yum -y install ruby-devel rubygems"
96
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
97
- host.vm.provision "shell", path: "get_facts.sh"
98
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
99
- end
100
- config.vm.define "centos-7-x86_64" do |host|
101
- host.vm.box = "puppetlabs/centos-7.0-64-nocm"
102
- host.vm.provision "shell", inline: "yum -y install ruby ruby-devel"
103
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
104
- host.vm.provision "shell", path: "get_facts.sh"
105
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
106
- end
107
- config.vm.define "fedora-19-x86_64" do |host|
108
- host.vm.box = "chef/fedora-19"
109
- host.vm.provision "shell", inline: "yum -y install ruby ruby-devel"
110
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
111
- host.vm.provision "shell", path: "get_facts.sh"
112
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
113
- end
114
- config.vm.define "archlinux-x86_64" do |host|
115
- host.vm.box = "terrywang/archlinux"
116
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
117
- host.vm.provision "shell", path: "get_facts.sh"
118
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
119
- end
120
- config.vm.define "sles-11sp1-x86_64" do |host|
121
- host.vm.box = "suse/sles11sp3"
122
- host.vm.provision "shell", inline: "gem update --system"
123
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
124
- host.vm.provision "shell", path: "get_facts.sh"
125
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
126
- end
127
- config.vm.define "opensuse-12-x86_64" do |host|
128
- host.vm.box = "alexeym/opensuse-12.3"
129
- host.vm.provision "shell", inline: "zypper install -y rubygems ruby-devel make gcc"
130
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
131
- host.vm.provision "shell", path: "get_facts.sh"
132
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
133
- end
134
- config.vm.define "opensuse-13-x86_64" do |host|
135
- host.vm.box = "chef/opensuse-13.1"
136
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
137
- host.vm.provision "shell", path: "get_facts.sh"
138
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
139
- end
140
- config.vm.define "freebsd-10-x86_64" do |host|
141
- host.vm.box = "chef/freebsd-10.0"
142
- host.vm.network :private_network, ip: '10.0.0.2'
143
- host.vm.synced_folder ".", "/vagrant", :nfs => true
144
- host.vm.provision "shell", inline: "pkg install -y devel/ruby-gems"
145
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
146
- host.vm.provision "shell", path: "get_facts.sh"
147
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
148
- end
149
- config.vm.define "freebsd-9-x86_64" do |host|
150
- host.vm.box = "chef/freebsd-9.2"
151
- host.vm.network :private_network, ip: '10.0.0.2'
152
- host.vm.synced_folder ".", "/vagrant", :nfs => true
153
- host.ssh.shell = '/bin/sh'
154
- host.vm.provision "shell", inline: "pkg_add -F -r ruby19-gems"
155
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
156
- host.vm.provision "shell", path: "get_facts.sh"
157
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
158
- end
159
- config.vm.define "gentoo-x86_64" do |host|
160
- host.vm.box = "cmiles/gentoo-amd64-minimal"
161
- host.vm.provision "shell", inline: "emerge-webrsync && emerge app-crypt/gnupg net-misc/curl"
162
- host.vm.provision "shell", inline: $install_rvm
163
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
164
- host.vm.provision "shell", path: "get_facts.sh"
165
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
166
- end
167
- config.vm.define "solaris-11-x86_64" do |host|
168
- host.vm.box = "http://benden.us/vagrant/solaris-11.2.box"
169
- host.ssh.insert_key = false
170
- host.vm.provision "shell", inline: "pkg info gcc || pkg install gcc"
171
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
172
- host.vm.provision "shell", path: "get_facts.sh"
173
- host.vm.provision "shell", inline: "/sbin/shutdown -i S -g0 -y 'Bye' &"
174
- end
175
- config.vm.define "openbsd-5.7-x86_64" do |host|
176
- host.vm.box = "bodgit/openbsd-5.7-amd64"
177
- host.vm.synced_folder ".", "/vagrant", :nfs => true
178
- host.vm.provision "shell", inline: <<-SCRIPT.gsub(/^ +/, '')
179
- . ~/.profile
180
-
181
- pkg_info -qe 'bash->=0' || pkg_add -I bash
182
- ln -sf /usr/local/bin/bash /bin
183
-
184
- pkg_info -qe 'ruby->=1.9.3' || pkg_add -I ruby-1.9.3.551p1
185
- ln -sf /usr/local/bin/ruby19 /usr/local/bin/ruby
186
- ln -sf /usr/local/bin/erb19 /usr/local/bin/erb
187
- ln -sf /usr/local/bin/irb19 /usr/local/bin/irb
188
- ln -sf /usr/local/bin/rdoc19 /usr/local/bin/rdoc
189
- ln -sf /usr/local/bin/ri19 /usr/local/bin/ri
190
- ln -sf /usr/local/bin/rake19 /usr/local/bin/rake
191
- ln -sf /usr/local/bin/gem19 /usr/local/bin/gem
192
- ln -sf /usr/local/bin/testrb19 /usr/local/bin/testrb
193
- SCRIPT
194
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
195
- host.vm.provision "shell", path: "get_facts.sh"
196
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
197
- end
198
- end
data/facts/get_facts.sh DELETED
@@ -1,84 +0,0 @@
1
- #!/bin/bash
2
-
3
- set -e
4
-
5
- # Make Solaris use GNU tools by default
6
- export PATH=/usr/gnu/bin:$PATH
7
-
8
- # Fix for squeeze, el7, arch, opensuse12, opensuse13 and solaris
9
- export PATH=$PATH:/var/lib/gems/1.8/bin/:/usr/local/bin:/root/.gem/ruby/2.1.0/bin:/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.7.12/bin:/usr/lib64/ruby/gems/2.0.0/gems/bundler-1.7.12/bin:/usr/ruby/1.9/bin
10
-
11
- # Install latest version of facter
12
- gem install bundler --no-ri --no-rdoc --no-format-executable
13
- bundle install --path vendor/bundler
14
- operatingsystem=$(bundle exec facter operatingsystem | tr '[:upper:]' '[:lower:]')
15
- operatingsystemrelease=$(bundle exec facter operatingsystemrelease)
16
- operatingsystemmajrelease=$(bundle exec facter operatingsystemmajrelease)
17
- lsbdistcodename=$(bundle exec facter lsbdistcodename)
18
- hardwaremodel=$(bundle exec facter hardwaremodel)
19
-
20
- # Fix for FreeBSD
21
- [ "${hardwaremodel}" = 'amd64' ] && hardwaremodel='x86_64'
22
-
23
- # Fix for Solaris
24
- [ "${hardwaremodel}" = 'i86pc' ] && hardwaremodel='x86_64'
25
-
26
- for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0; do
27
- FACTER_GEM_VERSION="~> ${version}" bundle update
28
- minor_version=$(echo $version | cut -c1-3)
29
- output_dir="/vagrant/${minor_version}"
30
- mkdir -p $output_dir
31
- case "${operatingsystem}" in
32
- archlinux|gentoo)
33
- output_file="${output_dir}/${operatingsystem}-${hardwaremodel}.facts"
34
- ;;
35
- openbsd)
36
- output_file="${output_dir}/${operatingsystem}-${operatingsystemrelease}-${hardwaremodel}.facts"
37
- ;;
38
- *)
39
- output_file="${output_dir}/${operatingsystem}-${operatingsystemmajrelease}-${hardwaremodel}.facts"
40
- ;;
41
- esac
42
- echo $version | grep -q -E '^1\.' &&
43
- FACTER_GEM_VERSION="~> ${version}" bundle exec facter -j | bundle exec ruby -e 'require "json"; jj JSON.parse gets' | tee $output_file ||
44
- FACTER_GEM_VERSION="~> ${version}" bundle exec facter -j | tee $output_file
45
- done
46
-
47
- minor_version=3.0
48
- output_dir="/vagrant/${minor_version}"
49
- mkdir -p $output_dir
50
- case "${operatingsystem}" in
51
- archlinux|gentoo)
52
- output_file="${output_dir}/${operatingsystem}-${hardwaremodel}.facts"
53
- ;;
54
- openbsd)
55
- output_file="${output_dir}/${operatingsystem}-${operatingsystemrelease}-${hardwaremodel}.facts"
56
- ;;
57
- *)
58
- output_file="${output_dir}/${operatingsystem}-${operatingsystemmajrelease}-${hardwaremodel}.facts"
59
- ;;
60
- esac
61
-
62
- case "${operatingsystem}" in
63
- redhat)
64
- case "${operatingsystemmajrelease}" in
65
- 5)
66
- curl "https://yum.puppetlabs.com/puppetlabs-release-pc1-el-${operatingsystemmajrelease}.noarch.rpm" > /tmp/puppetlabs-release-pc1.rpm
67
- rpm -ivh /tmp/puppetlabs-release-pc1.rpm ;;
68
- *)
69
- rpm -ivh "https://yum.puppetlabs.com/puppetlabs-release-pc1-el-${operatingsystemmajrelease}.noarch.rpm"
70
- yum -y install puppet-agent
71
- ;;
72
- esac
73
-
74
- /opt/puppetlabs/bin/facter -j | tee $output_file
75
- ;;
76
- debian|ubuntu)
77
- [ $lsbdistcodename = "lucid" ] && exit # puppet-agent is not supported on lucid
78
- wget "https://apt.puppetlabs.com/puppetlabs-release-pc1-${lsbdistcodename}.deb" -O /tmp/puppetlabs-release-pc1.deb
79
- dpkg --install /tmp/puppetlabs-release-pc1.deb
80
- apt-get update
81
- apt-get -y install puppet-agent
82
- /opt/puppetlabs/bin/facter -j | tee $output_file
83
- ;;
84
- esac