Chef infra 厨师服务[auditd]在centos-7中断

Chef infra 厨师服务[auditd]在centos-7中断,chef-infra,centos7,Chef Infra,Centos7,我正在尝试在centos7 ec2实例(ami-d2c924b2)上为auditd运行服务资源: service 'auditd' do provider Chef::Provider::Service::Init::Redhat action :nothing end 但是,centos7实例的服务资源似乎已中断: service[auditd]: unable to locate the init.d script! 我还收到了这个错误:服务[auditd]在资源集合中找

我正在尝试在centos7 ec2实例(ami-d2c924b2)上为auditd运行服务资源:

 service 'auditd' do
   provider Chef::Provider::Service::Init::Redhat
   action :nothing
 end
但是,centos7实例的服务资源似乎已中断:

service[auditd]: unable to locate the init.d script!

我还收到了这个错误:
服务[auditd]在资源集合中找不到。
Redhat
提供程序专门用于
/etc/init.d
管理的Redhat风格。CentOS 7改用systemd,这应该是自动检测的。

Redhat
提供程序专门用于
/etc/init.d
管理的Redhat风格。CentOS 7改用systemd,这应该是自动检测的