Redirect out to /dev/null to avoid errors shown
This commit is contained in:
parent
a1c32bca4b
commit
9d120728de
2
php.cf
2
php.cf
|
@ -133,7 +133,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)'","useshell"));
|
"switch_repo" expression => not(returnszero("cat /etc/dnf/modules.d/php.module | grep -q '^stream.*=.*remi-$(php.version)' >/dev/null 2>&1","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