我在centos中安装特定版本的php时有此过程
yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum install yum-utils yum-config-manager --enable remi-php72 yum install php
如何将所有这些过程包含在Chef的一个代码块中?谢谢
这可以通过多种方式实现:
execute
bash
script