No description
Find a file
Dominik Richter 1f60a3ca9e updating common files
updating files: [".rubocop.yml"]
2014-10-27 23:30:25 +01:00
default updating common files 2014-10-27 18:41:56 +01:00
lockdown/serverspec updating common files 2014-10-27 18:41:56 +01:00
.gitignore add lockfiles and delete them from tree 2014-06-02 13:05:57 +02:00
.rubocop.yml updating common files 2014-10-27 23:30:25 +01:00
.travis.yml add travis config, add default task to rakefile 2014-06-23 12:03:15 +02:00
CHANGELOG.md 1.0.0 2014-08-13 11:11:08 +02:00
Gemfile updating common files 2014-10-20 10:58:08 +02:00
Rakefile add travis config, add default task to rakefile 2014-06-23 12:03:15 +02:00
README.md add standalone usage feature 2014-06-05 11:22:05 +02:00

tests-os-hardening

This are the integration tests for the projects

they start at integration level

you can use the gem kitchen-sharedtests

to make them available to your project. Use thor kitchen:fetch-remote-tests to put the repo into test/integration

Standalone Usage

you can target the integration tests to any host were you have ssh access

rake -T gives you a list of suites you can run (well ignore directories which are obviously not suites for now)

± rake -T
rake serverspec:data_bags  # Run serverspec suite data_bags
rake serverspec:default    # Run serverspec suite default

run it with:

bundle install

# default user and ssh-key

bundle exec rake serverspec:default target_host=<name-or-ip-of-target-server>

# or with user, host, password

ASK_LOGIN_PASSWORD=true bundle exec rake serverspec:default target_host=192.168.1.222 user=stack

add format=html to get a report.html document