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