木偶:无法启动鱿鱼服务
在init.pp中,squid服务是这样定义的: service { 'squid': ensure => running, enable => true, hasrestart => true, hasstatus => true, subscribe => File['/etc/squid/squid.conf'], } 结果是这样的: err: /Stage[main]/module_1::Squid/Service[squid]/ensure: change from stopped to running failed: Could not start Service[squid]: Execution of '/etc/init.d/squid start' returned 1: 如果我运行“etc / init.d / squid start”,我得到: Rather than invoking init scripts through /etc/init.d, use the service(8) […]