atomia / puppet-atomia

Puppet module to install and configure Atomia
9 stars 24 forks source link

Updated apache_agent.pp to be able to send mail via ssmtp, and also set the default php.ini to /storage/configuration/php.ini if phpfarm is used. #321

Closed NVitanovic closed 6 years ago

NVitanovic commented 6 years ago

Apache agent is updated so now it installs ssmtp and sets the path to the sendmail in /storage/configuration/php.ini.

Also file upload limit is upped to 50MB instead of 1MB.

Modification of php.ini now must be done via the php.ini.erb file which is located on puppetmaster node /etc/puppet/modules/atomia/templates/apache_agent/php.ini.erb. All changes to that file will be applied to all apache2 cluster nodes.

All versions of php if phpfarm is used use the default /storage/configuration/php.ini file instead of the one in their directory which enables us to have unified configuration experience, and to manage less files.

branislavvukelic commented 6 years ago

Please cleanup a bit