From 19ddefc1bac9ded4707dce9f372090f3d9885f2a Mon Sep 17 00:00:00 2001 From: Nikita Stupin Date: Mon, 2 Mar 2015 23:50:02 +0300 Subject: [PATCH 1/2] Fix with previous fix with listenip --- manifests/agent.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/agent.pp b/manifests/agent.pp index b0c6de3ec..c69242e8a 100644 --- a/manifests/agent.pp +++ b/manifests/agent.pp @@ -213,7 +213,7 @@ # to network name. If more than 1 interfaces are available, we # can find the ipaddress of this specific interface if listenip # is set to for example "eth1" or "bond0.73". - if $listenip == undefined { + if ($listenip != undef) { if ($listenip =~ /^(eth|bond|lxc).*/) { $int_name = "ipaddress_${listenip}" $listen_ip = inline_template('<%= scope.lookupvar(int_name) %>') From 1107b9da245913731a751b21fe90a349c454c88f Mon Sep 17 00:00:00 2001 From: Nikita Stupin Date: Tue, 3 Mar 2015 20:53:51 +0300 Subject: [PATCH 2/2] Add always_populate_raw_post_data for zabbix-web --- manifests/web.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/web.pp b/manifests/web.pp index 64a57b267..6d17121b3 100644 --- a/manifests/web.pp +++ b/manifests/web.pp @@ -286,6 +286,7 @@ php_value post_max_size 16M php_value upload_max_filesize 2M php_value max_input_time 300 + php_value always_populate_raw_post_data -1 # Set correct timezone php_value date.timezone ${zabbix_timezone}", rewrites => [