如何检查节点上是否安装了服务(debian和cent os/amazon)?
如果已安装,我想停止并禁用该服务.如果服务不存在,我在停止服务时遇到异常: Chef :: Exceptions :: Service:/etc/init.d/service不存在!
最好的问候安德烈
service chef-infra
chef-infra ×1
service ×1