Silenced when detecting rpms
This commit is contained in:
parent
0e07daa5f1
commit
204c84a896
6
php.cf
6
php.cf
|
@ -89,7 +89,9 @@ vars:
|
||||||
"php$(xversion)-intl",
|
"php$(xversion)-intl",
|
||||||
"php$(xversion)-pecl-imagick-im6",
|
"php$(xversion)-pecl-imagick-im6",
|
||||||
"php$(xversion)-ldap",
|
"php$(xversion)-ldap",
|
||||||
"php-pecl-json-post"
|
"php-pecl-json-post",
|
||||||
|
"php-pecl-apcu",
|
||||||
|
"php-pecl-zip",
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -133,7 +135,7 @@ bundle agent php_install_centos_repos
|
||||||
{
|
{
|
||||||
classes:
|
classes:
|
||||||
centos::
|
centos::
|
||||||
"switch_repo" expression => not(returnszero("cat /etc/dnf/modules.d/php.module | grep -q '^stream.*=.*remi-$(php.version)' >/dev/null 2>&1","useshell"));
|
"switch_repo" expression => not(returnszero("cat /etc/dnf/modules.d/php.module 2>/dev/null | grep -q '^stream.*=.*remi-$(php.version)'","useshell"));
|
||||||
"install_remi" expression => not(returnszero("rpm -q remi-release > /dev/null","useshell"));
|
"install_remi" expression => not(returnszero("rpm -q remi-release > /dev/null","useshell"));
|
||||||
"install_epel" expression => not(returnszero("rpm -q epel-release > /dev/null","useshell"));
|
"install_epel" expression => not(returnszero("rpm -q epel-release > /dev/null","useshell"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue