使用 Puppet 0.25.5 运行 CentOS 5.5
我已经安装并正在使用puppet-sysctl 模块。
但是出现以下错误:
//linux_tuning/Sysctl::Value[net.core.rmem_default] Sysctl[net.core.rmem_default] (err): Failed to retrieve current state of resource: No ability to determine if sysctl exists
//linux_tuning/Sysctl::Value[net.core.rmem_default]/Exec[exec_sysctl_net.core.rmem_default] (notice): Dependency sysctl[net.core.rmem_default] has 1 failures
//linux_tuning/Sysctl::Value[net.core.rmem_default]/Exec[exec_sysctl_net.core.rmem_default] (warning): Skipping because of failed dependencies
sysctl 已安装。并且 /etc/sysctl.conf 存在。
任何人都知道为什么会发生这种情况并知道如何解决它?
puppet.conf 的摘录:
[main]
vardir = /var/lib/puppet
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
runinterval = 21600