inspec 0.30.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -2
- data/Gemfile +2 -1
- data/docs/cli.rst +1 -17
- data/docs/resources.rst +128 -0
- data/docs/shell.rst +130 -0
- data/inspec.gemspec +3 -4
- data/lib/bundles/inspec-compliance/.kitchen.yml +0 -1
- data/lib/bundles/inspec-compliance/README.md +8 -3
- data/lib/bundles/inspec-compliance/api.rb +21 -6
- data/lib/bundles/inspec-compliance/bootstrap.sh +13 -9
- data/lib/bundles/inspec-compliance/cli.rb +23 -19
- data/lib/bundles/inspec-compliance/target.rb +1 -0
- data/lib/bundles/inspec-compliance/test/integration/default/cli.rb +42 -5
- data/lib/bundles/inspec-init/cli.rb +9 -0
- data/lib/bundles/inspec-supermarket/cli.rb +9 -0
- data/lib/bundles/inspec-supermarket/target.rb +2 -1
- data/lib/fetchers/local.rb +5 -2
- data/lib/fetchers/url.rb +1 -0
- data/lib/inspec/base_cli.rb +2 -1
- data/lib/inspec/cli.rb +14 -5
- data/lib/inspec/dependencies/dependency_set.rb +38 -0
- data/lib/inspec/dependencies/requirement.rb +103 -0
- data/lib/inspec/{dependencies.rb → dependencies/resolver.rb} +13 -132
- data/lib/inspec/dependencies/vendor_index.rb +98 -0
- data/lib/inspec/plugins/source_reader.rb +4 -0
- data/lib/inspec/profile.rb +2 -2
- data/lib/inspec/resource.rb +2 -0
- data/lib/inspec/runner.rb +13 -1
- data/lib/inspec/runner_mock.rb +4 -0
- data/lib/inspec/runner_rspec.rb +6 -2
- data/lib/inspec/shell.rb +22 -1
- data/lib/inspec/version.rb +1 -1
- data/lib/resources/iis_site.rb +107 -0
- data/lib/resources/port.rb +11 -4
- data/lib/resources/ssh_conf.rb +10 -2
- data/lib/resources/ssl.rb +94 -0
- data/lib/resources/xinetd.rb +11 -2
- data/lib/utils/parser.rb +6 -1
- metadata +17 -561
- data/lib/utils/hash_map.rb +0 -37
- data/tasks/maintainers.rb +0 -213
- data/test/bench/startup/startup.flat.txt +0 -1005
- data/test/bench/startup/startup.graph.html +0 -71958
- data/test/bench/startup/startup.grind.dat +0 -101602
- data/test/bench/startup/startup.stack.html +0 -24516
- data/test/bench/startup.flat.txt +0 -998
- data/test/bench/startup.graph.html +0 -71420
- data/test/bench/startup.grind.dat +0 -103554
- data/test/bench/startup.stack.html +0 -25015
- data/test/cookbooks/os_prepare/attributes/default.rb +0 -2
- data/test/cookbooks/os_prepare/files/empty.iso +0 -0
- data/test/cookbooks/os_prepare/files/example.csv +0 -7
- data/test/cookbooks/os_prepare/files/example.ini +0 -6
- data/test/cookbooks/os_prepare/files/example.json +0 -12
- data/test/cookbooks/os_prepare/files/example.yml +0 -7
- data/test/cookbooks/os_prepare/metadata.rb +0 -13
- data/test/cookbooks/os_prepare/recipes/_runit_service_centos.rb +0 -34
- data/test/cookbooks/os_prepare/recipes/_upstart_service_centos.rb +0 -25
- data/test/cookbooks/os_prepare/recipes/apache.rb +0 -14
- data/test/cookbooks/os_prepare/recipes/apt.rb +0 -20
- data/test/cookbooks/os_prepare/recipes/auditctl.rb +0 -8
- data/test/cookbooks/os_prepare/recipes/default.rb +0 -29
- data/test/cookbooks/os_prepare/recipes/file.rb +0 -46
- data/test/cookbooks/os_prepare/recipes/iptables.rb +0 -13
- data/test/cookbooks/os_prepare/recipes/json_yaml_csv_ini.rb +0 -34
- data/test/cookbooks/os_prepare/recipes/mount.rb +0 -33
- data/test/cookbooks/os_prepare/recipes/package.rb +0 -25
- data/test/cookbooks/os_prepare/recipes/postgres.rb +0 -20
- data/test/cookbooks/os_prepare/recipes/prep_container.rb +0 -15
- data/test/cookbooks/os_prepare/recipes/registry_key.rb +0 -87
- data/test/cookbooks/os_prepare/recipes/service.rb +0 -19
- data/test/cookbooks/os_prepare/templates/default/sv-default-svlog-run.erb +0 -2
- data/test/docker_run.rb +0 -162
- data/test/docker_test.rb +0 -58
- data/test/functional/helper.rb +0 -37
- data/test/functional/inheritance_test.rb +0 -62
- data/test/functional/inspec_archive_test.rb +0 -80
- data/test/functional/inspec_compliance_test.rb +0 -61
- data/test/functional/inspec_exec_json_test.rb +0 -122
- data/test/functional/inspec_exec_jsonmin_test.rb +0 -59
- data/test/functional/inspec_exec_test.rb +0 -123
- data/test/functional/inspec_json_profile_test.rb +0 -103
- data/test/functional/inspec_test.rb +0 -91
- data/test/helper.rb +0 -329
- data/test/integration/default/_debug_spec.rb +0 -8
- data/test/integration/default/apache_conf_spec.rb +0 -21
- data/test/integration/default/apt_spec.rb +0 -37
- data/test/integration/default/auditd_rules_spec.rb +0 -32
- data/test/integration/default/cmp_matcher_spec.rb +0 -115
- data/test/integration/default/csv_spec.rb +0 -11
- data/test/integration/default/etc_group_spec.rb +0 -29
- data/test/integration/default/file_spec.rb +0 -195
- data/test/integration/default/group_spec.rb +0 -59
- data/test/integration/default/ini_spec.rb +0 -11
- data/test/integration/default/iptables_spec.rb +0 -29
- data/test/integration/default/json_spec.rb +0 -11
- data/test/integration/default/kernel_module_spec.rb +0 -23
- data/test/integration/default/kernel_parameter_spec.rb +0 -60
- data/test/integration/default/mount_spec.rb +0 -19
- data/test/integration/default/os_spec.rb +0 -13
- data/test/integration/default/package_spec.rb +0 -30
- data/test/integration/default/port_spec.rb +0 -27
- data/test/integration/default/postgres_session_spec.rb +0 -13
- data/test/integration/default/powershell_spec.rb +0 -42
- data/test/integration/default/registry_key_spec.rb +0 -109
- data/test/integration/default/secpol_spec.rb +0 -11
- data/test/integration/default/service_spec.rb +0 -128
- data/test/integration/default/user_spec.rb +0 -96
- data/test/integration/default/vbscript_spec.rb +0 -22
- data/test/integration/default/wmi_spec.rb +0 -66
- data/test/integration/default/yaml_spec.rb +0 -11
- data/test/resource/command_test.rb +0 -33
- data/test/resource/dsl_test.rb +0 -45
- data/test/resource/file_test.rb +0 -146
- data/test/resource/ssh_config.rb +0 -9
- data/test/resource/sshd_config.rb +0 -9
- data/test/test-extra.yaml +0 -11
- data/test/test.yaml +0 -11
- data/test/unit/control_test.rb +0 -58
- data/test/unit/fetchers/local_test.rb +0 -67
- data/test/unit/fetchers/mock_test.rb +0 -43
- data/test/unit/fetchers/tar_test.rb +0 -36
- data/test/unit/fetchers/url_test.rb +0 -152
- data/test/unit/fetchers/zip_test.rb +0 -36
- data/test/unit/fetchers_test.rb +0 -65
- data/test/unit/metadata_test.rb +0 -137
- data/test/unit/mock/cmd/$env-PATH +0 -1
- data/test/unit/mock/cmd/Get-NetAdapter +0 -24
- data/test/unit/mock/cmd/GetUserAccount +0 -33
- data/test/unit/mock/cmd/GetWin32Group +0 -23
- data/test/unit/mock/cmd/Resolve-DnsName +0 -26
- data/test/unit/mock/cmd/Test-NetConnection +0 -4
- data/test/unit/mock/cmd/auditctl +0 -3
- data/test/unit/mock/cmd/auditctl-legacy +0 -7
- data/test/unit/mock/cmd/auditctl-s +0 -8
- data/test/unit/mock/cmd/auditpol +0 -2
- data/test/unit/mock/cmd/brew-info-jq +0 -1
- data/test/unit/mock/cmd/chage-l-root +0 -7
- data/test/unit/mock/cmd/dpkg-s-curl +0 -21
- data/test/unit/mock/cmd/dscl +0 -5
- data/test/unit/mock/cmd/env +0 -1
- data/test/unit/mock/cmd/etc-apt +0 -7
- data/test/unit/mock/cmd/find-apache2-conf-enabled +0 -1
- data/test/unit/mock/cmd/find-apache2-ports-conf +0 -1
- data/test/unit/mock/cmd/find-etc-rc-d-name-S +0 -12
- data/test/unit/mock/cmd/find-net-interface +0 -9
- data/test/unit/mock/cmd/find-xinetd.d +0 -2
- data/test/unit/mock/cmd/gem-list-local-a-q-rubocop +0 -1
- data/test/unit/mock/cmd/get-net-tcpconnection +0 -24
- data/test/unit/mock/cmd/get-netadapter-binding-bridge +0 -4
- data/test/unit/mock/cmd/get-package-firefox +0 -30
- data/test/unit/mock/cmd/get-package-ruby +0 -18
- data/test/unit/mock/cmd/get-service-dhcp +0 -10
- data/test/unit/mock/cmd/get-windows-feature +0 -7
- data/test/unit/mock/cmd/get-wmiobject +0 -9
- data/test/unit/mock/cmd/getent-hosts-example.com +0 -1
- data/test/unit/mock/cmd/getent-passwd-jfolmer +0 -1
- data/test/unit/mock/cmd/getent-passwd-root +0 -1
- data/test/unit/mock/cmd/hpux-netstat-inet +0 -10
- data/test/unit/mock/cmd/hpux-netstat-inet6 +0 -11
- data/test/unit/mock/cmd/id-chartmann +0 -1
- data/test/unit/mock/cmd/id-jfolmer +0 -1
- data/test/unit/mock/cmd/id-root +0 -1
- data/test/unit/mock/cmd/initctl--version +0 -5
- data/test/unit/mock/cmd/initctl-show-config-ssh +0 -3
- data/test/unit/mock/cmd/initctl-status-ssh +0 -1
- data/test/unit/mock/cmd/iptables-s +0 -6
- data/test/unit/mock/cmd/launchctl-list +0 -3
- data/test/unit/mock/cmd/logins-x +0 -4
- data/test/unit/mock/cmd/ls-1-etc-init.d +0 -2
- data/test/unit/mock/cmd/ls-sys-class-net-br +0 -2
- data/test/unit/mock/cmd/lsmod +0 -2
- data/test/unit/mock/cmd/lsof-nP-i-FpctPn +0 -63
- data/test/unit/mock/cmd/mount +0 -1
- data/test/unit/mock/cmd/mount-multiple +0 -2
- data/test/unit/mock/cmd/netstat-an.utf8 +0 -13
- data/test/unit/mock/cmd/netstat-tulpen +0 -6
- data/test/unit/mock/cmd/npm-ls-g--json-bower +0 -9
- data/test/unit/mock/cmd/pacman-qi-curl +0 -21
- data/test/unit/mock/cmd/ping-example.com +0 -6
- data/test/unit/mock/cmd/pip-show-jinja2 +0 -11
- data/test/unit/mock/cmd/pkg-info-system-file-system-zfs +0 -8
- data/test/unit/mock/cmd/pkginfo-l-SUNWzfsr +0 -7
- data/test/unit/mock/cmd/ps-aux +0 -5
- data/test/unit/mock/cmd/ps-auxZ +0 -3
- data/test/unit/mock/cmd/pw-usershow-root-7 +0 -1
- data/test/unit/mock/cmd/reg_schedule +0 -6
- data/test/unit/mock/cmd/rpm-qia-curl +0 -24
- data/test/unit/mock/cmd/s11-netstat-an-finet-finet6 +0 -32
- data/test/unit/mock/cmd/sbin_sysctl +0 -1
- data/test/unit/mock/cmd/secedit-export +0 -7
- data/test/unit/mock/cmd/service-e +0 -2
- data/test/unit/mock/cmd/service-sendmail-onestatus +0 -3
- data/test/unit/mock/cmd/service-sshd-status +0 -1
- data/test/unit/mock/cmd/sockstat +0 -5
- data/test/unit/mock/cmd/success +0 -0
- data/test/unit/mock/cmd/swlist-l-product +0 -1
- data/test/unit/mock/cmd/systemctl-show-all-dbus +0 -6
- data/test/unit/mock/cmd/systemctl-show-all-sshd +0 -7
- data/test/unit/mock/cmd/win32_product +0 -8
- data/test/unit/mock/cmd/yum-repolist-all +0 -52
- data/test/unit/mock/files/apache2.conf +0 -14
- data/test/unit/mock/files/auditd.conf +0 -4
- data/test/unit/mock/files/bond0 +0 -37
- data/test/unit/mock/files/etcgroup +0 -3
- data/test/unit/mock/files/example.csv +0 -6
- data/test/unit/mock/files/grub.conf +0 -21
- data/test/unit/mock/files/inetd.conf +0 -2
- data/test/unit/mock/files/kitchen.yml +0 -7
- data/test/unit/mock/files/limits.conf +0 -5
- data/test/unit/mock/files/login.defs +0 -5
- data/test/unit/mock/files/mysql.conf +0 -8
- data/test/unit/mock/files/mysql2.conf +0 -2
- data/test/unit/mock/files/ntp.conf +0 -5
- data/test/unit/mock/files/passwd +0 -2
- data/test/unit/mock/files/policyfile.lock.json +0 -12
- data/test/unit/mock/files/ports.conf +0 -6
- data/test/unit/mock/files/rootwrap.conf +0 -7
- data/test/unit/mock/files/serve-cgi-bin.conf +0 -20
- data/test/unit/mock/files/shadow +0 -2
- data/test/unit/mock/files/ssh_config +0 -5
- data/test/unit/mock/files/sshd_config +0 -7
- data/test/unit/mock/files/sysctl.conf +0 -7
- data/test/unit/mock/files/xinetd.conf +0 -9
- data/test/unit/mock/files/xinetd.d/.gitkeep +0 -0
- data/test/unit/mock/files/xinetd.d_chargen-dgram +0 -9
- data/test/unit/mock/files/xinetd.d_chargen-stream +0 -9
- data/test/unit/mock/profiles/complete-metadata/inspec.yml +0 -7
- data/test/unit/mock/profiles/complete-profile/controls/filesystem_spec.rb +0 -16
- data/test/unit/mock/profiles/complete-profile/inspec.yml +0 -10
- data/test/unit/mock/profiles/complete-profile/libraries/testlib.rb +0 -1
- data/test/unit/mock/profiles/empty-metadata/inspec.yml +0 -0
- data/test/unit/mock/profiles/legacy-complete-metadata/metadata.rb +0 -7
- data/test/unit/mock/profiles/legacy-complete-metadata/test/.gitkeep +0 -0
- data/test/unit/mock/profiles/legacy-empty-metadata/controls/.gitkeep +0 -0
- data/test/unit/mock/profiles/legacy-empty-metadata/metadata.rb +0 -0
- data/test/unit/mock/profiles/legacy-simple-metadata/metadata.rb +0 -1
- data/test/unit/mock/profiles/legacy-simple-metadata/test/.gitkeep +0 -0
- data/test/unit/mock/profiles/library/controls/filesystem_spec.rb +0 -7
- data/test/unit/mock/profiles/library/inspec.yml +0 -10
- data/test/unit/mock/profiles/library/libraries/gordonlib.rb +0 -2
- data/test/unit/mock/profiles/library/libraries/testlib.rb +0 -12
- data/test/unit/mock/profiles/resource-tiny/inspec.yml +0 -10
- data/test/unit/mock/profiles/resource-tiny/libraries/resource.rb +0 -3
- data/test/unit/mock/profiles/simple-metadata/inspec.yml +0 -1
- data/test/unit/mock/profiles/skippy-profile-os/controls/one.rb +0 -3
- data/test/unit/mock/profiles/skippy-profile-os/inspec.yml +0 -5
- data/test/unit/mock/profiles/spec_only/specfile.rb +0 -11
- data/test/unit/mock/profiles/supported_inspec/inspec.yml +0 -2
- data/test/unit/mock/profiles/unsupported_inspec/inspec.yml +0 -2
- data/test/unit/objects_test.rb +0 -65
- data/test/unit/plugin_test.rb +0 -44
- data/test/unit/plugins/resource_test.rb +0 -60
- data/test/unit/profile_context_test.rb +0 -345
- data/test/unit/profile_test.rb +0 -252
- data/test/unit/resources/apache_conf_test.rb +0 -31
- data/test/unit/resources/apt_test.rb +0 -46
- data/test/unit/resources/audit_policy_test.rb +0 -13
- data/test/unit/resources/auditd_conf_test.rb +0 -15
- data/test/unit/resources/auditd_rules_test.rb +0 -91
- data/test/unit/resources/bash_test.rb +0 -29
- data/test/unit/resources/bond_test.rb +0 -24
- data/test/unit/resources/bridge_test.rb +0 -56
- data/test/unit/resources/csv_test.rb +0 -35
- data/test/unit/resources/etc_group_test.rb +0 -37
- data/test/unit/resources/file_test.rb +0 -202
- data/test/unit/resources/gem_test.rb +0 -20
- data/test/unit/resources/group_test.rb +0 -96
- data/test/unit/resources/grub_conf_test.rb +0 -29
- data/test/unit/resources/host_test.rb +0 -38
- data/test/unit/resources/inetd_conf_test.rb +0 -15
- data/test/unit/resources/ini_test.rb +0 -16
- data/test/unit/resources/interface_test.rb +0 -54
- data/test/unit/resources/iptables_test.rb +0 -35
- data/test/unit/resources/json_test.rb +0 -36
- data/test/unit/resources/kernel_module_test.rb +0 -23
- data/test/unit/resources/kernel_parameter_test.rb +0 -13
- data/test/unit/resources/limits_conf_test.rb +0 -14
- data/test/unit/resources/login_def_test.rb +0 -16
- data/test/unit/resources/mount_test.rb +0 -26
- data/test/unit/resources/mysql_conf_test.rb +0 -14
- data/test/unit/resources/npm_test.rb +0 -20
- data/test/unit/resources/ntp_conf_test.rb +0 -16
- data/test/unit/resources/oneget_test.rb +0 -45
- data/test/unit/resources/os_env_test.rb +0 -18
- data/test/unit/resources/os_test.rb +0 -40
- data/test/unit/resources/package_test.rb +0 -87
- data/test/unit/resources/parse_config_test.rb +0 -26
- data/test/unit/resources/passwd_test.rb +0 -111
- data/test/unit/resources/pip_test.rb +0 -15
- data/test/unit/resources/port_test.rb +0 -165
- data/test/unit/resources/powershell_test.rb +0 -32
- data/test/unit/resources/processes_test.rb +0 -72
- data/test/unit/resources/registry_key_test.rb +0 -18
- data/test/unit/resources/security_policy_test.rb +0 -16
- data/test/unit/resources/service_test.rb +0 -305
- data/test/unit/resources/shadow_test.rb +0 -67
- data/test/unit/resources/ssh_conf_test.rb +0 -33
- data/test/unit/resources/user_test.rb +0 -124
- data/test/unit/resources/vbscript_test.rb +0 -18
- data/test/unit/resources/windows_feature.rb +0 -17
- data/test/unit/resources/wmi_test.rb +0 -42
- data/test/unit/resources/xinetd_test.rb +0 -60
- data/test/unit/resources/yaml_test.rb +0 -34
- data/test/unit/resources/yum_test.rb +0 -68
- data/test/unit/shell_detector_test.rb +0 -78
- data/test/unit/source_reader_test.rb +0 -17
- data/test/unit/source_readers/flat_test.rb +0 -61
- data/test/unit/source_readers/inspec_test.rb +0 -38
- data/test/unit/utils/filter_array_test.rb +0 -59
- data/test/unit/utils/filter_table_test.rb +0 -177
- data/test/unit/utils/find_files_test.rb +0 -23
- data/test/unit/utils/passwd_parser_test.rb +0 -32
- data/test/unit/utils/simpleconfig_test.rb +0 -80
- data/test/unit/utils/solaris_netstat_parser.rb +0 -124
|
@@ -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,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
|
data/test/unit/mock/cmd/ps-aux
DELETED
data/test/unit/mock/cmd/ps-auxZ
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
root:*:0:0:Charlie &:/root:/bin/csh
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
openssh-daemon (pid 1220) is running...
|
data/test/unit/mock/cmd/sockstat
DELETED
data/test/unit/mock/cmd/success
DELETED
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
vim 7.4 vim
|
|
@@ -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
|
data/test/unit/mock/files/bond0
DELETED
|
@@ -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,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
|
data/test/unit/mock/files/passwd
DELETED
|
@@ -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
|
data/test/unit/mock/files/shadow
DELETED
|
File without changes
|
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
name 'metadata profile'
|
|
File without changes
|