2015-10-21 22:52:41 +02:00
|
|
|
# encoding: utf-8
|
|
|
|
# author: Christoph Hartmann
|
|
|
|
# author: Dominik Richter
|
|
|
|
#
|
|
|
|
# prepare all operating systems with the required configuration
|
2015-10-22 19:57:17 +02:00
|
|
|
|
2016-08-04 14:59:48 +02:00
|
|
|
# container preparation
|
|
|
|
include_recipe('os_prepare::prep_container')
|
2016-02-01 17:18:33 +01:00
|
|
|
|
2016-12-15 18:13:06 +01:00
|
|
|
# confgure ssh
|
|
|
|
include_recipe('os_prepare::ssh')
|
|
|
|
|
2016-02-01 17:18:33 +01:00
|
|
|
# basic tests
|
2015-10-24 11:11:36 +02:00
|
|
|
include_recipe('os_prepare::file')
|
2016-05-10 19:23:11 +02:00
|
|
|
include_recipe('os_prepare::mount') unless node['osprepare']['docker']
|
2016-02-01 17:18:33 +01:00
|
|
|
include_recipe('os_prepare::service')
|
2015-10-24 11:11:36 +02:00
|
|
|
include_recipe('os_prepare::package')
|
2015-11-17 22:12:19 +01:00
|
|
|
include_recipe('os_prepare::registry_key')
|
2017-06-15 05:13:07 -04:00
|
|
|
include_recipe('os_prepare::iis')
|
2016-05-10 19:23:11 +02:00
|
|
|
include_recipe('os_prepare::iptables') unless node['osprepare']['docker']
|
2017-03-21 22:17:50 +01:00
|
|
|
include_recipe('os_prepare::x509')
|
2017-04-04 09:34:09 -05:00
|
|
|
include_recipe('os_prepare::dh_params')
|
2016-05-10 19:23:11 +02:00
|
|
|
|
|
|
|
# config file parsing
|
2017-08-31 03:56:14 -04:00
|
|
|
include_recipe('os_prepare::json_yaml_csv_ini_xml')
|
2016-02-01 17:18:33 +01:00
|
|
|
|
|
|
|
# configure repos, eg. nginx
|
|
|
|
include_recipe('os_prepare::apt')
|
|
|
|
|
|
|
|
# application configuration
|
2017-04-07 10:56:29 +02:00
|
|
|
if node['osprepare']['application'] && node['platform_family'] != 'windows'
|
2016-05-10 19:23:11 +02:00
|
|
|
include_recipe('os_prepare::postgres')
|
|
|
|
include_recipe('os_prepare::auditctl') unless node['osprepare']['docker']
|
|
|
|
include_recipe('os_prepare::apache')
|
|
|
|
end
|
2017-04-24 16:47:03 +02:00
|
|
|
|
|
|
|
# docker host testing
|
|
|
|
include_recipe('os_prepare::docker_host') unless node['osprepare']['docker']
|