templates.metadata for shares pools must be independant from www.conf

This commit is contained in:
Daniel Berteaud 2017-07-08 11:36:16 +02:00
parent d73eb21445
commit 9ac0ec6917
5 changed files with 8 additions and 6 deletions

View File

@ -23,9 +23,3 @@ foreach my $file qw( /etc/php-fpm.conf
/etc/opt/remi/php71/php-fpm.d/shares.conf ){
templates2events($file, qw(webapps-update bootstrap-console-save));
}
safe_symlink('/etc/e-smith/templates.metadata/etc/php-fpm.d/www.conf' , 'root/etc/e-smith/templates.metadata/etc/php-fpm.d/shares.conf');
safe_symlink('/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php-fpm.d/www.conf', 'root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php-fpm.d/shares.conf');
safe_symlink('/etc/e-smith/templates.metadata/etc/opt/remi/php70/php-fpm.d/www.conf', 'root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php-fpm.d/shares.conf');
safe_symlink('/etc/e-smith/templates.metadata/etc/opt/remi/php71/php-fpm.d/www.conf', 'root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php-fpm.d/shares.conf');

View File

@ -0,0 +1,2 @@
TEMPLATE_PATH="/etc/php-fpm.d/shares.conf"
MORE_DATA={ PHP_VERSION => 70 }

View File

@ -0,0 +1,2 @@
TEMPLATE_PATH="/etc/php-fpm.d/shares.conf"
MORE_DATA={ PHP_VERSION => 71 }

View File

@ -0,0 +1,2 @@
TEMPLATE_PATH="/etc/php-fpm.d/shares.conf"
MORE_DATA={ PHP_VERSION => '' }

View File

@ -0,0 +1,2 @@
TEMPLATE_PATH="/etc/php-fpm.d/www.conf"
MORE_DATA={ PHP_VERSION => 56 }