inspec/test/cookbooks/os_prepare/recipes/default.rb
Christoph Hartmann a96059a3eb x509 integration tests
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-03-22 11:44:33 +01:00

34 lines
1,007 B
Ruby

# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter
#
# prepare all operating systems with the required configuration
# container preparation
include_recipe('os_prepare::prep_container')
# confgure ssh
include_recipe('os_prepare::ssh')
# basic tests
include_recipe('os_prepare::file')
include_recipe('os_prepare::mount') unless node['osprepare']['docker']
include_recipe('os_prepare::service')
include_recipe('os_prepare::package')
include_recipe('os_prepare::registry_key')
include_recipe('os_prepare::iis_site')
include_recipe('os_prepare::iptables') unless node['osprepare']['docker']
include_recipe('os_prepare::x509')
# config file parsing
include_recipe('os_prepare::json_yaml_csv_ini')
# configure repos, eg. nginx
include_recipe('os_prepare::apt')
# application configuration
if node['osprepare']['application']
include_recipe('os_prepare::postgres')
include_recipe('os_prepare::auditctl') unless node['osprepare']['docker']
include_recipe('os_prepare::apache')
end