From 8772bacffbd098f3c655de045efc066feb427416 Mon Sep 17 00:00:00 2001 From: 7u83 <7u83@mail.ru> Date: Thu, 15 Oct 2020 13:29:10 +0200 Subject: [PATCH] Fixed syntax errors and wrong class naming --- manifests/init.pp | 6 +++++- manifests/params.pp | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 5b6d8ae..9e2e49b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -188,7 +188,11 @@ class wmdeit_piwik( if $localsql { class {"mysql::server": - 'innodb_buffer_pool_size' => '2147483648'; + override_options => { + mysqld => { + 'innodb_buffer_pool_size' => '2147483648' + } + } } mysql::db { 'piwikdb': diff --git a/manifests/params.pp b/manifests/params.pp index a6cc8f6..b08dddf 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,6 +1,6 @@ # piwik os dependend params -class piwik::params{ +class wmdeit_piwik::params{ case $::osfamily { 'FreeBSD':{ @@ -44,7 +44,7 @@ class piwik::params{ $wwwuser = "www-data" $cache_dir = "/var/cache/nginx" $phpver = "php7.2" - $phpfpm_cfg ="/etc/php/7.0/fpm/php-fpm.conf" + $phpfpm_cfg ="/etc/php/7.2/fpm/php-fpm.conf" $phpfpm_service = "$phpver-fpm" $ssldir = "/etc/ssl" $eventmech = "epoll"