Created
December 12, 2016 15:20
-
-
Save chris-rock/74c9415ef60bcd8aeae3483026cd27c0 to your computer and use it in GitHub Desktop.
Apache Serverspec verification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KITCHEN_YAML=.kitchen.docker.yml b kitchen verify default-centos-72 | |
Expected array default value for '--driver'; got "kitchen-vagrant" (string) | |
-----> Starting Kitchen (v1.13.2) | |
-----> Setting up <default-centos-72>... | |
Finished setting up <default-centos-72> (0m0.00s). | |
-----> Verifying <default-centos-72>... | |
Preparing files for transfer | |
-----> Installing Busser (busser) | |
Fetching: thor-0.19.0.gem (100%) | |
Successfully installed thor-0.19.0 | |
Fetching: busser-0.7.1.gem (100%) | |
Successfully installed busser-0.7.1 | |
2 gems installed | |
Installing Busser plugins: busser-serverspec | |
Plugin serverspec installed (version 0.5.10) | |
-----> Running postinstall for serverspec plugin | |
Suite path directory /tmp/verifier/suites does not exist, skipping. | |
Transferring files to <default-centos-72> | |
-----> Running serverspec test suite | |
-----> Installing Serverspec.. | |
Fetching: diff-lcs-1.2.5.gem (100%) | |
Fetching: rspec-expectations-3.5.0.gem (100%) | |
Fetching: rspec-mocks-3.5.0.gem (100%) | |
Fetching: rspec-3.5.0.gem (100%) | |
Fetching: rspec-its-1.2.0.gem (100%) | |
Fetching: multi_json-1.12.1.gem (100%) | |
Fetching: net-ssh-3.2.0.gem (100%) | |
Fetching: net-scp-1.2.1.gem (100%) | |
Fetching: net-telnet-0.1.1.gem (100%) | |
Fetching: sfl-2.3.gem (100%) | |
Fetching: specinfra-2.66.2.gem (100%) | |
Fetching: serverspec-2.37.2.gem (100%) | |
-----> serverspec installed (version 2.37.2) | |
/opt/chef/embedded/bin/ruby -I/tmp/verifier/suites/serverspec -I/tmp/verifier/gems/gems/rspec-support-3.5.0/lib:/tmp/verifier/gems/gems/rspec-core-3.5.4/lib /opt/chef/embedded/bin/rspec --pattern /tmp/verifier/suites/serverspec/\*\*/\*_spec.rb --color --format documentation --default-path /tmp/verifier/suites/serverspec | |
serverspec os detected as: redhat 7.2.1511 [x86_64] | |
loading centos/7.2.1511 | |
apache2::default | |
package httpd is installed | |
service httpd is enabled and running | |
directory /etc/httpd exists and is mode 755 | |
directory /etc/httpd/sites-enabled exists and is mode 755 | |
directory /etc/httpd/sites-available exists and is mode 755 | |
directory /etc/httpd/mods-enabled exists and is mode 755 | |
directory /etc/httpd/mods-available exists and is mode 755 | |
directory /etc/httpd/conf-available exists and is mode 755 | |
directory /etc/httpd/conf-enabled exists and is mode 755 | |
log dir /var/log/httpd exists and is mode 755 | |
lib dir /usr/lib64/httpd exists and is mode 755 | |
docroot dir /var/www/html exists and is mode 755 | |
cgi-bin dir /var/www/cgi-bin exists and is mode 755 | |
default site /etc/httpd/sites-available/default is a file (PENDING: default_site_enabled is false) | |
File "/etc/httpd/sites-enabled/000-default.conf" (PENDING: default_site_enabled is false) | |
cookbook script /usr/sbin/a2ensite exists and is executable | |
cookbook script /usr/sbin/a2dissite exists and is executable | |
cookbook script /usr/sbin/a2enmod exists and is executable | |
cookbook script /usr/sbin/a2dismod exists and is executable | |
cookbook script /usr/sbin/a2enconf exists and is executable | |
cookbook script /usr/sbin/a2disconf exists and is executable | |
apache is listening on port 80 | |
listening on port 80 is defined in /etc/httpd/ports.conf | |
/etc/httpd/conf/httpd.conf is the config file dropped by the cookbook | |
the apache configuration has no syntax errors | |
apache2::mod_cgi | |
mods-available/cgi.load is accurate | |
mods-enabled/cgi.load is a symlink to mods-available/cgi.load | |
cgi is loaded | |
apache2::mod_fastcgi | |
mods-available/fastcgi.load is accurate (PENDING: Temporarily skipped with xit) | |
mods-enabled/fastcgi.load is a symlink to mods-available/fastcgi.load (PENDING: Temporarily skipped with xit) | |
fastcgi is loaded (PENDING: Temporarily skipped with xit) | |
apache2::mod_include | |
mods-available/include.load is accurate | |
mods-enabled/include.load is a symlink to mods-available/include.load | |
include is loaded | |
mods-enabled/include.conf adds .shtml handlers | |
apache2::mod_ssl | |
mods-available/ssl.load is accurate | |
mods-enabled/ssl.load is a symlink to mods-available/ssl.load | |
ssl is loaded | |
ports.conf specifies listening on port 443 | |
mods-enabled/ssl.conf adds SSL directives | |
apache2::mod_status | |
mods-available/status.load is accurate | |
mods-enabled/status.load is a symlink to mods-available/status.load | |
status is loaded | |
apache2::mod_alias | |
mods-available/alias.load is accurate | |
mods-enabled/alias.load is a symlink to mods-available/alias.load | |
alias is loaded | |
apache2::mod_auth_basic | |
mods-available/auth_basic.load is accurate | |
mods-enabled/auth_basic.load is a symlink to mods-available/auth_basic.load | |
auth_basic is loaded | |
apache2::mod_authn_file | |
mods-available/authn_file.load is accurate | |
mods-enabled/authn_file.load is a symlink to mods-available/authn_file.load | |
authn_file is loaded | |
apache2::mod_authz_core | |
mods-available/authz_core.load is accurate | |
mods-enabled/authz_core.load is a symlink to mods-available/authz_core.load | |
authz_core is loaded | |
apache2::mod_authz_groupfile | |
mods-available/authz_groupfile.load is accurate | |
mods-enabled/authz_groupfile.load is a symlink to mods-available/authz_groupfile.load | |
authz_groupfile is loaded | |
apache2::mod_authz_host | |
mods-available/authz_host.load is accurate | |
mods-enabled/authz_host.load is a symlink to mods-available/authz_host.load | |
authz_host is loaded | |
apache2::mod_authz_user | |
mods-available/authz_user.load is accurate | |
mods-enabled/authz_user.load is a symlink to mods-available/authz_user.load | |
authz_user is loaded | |
apache2::mod_autoindex | |
mods-available/autoindex.load is accurate | |
mods-enabled/autoindex.load is a symlink to mods-available/autoindex.load | |
autoindex is loaded | |
apache2::mod_dir | |
mods-available/dir.load is accurate | |
mods-enabled/dir.load is a symlink to mods-available/dir.load | |
dir is loaded | |
apache2::mod_env | |
mods-available/env.load is accurate | |
mods-enabled/env.load is a symlink to mods-available/env.load | |
env is loaded | |
apache2::mod_mime | |
mods-available/mime.load is accurate | |
mods-enabled/mime.load is a symlink to mods-available/mime.load | |
mime is loaded | |
apache2::mod_negotiation | |
mods-available/negotiation.load is accurate | |
mods-enabled/negotiation.load is a symlink to mods-available/negotiation.load | |
negotiation is loaded | |
apache2::mod_setenvif | |
mods-available/setenvif.load is accurate | |
mods-enabled/setenvif.load is a symlink to mods-available/setenvif.load | |
setenvif is loaded | |
apache2::mod_systemd | |
mods-available/systemd.load is accurate | |
mods-enabled/systemd.load is a symlink to mods-available/systemd.load | |
systemd is loaded | |
Pending: (Failures listed here are expected and do not affect your suite's status) | |
1) apache2::default default site /etc/httpd/sites-available/default is a file | |
# default_site_enabled is false | |
# /tmp/verifier/suites/serverspec/localhost/default_spec.rb:61 | |
2) apache2::default File "/etc/httpd/sites-enabled/000-default.conf" | |
# default_site_enabled is false | |
# /tmp/verifier/suites/serverspec/localhost/default_spec.rb:69 | |
3) apache2::mod_fastcgi mods-available/fastcgi.load is accurate | |
# Temporarily skipped with xit | |
# /tmp/verifier/suites/serverspec/localhost/mod_fastcgi_spec.rb:22 | |
4) apache2::mod_fastcgi mods-enabled/fastcgi.load is a symlink to mods-available/fastcgi.load | |
# Temporarily skipped with xit | |
# /tmp/verifier/suites/serverspec/localhost/mod_fastcgi_spec.rb:29 | |
5) apache2::mod_fastcgi fastcgi is loaded | |
# Temporarily skipped with xit | |
# /tmp/verifier/suites/serverspec/localhost/mod_fastcgi_spec.rb:34 | |
Finished in 1.47 seconds (files took 0.37233 seconds to load) | |
85 examples, 0 failures, 5 pending | |
Finished verifying <default-centos-72> (0m9.90s). | |
-----> Kitchen is finished. (0m10.50s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment