inspec 0.30.0 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +50 -2
  3. data/Gemfile +2 -1
  4. data/docs/cli.rst +1 -17
  5. data/docs/resources.rst +128 -0
  6. data/docs/shell.rst +130 -0
  7. data/inspec.gemspec +3 -4
  8. data/lib/bundles/inspec-compliance/.kitchen.yml +0 -1
  9. data/lib/bundles/inspec-compliance/README.md +8 -3
  10. data/lib/bundles/inspec-compliance/api.rb +21 -6
  11. data/lib/bundles/inspec-compliance/bootstrap.sh +13 -9
  12. data/lib/bundles/inspec-compliance/cli.rb +23 -19
  13. data/lib/bundles/inspec-compliance/target.rb +1 -0
  14. data/lib/bundles/inspec-compliance/test/integration/default/cli.rb +42 -5
  15. data/lib/bundles/inspec-init/cli.rb +9 -0
  16. data/lib/bundles/inspec-supermarket/cli.rb +9 -0
  17. data/lib/bundles/inspec-supermarket/target.rb +2 -1
  18. data/lib/fetchers/local.rb +5 -2
  19. data/lib/fetchers/url.rb +1 -0
  20. data/lib/inspec/base_cli.rb +2 -1
  21. data/lib/inspec/cli.rb +14 -5
  22. data/lib/inspec/dependencies/dependency_set.rb +38 -0
  23. data/lib/inspec/dependencies/requirement.rb +103 -0
  24. data/lib/inspec/{dependencies.rb → dependencies/resolver.rb} +13 -132
  25. data/lib/inspec/dependencies/vendor_index.rb +98 -0
  26. data/lib/inspec/plugins/source_reader.rb +4 -0
  27. data/lib/inspec/profile.rb +2 -2
  28. data/lib/inspec/resource.rb +2 -0
  29. data/lib/inspec/runner.rb +13 -1
  30. data/lib/inspec/runner_mock.rb +4 -0
  31. data/lib/inspec/runner_rspec.rb +6 -2
  32. data/lib/inspec/shell.rb +22 -1
  33. data/lib/inspec/version.rb +1 -1
  34. data/lib/resources/iis_site.rb +107 -0
  35. data/lib/resources/port.rb +11 -4
  36. data/lib/resources/ssh_conf.rb +10 -2
  37. data/lib/resources/ssl.rb +94 -0
  38. data/lib/resources/xinetd.rb +11 -2
  39. data/lib/utils/parser.rb +6 -1
  40. metadata +17 -561
  41. data/lib/utils/hash_map.rb +0 -37
  42. data/tasks/maintainers.rb +0 -213
  43. data/test/bench/startup/startup.flat.txt +0 -1005
  44. data/test/bench/startup/startup.graph.html +0 -71958
  45. data/test/bench/startup/startup.grind.dat +0 -101602
  46. data/test/bench/startup/startup.stack.html +0 -24516
  47. data/test/bench/startup.flat.txt +0 -998
  48. data/test/bench/startup.graph.html +0 -71420
  49. data/test/bench/startup.grind.dat +0 -103554
  50. data/test/bench/startup.stack.html +0 -25015
  51. data/test/cookbooks/os_prepare/attributes/default.rb +0 -2
  52. data/test/cookbooks/os_prepare/files/empty.iso +0 -0
  53. data/test/cookbooks/os_prepare/files/example.csv +0 -7
  54. data/test/cookbooks/os_prepare/files/example.ini +0 -6
  55. data/test/cookbooks/os_prepare/files/example.json +0 -12
  56. data/test/cookbooks/os_prepare/files/example.yml +0 -7
  57. data/test/cookbooks/os_prepare/metadata.rb +0 -13
  58. data/test/cookbooks/os_prepare/recipes/_runit_service_centos.rb +0 -34
  59. data/test/cookbooks/os_prepare/recipes/_upstart_service_centos.rb +0 -25
  60. data/test/cookbooks/os_prepare/recipes/apache.rb +0 -14
  61. data/test/cookbooks/os_prepare/recipes/apt.rb +0 -20
  62. data/test/cookbooks/os_prepare/recipes/auditctl.rb +0 -8
  63. data/test/cookbooks/os_prepare/recipes/default.rb +0 -29
  64. data/test/cookbooks/os_prepare/recipes/file.rb +0 -46
  65. data/test/cookbooks/os_prepare/recipes/iptables.rb +0 -13
  66. data/test/cookbooks/os_prepare/recipes/json_yaml_csv_ini.rb +0 -34
  67. data/test/cookbooks/os_prepare/recipes/mount.rb +0 -33
  68. data/test/cookbooks/os_prepare/recipes/package.rb +0 -25
  69. data/test/cookbooks/os_prepare/recipes/postgres.rb +0 -20
  70. data/test/cookbooks/os_prepare/recipes/prep_container.rb +0 -15
  71. data/test/cookbooks/os_prepare/recipes/registry_key.rb +0 -87
  72. data/test/cookbooks/os_prepare/recipes/service.rb +0 -19
  73. data/test/cookbooks/os_prepare/templates/default/sv-default-svlog-run.erb +0 -2
  74. data/test/docker_run.rb +0 -162
  75. data/test/docker_test.rb +0 -58
  76. data/test/functional/helper.rb +0 -37
  77. data/test/functional/inheritance_test.rb +0 -62
  78. data/test/functional/inspec_archive_test.rb +0 -80
  79. data/test/functional/inspec_compliance_test.rb +0 -61
  80. data/test/functional/inspec_exec_json_test.rb +0 -122
  81. data/test/functional/inspec_exec_jsonmin_test.rb +0 -59
  82. data/test/functional/inspec_exec_test.rb +0 -123
  83. data/test/functional/inspec_json_profile_test.rb +0 -103
  84. data/test/functional/inspec_test.rb +0 -91
  85. data/test/helper.rb +0 -329
  86. data/test/integration/default/_debug_spec.rb +0 -8
  87. data/test/integration/default/apache_conf_spec.rb +0 -21
  88. data/test/integration/default/apt_spec.rb +0 -37
  89. data/test/integration/default/auditd_rules_spec.rb +0 -32
  90. data/test/integration/default/cmp_matcher_spec.rb +0 -115
  91. data/test/integration/default/csv_spec.rb +0 -11
  92. data/test/integration/default/etc_group_spec.rb +0 -29
  93. data/test/integration/default/file_spec.rb +0 -195
  94. data/test/integration/default/group_spec.rb +0 -59
  95. data/test/integration/default/ini_spec.rb +0 -11
  96. data/test/integration/default/iptables_spec.rb +0 -29
  97. data/test/integration/default/json_spec.rb +0 -11
  98. data/test/integration/default/kernel_module_spec.rb +0 -23
  99. data/test/integration/default/kernel_parameter_spec.rb +0 -60
  100. data/test/integration/default/mount_spec.rb +0 -19
  101. data/test/integration/default/os_spec.rb +0 -13
  102. data/test/integration/default/package_spec.rb +0 -30
  103. data/test/integration/default/port_spec.rb +0 -27
  104. data/test/integration/default/postgres_session_spec.rb +0 -13
  105. data/test/integration/default/powershell_spec.rb +0 -42
  106. data/test/integration/default/registry_key_spec.rb +0 -109
  107. data/test/integration/default/secpol_spec.rb +0 -11
  108. data/test/integration/default/service_spec.rb +0 -128
  109. data/test/integration/default/user_spec.rb +0 -96
  110. data/test/integration/default/vbscript_spec.rb +0 -22
  111. data/test/integration/default/wmi_spec.rb +0 -66
  112. data/test/integration/default/yaml_spec.rb +0 -11
  113. data/test/resource/command_test.rb +0 -33
  114. data/test/resource/dsl_test.rb +0 -45
  115. data/test/resource/file_test.rb +0 -146
  116. data/test/resource/ssh_config.rb +0 -9
  117. data/test/resource/sshd_config.rb +0 -9
  118. data/test/test-extra.yaml +0 -11
  119. data/test/test.yaml +0 -11
  120. data/test/unit/control_test.rb +0 -58
  121. data/test/unit/fetchers/local_test.rb +0 -67
  122. data/test/unit/fetchers/mock_test.rb +0 -43
  123. data/test/unit/fetchers/tar_test.rb +0 -36
  124. data/test/unit/fetchers/url_test.rb +0 -152
  125. data/test/unit/fetchers/zip_test.rb +0 -36
  126. data/test/unit/fetchers_test.rb +0 -65
  127. data/test/unit/metadata_test.rb +0 -137
  128. data/test/unit/mock/cmd/$env-PATH +0 -1
  129. data/test/unit/mock/cmd/Get-NetAdapter +0 -24
  130. data/test/unit/mock/cmd/GetUserAccount +0 -33
  131. data/test/unit/mock/cmd/GetWin32Group +0 -23
  132. data/test/unit/mock/cmd/Resolve-DnsName +0 -26
  133. data/test/unit/mock/cmd/Test-NetConnection +0 -4
  134. data/test/unit/mock/cmd/auditctl +0 -3
  135. data/test/unit/mock/cmd/auditctl-legacy +0 -7
  136. data/test/unit/mock/cmd/auditctl-s +0 -8
  137. data/test/unit/mock/cmd/auditpol +0 -2
  138. data/test/unit/mock/cmd/brew-info-jq +0 -1
  139. data/test/unit/mock/cmd/chage-l-root +0 -7
  140. data/test/unit/mock/cmd/dpkg-s-curl +0 -21
  141. data/test/unit/mock/cmd/dscl +0 -5
  142. data/test/unit/mock/cmd/env +0 -1
  143. data/test/unit/mock/cmd/etc-apt +0 -7
  144. data/test/unit/mock/cmd/find-apache2-conf-enabled +0 -1
  145. data/test/unit/mock/cmd/find-apache2-ports-conf +0 -1
  146. data/test/unit/mock/cmd/find-etc-rc-d-name-S +0 -12
  147. data/test/unit/mock/cmd/find-net-interface +0 -9
  148. data/test/unit/mock/cmd/find-xinetd.d +0 -2
  149. data/test/unit/mock/cmd/gem-list-local-a-q-rubocop +0 -1
  150. data/test/unit/mock/cmd/get-net-tcpconnection +0 -24
  151. data/test/unit/mock/cmd/get-netadapter-binding-bridge +0 -4
  152. data/test/unit/mock/cmd/get-package-firefox +0 -30
  153. data/test/unit/mock/cmd/get-package-ruby +0 -18
  154. data/test/unit/mock/cmd/get-service-dhcp +0 -10
  155. data/test/unit/mock/cmd/get-windows-feature +0 -7
  156. data/test/unit/mock/cmd/get-wmiobject +0 -9
  157. data/test/unit/mock/cmd/getent-hosts-example.com +0 -1
  158. data/test/unit/mock/cmd/getent-passwd-jfolmer +0 -1
  159. data/test/unit/mock/cmd/getent-passwd-root +0 -1
  160. data/test/unit/mock/cmd/hpux-netstat-inet +0 -10
  161. data/test/unit/mock/cmd/hpux-netstat-inet6 +0 -11
  162. data/test/unit/mock/cmd/id-chartmann +0 -1
  163. data/test/unit/mock/cmd/id-jfolmer +0 -1
  164. data/test/unit/mock/cmd/id-root +0 -1
  165. data/test/unit/mock/cmd/initctl--version +0 -5
  166. data/test/unit/mock/cmd/initctl-show-config-ssh +0 -3
  167. data/test/unit/mock/cmd/initctl-status-ssh +0 -1
  168. data/test/unit/mock/cmd/iptables-s +0 -6
  169. data/test/unit/mock/cmd/launchctl-list +0 -3
  170. data/test/unit/mock/cmd/logins-x +0 -4
  171. data/test/unit/mock/cmd/ls-1-etc-init.d +0 -2
  172. data/test/unit/mock/cmd/ls-sys-class-net-br +0 -2
  173. data/test/unit/mock/cmd/lsmod +0 -2
  174. data/test/unit/mock/cmd/lsof-nP-i-FpctPn +0 -63
  175. data/test/unit/mock/cmd/mount +0 -1
  176. data/test/unit/mock/cmd/mount-multiple +0 -2
  177. data/test/unit/mock/cmd/netstat-an.utf8 +0 -13
  178. data/test/unit/mock/cmd/netstat-tulpen +0 -6
  179. data/test/unit/mock/cmd/npm-ls-g--json-bower +0 -9
  180. data/test/unit/mock/cmd/pacman-qi-curl +0 -21
  181. data/test/unit/mock/cmd/ping-example.com +0 -6
  182. data/test/unit/mock/cmd/pip-show-jinja2 +0 -11
  183. data/test/unit/mock/cmd/pkg-info-system-file-system-zfs +0 -8
  184. data/test/unit/mock/cmd/pkginfo-l-SUNWzfsr +0 -7
  185. data/test/unit/mock/cmd/ps-aux +0 -5
  186. data/test/unit/mock/cmd/ps-auxZ +0 -3
  187. data/test/unit/mock/cmd/pw-usershow-root-7 +0 -1
  188. data/test/unit/mock/cmd/reg_schedule +0 -6
  189. data/test/unit/mock/cmd/rpm-qia-curl +0 -24
  190. data/test/unit/mock/cmd/s11-netstat-an-finet-finet6 +0 -32
  191. data/test/unit/mock/cmd/sbin_sysctl +0 -1
  192. data/test/unit/mock/cmd/secedit-export +0 -7
  193. data/test/unit/mock/cmd/service-e +0 -2
  194. data/test/unit/mock/cmd/service-sendmail-onestatus +0 -3
  195. data/test/unit/mock/cmd/service-sshd-status +0 -1
  196. data/test/unit/mock/cmd/sockstat +0 -5
  197. data/test/unit/mock/cmd/success +0 -0
  198. data/test/unit/mock/cmd/swlist-l-product +0 -1
  199. data/test/unit/mock/cmd/systemctl-show-all-dbus +0 -6
  200. data/test/unit/mock/cmd/systemctl-show-all-sshd +0 -7
  201. data/test/unit/mock/cmd/win32_product +0 -8
  202. data/test/unit/mock/cmd/yum-repolist-all +0 -52
  203. data/test/unit/mock/files/apache2.conf +0 -14
  204. data/test/unit/mock/files/auditd.conf +0 -4
  205. data/test/unit/mock/files/bond0 +0 -37
  206. data/test/unit/mock/files/etcgroup +0 -3
  207. data/test/unit/mock/files/example.csv +0 -6
  208. data/test/unit/mock/files/grub.conf +0 -21
  209. data/test/unit/mock/files/inetd.conf +0 -2
  210. data/test/unit/mock/files/kitchen.yml +0 -7
  211. data/test/unit/mock/files/limits.conf +0 -5
  212. data/test/unit/mock/files/login.defs +0 -5
  213. data/test/unit/mock/files/mysql.conf +0 -8
  214. data/test/unit/mock/files/mysql2.conf +0 -2
  215. data/test/unit/mock/files/ntp.conf +0 -5
  216. data/test/unit/mock/files/passwd +0 -2
  217. data/test/unit/mock/files/policyfile.lock.json +0 -12
  218. data/test/unit/mock/files/ports.conf +0 -6
  219. data/test/unit/mock/files/rootwrap.conf +0 -7
  220. data/test/unit/mock/files/serve-cgi-bin.conf +0 -20
  221. data/test/unit/mock/files/shadow +0 -2
  222. data/test/unit/mock/files/ssh_config +0 -5
  223. data/test/unit/mock/files/sshd_config +0 -7
  224. data/test/unit/mock/files/sysctl.conf +0 -7
  225. data/test/unit/mock/files/xinetd.conf +0 -9
  226. data/test/unit/mock/files/xinetd.d/.gitkeep +0 -0
  227. data/test/unit/mock/files/xinetd.d_chargen-dgram +0 -9
  228. data/test/unit/mock/files/xinetd.d_chargen-stream +0 -9
  229. data/test/unit/mock/profiles/complete-metadata/inspec.yml +0 -7
  230. data/test/unit/mock/profiles/complete-profile/controls/filesystem_spec.rb +0 -16
  231. data/test/unit/mock/profiles/complete-profile/inspec.yml +0 -10
  232. data/test/unit/mock/profiles/complete-profile/libraries/testlib.rb +0 -1
  233. data/test/unit/mock/profiles/empty-metadata/inspec.yml +0 -0
  234. data/test/unit/mock/profiles/legacy-complete-metadata/metadata.rb +0 -7
  235. data/test/unit/mock/profiles/legacy-complete-metadata/test/.gitkeep +0 -0
  236. data/test/unit/mock/profiles/legacy-empty-metadata/controls/.gitkeep +0 -0
  237. data/test/unit/mock/profiles/legacy-empty-metadata/metadata.rb +0 -0
  238. data/test/unit/mock/profiles/legacy-simple-metadata/metadata.rb +0 -1
  239. data/test/unit/mock/profiles/legacy-simple-metadata/test/.gitkeep +0 -0
  240. data/test/unit/mock/profiles/library/controls/filesystem_spec.rb +0 -7
  241. data/test/unit/mock/profiles/library/inspec.yml +0 -10
  242. data/test/unit/mock/profiles/library/libraries/gordonlib.rb +0 -2
  243. data/test/unit/mock/profiles/library/libraries/testlib.rb +0 -12
  244. data/test/unit/mock/profiles/resource-tiny/inspec.yml +0 -10
  245. data/test/unit/mock/profiles/resource-tiny/libraries/resource.rb +0 -3
  246. data/test/unit/mock/profiles/simple-metadata/inspec.yml +0 -1
  247. data/test/unit/mock/profiles/skippy-profile-os/controls/one.rb +0 -3
  248. data/test/unit/mock/profiles/skippy-profile-os/inspec.yml +0 -5
  249. data/test/unit/mock/profiles/spec_only/specfile.rb +0 -11
  250. data/test/unit/mock/profiles/supported_inspec/inspec.yml +0 -2
  251. data/test/unit/mock/profiles/unsupported_inspec/inspec.yml +0 -2
  252. data/test/unit/objects_test.rb +0 -65
  253. data/test/unit/plugin_test.rb +0 -44
  254. data/test/unit/plugins/resource_test.rb +0 -60
  255. data/test/unit/profile_context_test.rb +0 -345
  256. data/test/unit/profile_test.rb +0 -252
  257. data/test/unit/resources/apache_conf_test.rb +0 -31
  258. data/test/unit/resources/apt_test.rb +0 -46
  259. data/test/unit/resources/audit_policy_test.rb +0 -13
  260. data/test/unit/resources/auditd_conf_test.rb +0 -15
  261. data/test/unit/resources/auditd_rules_test.rb +0 -91
  262. data/test/unit/resources/bash_test.rb +0 -29
  263. data/test/unit/resources/bond_test.rb +0 -24
  264. data/test/unit/resources/bridge_test.rb +0 -56
  265. data/test/unit/resources/csv_test.rb +0 -35
  266. data/test/unit/resources/etc_group_test.rb +0 -37
  267. data/test/unit/resources/file_test.rb +0 -202
  268. data/test/unit/resources/gem_test.rb +0 -20
  269. data/test/unit/resources/group_test.rb +0 -96
  270. data/test/unit/resources/grub_conf_test.rb +0 -29
  271. data/test/unit/resources/host_test.rb +0 -38
  272. data/test/unit/resources/inetd_conf_test.rb +0 -15
  273. data/test/unit/resources/ini_test.rb +0 -16
  274. data/test/unit/resources/interface_test.rb +0 -54
  275. data/test/unit/resources/iptables_test.rb +0 -35
  276. data/test/unit/resources/json_test.rb +0 -36
  277. data/test/unit/resources/kernel_module_test.rb +0 -23
  278. data/test/unit/resources/kernel_parameter_test.rb +0 -13
  279. data/test/unit/resources/limits_conf_test.rb +0 -14
  280. data/test/unit/resources/login_def_test.rb +0 -16
  281. data/test/unit/resources/mount_test.rb +0 -26
  282. data/test/unit/resources/mysql_conf_test.rb +0 -14
  283. data/test/unit/resources/npm_test.rb +0 -20
  284. data/test/unit/resources/ntp_conf_test.rb +0 -16
  285. data/test/unit/resources/oneget_test.rb +0 -45
  286. data/test/unit/resources/os_env_test.rb +0 -18
  287. data/test/unit/resources/os_test.rb +0 -40
  288. data/test/unit/resources/package_test.rb +0 -87
  289. data/test/unit/resources/parse_config_test.rb +0 -26
  290. data/test/unit/resources/passwd_test.rb +0 -111
  291. data/test/unit/resources/pip_test.rb +0 -15
  292. data/test/unit/resources/port_test.rb +0 -165
  293. data/test/unit/resources/powershell_test.rb +0 -32
  294. data/test/unit/resources/processes_test.rb +0 -72
  295. data/test/unit/resources/registry_key_test.rb +0 -18
  296. data/test/unit/resources/security_policy_test.rb +0 -16
  297. data/test/unit/resources/service_test.rb +0 -305
  298. data/test/unit/resources/shadow_test.rb +0 -67
  299. data/test/unit/resources/ssh_conf_test.rb +0 -33
  300. data/test/unit/resources/user_test.rb +0 -124
  301. data/test/unit/resources/vbscript_test.rb +0 -18
  302. data/test/unit/resources/windows_feature.rb +0 -17
  303. data/test/unit/resources/wmi_test.rb +0 -42
  304. data/test/unit/resources/xinetd_test.rb +0 -60
  305. data/test/unit/resources/yaml_test.rb +0 -34
  306. data/test/unit/resources/yum_test.rb +0 -68
  307. data/test/unit/shell_detector_test.rb +0 -78
  308. data/test/unit/source_reader_test.rb +0 -17
  309. data/test/unit/source_readers/flat_test.rb +0 -61
  310. data/test/unit/source_readers/inspec_test.rb +0 -38
  311. data/test/unit/utils/filter_array_test.rb +0 -59
  312. data/test/unit/utils/filter_table_test.rb +0 -177
  313. data/test/unit/utils/find_files_test.rb +0 -23
  314. data/test/unit/utils/passwd_parser_test.rb +0 -32
  315. data/test/unit/utils/simpleconfig_test.rb +0 -80
  316. data/test/unit/utils/solaris_netstat_parser.rb +0 -124
@@ -1,2 +0,0 @@
1
- /root/alpine-3.3.0-x86_64.iso on /mnt/iso-disk type iso9660 (ro)
2
- /root/alpine-3.3.0-x86_64_2.iso on /mnt/iso-disk type iso9660 (ro)
@@ -1,13 +0,0 @@
1
-
2
- Active Connections
3
-
4
- Proto Local Address Foreign Address State
5
- TCP 0.0.0.0:22 0.0.0.0:0 LISTENING
6
- TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
7
- TCP 10.209.66.139:3389 10.209.88.35:60413 ESTABLISHED
8
- TCP 10.209.66.139:53843 10.209.10.18:80 CLOSE_WAIT
9
- TCP [::]:135 [::]:0 LISTENING
10
- TCP [::]:445 [::]:0 LISTENING
11
- UDP 0.0.0.0:123 *:*
12
- UDP 0.0.0.0:161 *:*
13
- UDP [::]:123 *:*
@@ -1,6 +0,0 @@
1
- Active Internet connections (only servers)
2
- Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
3
- tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 21699 1/sshd
4
- tcp6 0 48 2601:1:ad80:1445::54776 2620:0:861:52:208::6667 LISTEN 0 21702 2043/pidgin
5
- tcp6 0 0 :::22 :::* LISTEN 0 21701 1/sshd
6
- udp 0 0 0.0.0.0:111 0.0.0.0:* 0 8689 545/rpcbind
@@ -1,9 +0,0 @@
1
- {
2
- "dependencies": {
3
- "bower": {
4
- "version": "1.4.1",
5
- "from": "bower@*",
6
- "resolved": "https://registry.npmjs.org/bower/-/bower-1.4.1.tgz"
7
- }
8
- }
9
- }
@@ -1,21 +0,0 @@
1
- Name : curl
2
- Version : 7.37.0-1
3
- Description : An URL retrieval utility and library
4
- Architecture : x86_64
5
- URL : http://curl.haxx.se
6
- Licenses : MIT
7
- Groups : None
8
- Provides : libcurl.so=4-64
9
- Depends On : ca-certificates krb5 libssh2 openssl zlib
10
- Optional Deps : None
11
- Required By : pacman
12
- Optional For : gnupg
13
- Conflicts With : None
14
- Replaces : None
15
- Installed Size : 962.00 KiB
16
- Packager : Dave Reisner <dreisner@archlinux.org>
17
- Build Date : Wed May 21 17:55:21 2014
18
- Install Date : Mon Jul 21 01:15:48 2014
19
- Install Reason : Installed as a dependency for another package
20
- Install Script : No
21
- Validated By : Signature
@@ -1,6 +0,0 @@
1
- PING example.com (93.184.216.34) 56(84) bytes of data.
2
- 64 bytes from 93.184.216.34: icmp_seq=1 ttl=61 time=172 ms
3
-
4
- --- example.com ping statistics ---
5
- 1 packets transmitted, 1 received, 0% packet loss, time 0ms
6
- rtt min/avg/max/mdev = 172.585/172.585/172.585/0.000 ms
@@ -1,11 +0,0 @@
1
- ---
2
- Metadata-Version: 2.0
3
- Name: Jinja2
4
- Version: 2.8
5
- Summary: A small but fast and easy to use stand-alone template engine written in pure python.
6
- Home-page: http://jinja.pocoo.org/
7
- Author: Armin Ronacher
8
- Author-email: armin.ronacher@active-4.com
9
- License: BSD
10
- Location: /Library/Python/2.7/site-packages
11
- Requires: MarkupSafe
@@ -1,8 +0,0 @@
1
- Name: system/file-system/zfs
2
- Summary: ZFS file system
3
- Category: System/File System
4
- State: Installed
5
- Version: 0.5.11
6
- Build Release: 5.11
7
- Branch: 0.175.3.1.0.5.0
8
- Packaging Date: October 6, 2015 02:23:22 PM
@@ -1,7 +0,0 @@
1
- PKGINST: SUNWzfsr
2
- NAME: ZFS (Root)
3
- CATEGORY: system
4
- ARCH: i386
5
- VERSION: 11.10.0,REV=2006.05.18.01.46
6
- DESC: ZFS root components
7
- STATUS: completely installed
@@ -1,5 +0,0 @@
1
- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
2
- root 1 0.0 0.0 18084 3228 ? Ss 14:15 0:00 /bin/bash
3
- root 13 0.0 0.0 15284 2148 ? R+ 15:08 0:00 ps aux
4
- noot 19 0.0 0.0 24521 1536 s001 Ss 09:23 0:00 svc
5
- noot 23 0.0 0.0 25044 1908 s000 S 08:46 0:00 svc
@@ -1,3 +0,0 @@
1
- LABEL USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
2
- system_u:system_r:kernel_t:s0 root 1 0.0 0.0 19232 1492 ? Ss May04 0:01 /sbin/init
3
- system_u:system_r:kernel_t:s0 root 39 0.0 0.0 0 0 ? S May04 0:00 crypto/0
@@ -1 +0,0 @@
1
- root:*:0:0:Charlie &:/root:/bin/csh
@@ -1,6 +0,0 @@
1
- {
2
- "Start": {
3
- "value": 2,
4
- "type": 4
5
- }
6
- }
@@ -1,24 +0,0 @@
1
- Name : curl
2
- Version : 7.29.0
3
- Release : 19.el7
4
- Architecture: x86_64
5
- Install Date: Thu Jun 18 12:38:01 2015
6
- Group : Applications/Internet
7
- Size : 535105
8
- License : MIT
9
- Signature : RSA/SHA256, Fri Jul 4 01:04:23 2014, Key ID 24c6a8a7f4a80eb5
10
- Source RPM : curl-7.29.0-19.el7.src.rpm
11
- Build Date : Mon Jun 9 23:19:16 2014
12
- Build Host : worker1.bsys.centos.org
13
- Relocations : (not relocatable)
14
- Packager : CentOS BuildSystem <http://bugs.centos.org>
15
- Vendor : CentOS
16
- URL : http://curl.haxx.se/
17
- Summary : A utility for getting files from remote servers (FTP, HTTP, and others)
18
- Description :
19
- curl is a command line tool for transferring data with URL syntax, supporting
20
- FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP,
21
- SMTP, POP3 and RTSP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP
22
- uploading, HTTP form based upload, proxies, cookies, user+password
23
- authentication (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer
24
- resume, proxy tunneling and a busload of other useful tricks.
@@ -1,32 +0,0 @@
1
-
2
- UDP: IPv4
3
- Local Address Remote Address State
4
- -------------------- -------------------- ----------
5
- *.* Unbound
6
- 10.0.2.15.68 Idle
7
- 192.168.59.103.68 Idle
8
-
9
- UDP: IPv6
10
- Local Address Remote Address State If
11
- --------------------------------- --------------------------------- ---------- -----
12
- *.* Unbound
13
- *.546 Idle
14
-
15
- TCP: IPv4
16
- Local Address Remote Address Swind Send-Q Rwind Recv-Q State
17
- -------------------- -------------------- ------- ------ ------- ------ -----------
18
- 127.0.0.1.5999 *.* 0 0 128000 0 LISTEN
19
- *.111 *.* 0 0 128000 0 LISTEN
20
- *.* *.* 0 0 128000 0 IDLE
21
- *.111 *.* 0 0 128000 0 LISTEN
22
- *.* *.* 0 0 128000 0 IDLE
23
- 192.168.59.103.22 192.168.59.3.55016 131008 0 128872 0 ESTABLISHED
24
- *.22 *.* 0 0 128000 0 LISTEN
25
- *.22 *.* 0 0 128000 0 LISTEN
26
-
27
- TCP: IPv6
28
- Local Address Remote Address Swind Send-Q Rwind Recv-Q State If
29
- --------------------------------- --------------------------------- ------- ------ ------- ------ ----------- -----
30
- ::1.5999 *.* 0 0 128000 0 LISTEN
31
- *.111 *.* 0 0 128000 0 LISTEN
32
- *.* *.* 0 0 128000 0 IDLE
@@ -1 +0,0 @@
1
- 1
@@ -1,7 +0,0 @@
1
- [System Access]
2
- MaximumPasswordAge = 42
3
- [Registry Values]
4
- MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole\SecurityLevel=4,0
5
- [Privilege Rights]
6
- SeUndockPrivilege = *S-1-5-32-544
7
- SeRemoteInteractiveLogonRight = *S-1-5-32-544,*S-1-5-32-555
@@ -1,2 +0,0 @@
1
- /etc/rc.d/sshd
2
- /etc/rc.d/sendmail
@@ -1,3 +0,0 @@
1
- sendmail is running as pid 671.
2
- sendmail_submit is running as pid 671.
3
- sendmail_msp_queue is running as pid 674.
@@ -1 +0,0 @@
1
- openssh-daemon (pid 1220) is running...
@@ -1,5 +0,0 @@
1
- USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
2
- root sendmail 671 3 tcp4 127.0.0.1:25 *:*
3
- root sshd 668 4 tcp6 *:22 *:*
4
- root sshd 668 4 tcp4 *:22 *:*
5
- ? ? ? ? udp6 *:2049 *:*
File without changes
@@ -1 +0,0 @@
1
- vim 7.4 vim
@@ -1,6 +0,0 @@
1
- Id=dbus.service
2
- Names=messagebus.service dbus.service
3
- Description=D-Bus System Message Bus
4
- LoadState=loaded
5
- UnitFileState=static
6
- SubState=running
@@ -1,7 +0,0 @@
1
- Id=sshd.service
2
- Names=sshd.service
3
- Description=OpenSSH server daemon
4
- LoadState=loaded
5
- UnitFileState=enabled
6
- SubState=running
7
- ActiveState=active
@@ -1,8 +0,0 @@
1
- {
2
- "Name": "Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161",
3
- "Version": "9.0.30729.6161",
4
- "Vendor": "Microsoft Corporation",
5
- "PackageCode": "{9C7D912C-6EDE-47A4-962E-7A83663440BA}",
6
- "Caption": "Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161",
7
- "Description": "Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161"
8
- }
@@ -1,52 +0,0 @@
1
- Config time: 0.006
2
- Yum version: 3.4.3
3
- base | 3.6 kB 00:00:00
4
- epel/x86_64/metalink | 26 kB 00:00:00
5
- epel | 4.3 kB 00:00:00
6
- extras | 3.4 kB 00:00:00
7
- updates | 3.4 kB 00:00:00
8
- (1/3): epel/x86_64/group_gz | 169 kB 00:00:00
9
- epel/x86_64/primary_db FAILED
10
- https://ftp.fau.de/epel/7/x86_64/repodata/ccbc93c2ab37b82a6376c9562d2aec27b81112bc3c943e1871f7ed0318fe24b9-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found
11
- Trying other mirror.
12
- (2/3): epel/x86_64/updateinfo | 349 kB 00:00:00
13
- (3/3): epel/x86_64/primary_db | 3.5 MB 00:00:04
14
- Loading mirror speeds from cached hostfile
15
- * base: ftp.hosteurope.de
16
- * epel: ftp-stud.hs-esslingen.de
17
- * extras: mirror.informatik.hs-fulda.de
18
- * updates: mirror.softaculous.com
19
- Setting up Package Sacks
20
- pkgsack time: 0.005
21
- Repo-id : base/7/x86_64
22
- Repo-name : CentOS-7 - Base
23
- Repo-status : enabled
24
- Repo-revision: 1427842153
25
- Repo-updated : Tue Mar 31 22:50:46 2015
26
- Repo-pkgs : 8652
27
- Repo-size : 6.3 G
28
- Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
29
- Repo-baseurl : http://ftp.hosteurope.de/mirror/centos.org/7.1.1503/os/x86_64/ (9 more)
30
- Repo-expire : 21600 second(s) (last: Sun Sep 6 10:20:46 2015)
31
- Repo-filename: /etc/yum.repos.d/CentOS-Base.repo
32
-
33
- Repo-id : base-debuginfo/x86_64
34
- Repo-name : CentOS-7 - Debuginfo
35
- Repo-status : disabled
36
- Repo-baseurl : http://debuginfo.centos.org/7/x86_64/
37
- Repo-expire : 21600 second(s) (last: Unknown)
38
- Repo-filename: /etc/yum.repos.d/CentOS-Debuginfo.repo
39
-
40
- Repo-id : extras/7/x86_64
41
- Repo-name : CentOS-7 - Extras
42
- Repo-status : enabled
43
- Repo-revision: 1441314199
44
- Repo-updated : Thu Sep 3 21:03:33 2015
45
- Repo-pkgs : 181
46
- Repo-size : 742 M
47
- Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock
48
- Repo-baseurl : http://mirror.informatik.hs-fulda.de/centos7.1.1503/extras/x86_64/ (9 more)
49
- Repo-expire : 21600 second(s) (last: Sun Sep 6 10:20:48 2015)
50
- Repo-filename: /etc/yum.repos.d/CentOS-Base.repo
51
-
52
- repolist: 18618
@@ -1,14 +0,0 @@
1
- # This is the main Apache server configuration file. It contains comments.
2
- ServerRoot "/etc/apache2"
3
-
4
- User ${APACHE_RUN_USER}
5
- Include ports.conf
6
-
7
- <Directory />
8
- Options FollowSymLinks
9
- AllowOverride None
10
- Require all denied
11
- </Directory>
12
-
13
- # Include generic snippets of statements
14
- IncludeOptional conf-enabled/*.conf
@@ -1,4 +0,0 @@
1
- # This file controls the configuration of the audit daemon
2
- space_left_action = SYSLOG
3
- action_mail_acct = root
4
- tcp_listen_queue = 5
@@ -1,37 +0,0 @@
1
- Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
2
-
3
- Bonding Mode: IEEE 802.3ad Dynamic link aggregation
4
- Transmit Hash Policy: layer3+4 (1)
5
- MII Status: up
6
- MII Polling Interval (ms): 100
7
- Up Delay (ms): 0
8
- Down Delay (ms): 0
9
-
10
- 802.3ad info
11
- LACP rate: fast
12
- Min links: 0
13
- Aggregator selection policy (ad_select): stable
14
- Active Aggregator Info:
15
- Aggregator ID: 1
16
- Number of ports: 1
17
- Actor Key: 9
18
- Partner Key: 29
19
- Partner Mac Address: 0d:4b:d1:26:32:0e
20
-
21
- Slave Interface: eth0
22
- MII Status: up
23
- Speed: 100 Mbps
24
- Duplex: full
25
- Link Failure Count: 0
26
- Permanent HW addr: 2e:b7:8d:61:2c:51
27
- Aggregator ID: 1
28
- Slave queue ID: 0
29
-
30
- Slave Interface: eth2
31
- MII Status: down
32
- Speed: Unknown
33
- Duplex: Unknown
34
- Link Failure Count: 0
35
- Permanent HW addr: 5a:57:54:66:38:64
36
- Aggregator ID: 2
37
- Slave queue ID: 0
@@ -1,3 +0,0 @@
1
- # comment
2
- root:x:0:
3
- www-data:x:33:www-data,root
@@ -1,6 +0,0 @@
1
- addressable,2.3.6,Apache 2.0,URI Implementation,"Addressable is a replacement for the URI implementation that is part of
2
- Ruby's standard library. It more closely conforms to the relevant RFCs and
3
- adds support for IRIs and URI templates."
4
- ast,2.0.0,MIT,A library for working with Abstract Syntax Trees.,A library for working with Abstract Syntax Trees.
5
- astrolabe,1.3.0,MIT,An object-oriented AST extension for Parser,An object-oriented AST extension for Parser
6
- berkshelf,3.2.3,Apache 2.0,"Manages a Cookbook's, or an Application's, Cookbook dependencies","Manages a Cookbook's, or an Application's, Cookbook dependencies"
@@ -1,21 +0,0 @@
1
- # grub.conf generated by anaconda
2
- #
3
- # Note that you do not have to rerun grub after making changes to this file
4
- # NOTICE: You have a /boot partition. This means that
5
- # all kernel and initrd paths are relative to /boot/, eg.
6
- # root (hd0,0)
7
- # kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
8
- # initrd /initrd-[generic-]version.img
9
- #boot=/dev/sda
10
- default=0
11
- timeout=5
12
- splashimage=(hd0,0)/grub/splash.xpm.gz
13
- hiddenmenu
14
- title CentOS (2.6.32-573.7.1.el6.x86_64)
15
- root (hd0,0)
16
- kernel /vmlinuz-2.6.32-573.7.1.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_GB.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet audit=1
17
- initrd /initramfs-2.6.32-573.7.1.el6.x86_64.img
18
- title CentOS 6 (2.6.32-573.el6.x86_64)
19
- root (hd0,0)
20
- kernel /vmlinuz-2.6.32-573.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_GB.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet audit=1
21
- initrd /initramfs-2.6.32-573.el6.x86_64.img
@@ -1,2 +0,0 @@
1
- ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd
2
- #:BSD: Shell, login, exec and talk are BSD protocols.
@@ -1,7 +0,0 @@
1
- name: vagrant
2
- driver:
3
- customize:
4
- memory: 1024
5
- platforms:
6
- - linux
7
- - mac
@@ -1,5 +0,0 @@
1
- # /etc/security/limits.conf
2
- * soft core 0
3
- #root hard core 100000
4
- * hard rss 10000
5
- ftp hard nproc 0
@@ -1,5 +0,0 @@
1
- # UMASK Default "umask" value.
2
- UMASK 022
3
- PASS_MIN_DAYS 0
4
- PASS_WARN_AGE 7
5
- #USERDEL_CMD /usr/sbin/userdel_local
@@ -1,8 +0,0 @@
1
- # a comment...
2
- [client]
3
- port = 3306
4
-
5
- [mysqld]
6
- user = mysql
7
-
8
- !include mysql2.conf
@@ -1,2 +0,0 @@
1
- [mysqld]
2
- key_buffer_size=16M
@@ -1,5 +0,0 @@
1
- # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
2
- driftfile /var/lib/ntp/ntp.drift
3
- server 0.ubuntu.pool.ntp.org
4
- server 1.ubuntu.pool.ntp.org
5
- server 2.ubuntu.pool.ntp.org
@@ -1,2 +0,0 @@
1
- root:x:0:0:root:/root:/bin/bash
2
- www-data:x:33:133:www-data:/var/www:/bin/sh
@@ -1,12 +0,0 @@
1
- {
2
- "name": "demo",
3
- "run_list": [
4
- "a",
5
- "b"
6
- ],
7
- "x": {
8
- "y": {
9
- "z": 123
10
- }
11
- }
12
- }
@@ -1,6 +0,0 @@
1
- # apache ports.conf
2
- Listen 80
3
-
4
- <IfModule ssl_module>
5
- Listen 443
6
- </IfModule>
@@ -1,7 +0,0 @@
1
- # Test the ini file format
2
- # Configuration for cinder-rootwrap
3
-
4
- [DEFAULT]
5
- # List of directories to load filter definitions from (separated by ',').
6
- filters_path=/etc/cinder/rootwrap.d,/usr/share/cinder/rootwrap
7
- exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin
@@ -1,20 +0,0 @@
1
- <IfModule mod_alias.c>
2
- <IfModule mod_cgi.c>
3
- Define ENABLE_USR_LIB_CGI_BIN
4
- </IfModule>
5
-
6
- <IfModule mod_cgid.c>
7
- Define ENABLE_USR_LIB_CGI_BIN
8
- </IfModule>
9
-
10
- <IfDefine ENABLE_USR_LIB_CGI_BIN>
11
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
12
- <Directory "/usr/lib/cgi-bin">
13
- AllowOverride None
14
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
15
- Require all granted
16
- </Directory>
17
- </IfDefine>
18
- </IfModule>
19
-
20
- # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
@@ -1,2 +0,0 @@
1
- root:x:1:2:3::::
2
- www-data:!!:10:20:30:40:50:60:
@@ -1,5 +0,0 @@
1
- # Comment
2
- Host *
3
- # Tunnel no
4
- SendEnv LANG LC_*
5
- HashKnownHosts yes
@@ -1,7 +0,0 @@
1
- # Comment
2
- Port 22
3
- UsePAM yes
4
- # ListenAddress 1.2.3.4
5
- HostKey /etc/ssh/ssh_host_rsa_key
6
- HostKey /etc/ssh/ssh_host_dsa_key
7
- HostKey /etc/ssh/ssh_host_ecdsa_key
@@ -1,7 +0,0 @@
1
- #
2
- # /etc/sysctl.conf - Configuration file for setting system variables
3
- # See /etc/sysctl.d/ for additional system variables.
4
- # See sysctl.conf (5) for information.
5
- #
6
-
7
- kernel.domainname = example.com
@@ -1,9 +0,0 @@
1
- defaults
2
- {
3
- # comments...
4
- # enabled =
5
- log_type = SYSLOG daemon info
6
- instances = 50
7
- }
8
-
9
- includedir /etc/xinetd.d
File without changes
@@ -1,9 +0,0 @@
1
- service chargen
2
- {
3
- disable = no
4
- # comment
5
- id = chargen-dgram
6
- type = INTERNAL
7
- wait = yes
8
- socket_type = dgram
9
- }
@@ -1,9 +0,0 @@
1
- service chargen
2
- {
3
- disable = yes
4
- # disable = no
5
- id = chargen-stream
6
- type = INTERNAL
7
- wait = yes
8
- socket_type = stream
9
- }
@@ -1,7 +0,0 @@
1
- name: name
2
- version: 1.2.3
3
- maintainer: bob
4
- title: title
5
- copyright: left
6
- summary: nothing
7
- supports: linux
@@ -1,16 +0,0 @@
1
- # encoding: utf-8
2
- # copyright: 2015, Chef Software, Inc
3
- # license: All rights reserved
4
-
5
- title 'Proc Filesystem Configuration'
6
-
7
- control 'test01' do
8
- impact 0.5
9
- title 'Catchy title'
10
- desc '
11
- There should always be a /proc
12
- '
13
- describe file('/proc') do
14
- it { should be_mounted }
15
- end
16
- end
@@ -1,10 +0,0 @@
1
- name: complete
2
- title: complete example profile
3
- maintainer: Chef Software, Inc.
4
- copyright: Chef Software, Inc.
5
- copyright_email: support@chef.io
6
- license: Proprietary, All rights reserved
7
- summary: Testing stub
8
- version: 1.0.0
9
- supports:
10
- - os-family: linux
@@ -1 +0,0 @@
1
- # Library resource
File without changes
@@ -1,7 +0,0 @@
1
- name 'name'
2
- version '1.2.3'
3
- maintainer 'bob'
4
- title 'title'
5
- copyright 'left'
6
- summary 'nothing'
7
- supports 'linux'
@@ -1 +0,0 @@
1
- name 'metadata profile'
@@ -1,7 +0,0 @@
1
- # encoding: utf-8
2
- # copyright: 2015, Chef Software, Inc
3
- # license: All rights reserved
4
-
5
- describe gordon do
6
- it { should be_enabled }
7
- end