i have this procedure on installing specific version of php in centos
yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install yum-utils
yum-config-manager --enable remi-php72
yum install php
how to include all this procedure in one code block in Chef? Thank you
this can be achieved in various ways:
execute
, bash
or script
resourcespackage
yum_package
, yum_repository
resources