From: sascha.strassheim Date: Fri, 18 May 2018 08:28:32 +0000 (+0200) Subject: fbb-passngr dev/test/prod php settings X-Git-Tag: v0.1.0~1012 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=652a7de9b70416c9d94327a23a6c184209fd0952;p=pixelpark%2Fhiera.git fbb-passngr dev/test/prod php settings --- diff --git a/customer/fbb-passngr/development.yaml b/customer/fbb-passngr/development.yaml index f2352941..9975642a 100644 --- a/customer/fbb-passngr/development.yaml +++ b/customer/fbb-passngr/development.yaml @@ -1,20 +1,4 @@ --- -infra::additional_classes: - - infra::profile::apache_php - -apache::mod::ssl::ssl_cipher: 'EECDH+AES:EDH+AES:!SHA1:!aNULL@STRENGTH' - -repo::remi_php72: true - -php::extensions: - gd: {} - opcache: {} - soap: {} - mbstring: {} - zip: {} - xml: {} - json: {} - accounts::users: markus.baumann: apply: true @@ -40,3 +24,38 @@ sudo::configs: priority: "06" content: | jenkins ALL=(apache) NOPASSWD: ALL + +infra::additional_classes: + - infra::profile::apache_php + +apache::mod::ssl::ssl_cipher: 'EECDH+AES:EDH+AES:!SHA1:!aNULL@STRENGTH' + +repo::remi_php72: true + +php::extensions: + gd: {} + opcache: {} + soap: {} + mbstring: {} + zip: {} + xml: {} + json: {} + +php::settings: + PHP/memory_limit: 320M + PHP/post_max_size: 20M + PHP/register_globals: 'Off' + PHP/include_path: '.:/opt/app/ZendFramework/library:/opt/app/web' + PHP/max_execution_time: 30 + PHP/max_input_time: 60 + PHP/output_buffering: 65536 + PHP/upload_max_filesize: 4M + PHP/max_file_uploads: 50 + PHP/short_open_tag: 'On' + PHP/expose_php: 'Off' + +infra::profile::apache_php::fpm_pool: + symfony: + listen_owner: apache + listen_group: apache + pm_max_children: 20 diff --git a/customer/fbb-passngr/production.yaml b/customer/fbb-passngr/production.yaml index 9eb2be46..f7b73f27 100644 --- a/customer/fbb-passngr/production.yaml +++ b/customer/fbb-passngr/production.yaml @@ -1,7 +1,17 @@ --- +#users here + +sudo::configs: + jenkins_rights: + priority: "06" + content: | + jenkins ALL=(apache) NOPASSWD: ALL + infra::additional_classes: - infra::profile::apache_php +apache::mod::ssl::ssl_cipher: 'EECDH+AES:EDH+AES:!SHA1:!aNULL@STRENGTH' + repo::remi_php72: true php::extensions: @@ -12,3 +22,22 @@ php::extensions: zip: {} xml: {} json: {} + +php::settings: + PHP/memory_limit: 320M + PHP/post_max_size: 20M + PHP/register_globals: 'Off' + PHP/include_path: '.:/opt/app/ZendFramework/library:/opt/app/web' + PHP/max_execution_time: 30 + PHP/max_input_time: 60 + PHP/output_buffering: 65536 + PHP/upload_max_filesize: 4M + PHP/max_file_uploads: 50 + PHP/short_open_tag: 'On' + PHP/expose_php: 'Off' + +infra::profile::apache_php::fpm_pool: + symfony: + listen_owner: apache + listen_group: apache + pm_max_children: 20 diff --git a/customer/fbb-passngr/test.yaml b/customer/fbb-passngr/test.yaml index 8789e2a4..6b519361 100644 --- a/customer/fbb-passngr/test.yaml +++ b/customer/fbb-passngr/test.yaml @@ -1,18 +1,3 @@ ---- -infra::additional_classes: - - infra::profile::apache_php - -repo::remi_php72: true - -php::extensions: - gd: {} - opcache: {} - soap: {} - mbstring: {} - zip: {} - xml: {} - json: {} - accounts::users: markus.baumann: apply: true @@ -38,3 +23,38 @@ sudo::configs: priority: "06" content: | jenkins ALL=(apache) NOPASSWD: ALL + +infra::additional_classes: + - infra::profile::apache_php + +apache::mod::ssl::ssl_cipher: 'EECDH+AES:EDH+AES:!SHA1:!aNULL@STRENGTH' + +repo::remi_php72: true + +php::extensions: + gd: {} + opcache: {} + soap: {} + mbstring: {} + zip: {} + xml: {} + json: {} + +php::settings: + PHP/memory_limit: 320M + PHP/post_max_size: 20M + PHP/register_globals: 'Off' + PHP/include_path: '.:/opt/app/ZendFramework/library:/opt/app/web' + PHP/max_execution_time: 30 + PHP/max_input_time: 60 + PHP/output_buffering: 65536 + PHP/upload_max_filesize: 4M + PHP/max_file_uploads: 50 + PHP/short_open_tag: 'On' + PHP/expose_php: 'Off' + +infra::profile::apache_php::fpm_pool: + symfony: + listen_owner: apache + listen_group: apache + pm_max_children: 20