我最近注意到,Puppet代理正在我定义的目录中创build名称为“1”的零长度文件:
file { '/opt/foo/': ensure => directory, owner => 'bar', group => 'bar', }
结果是:
ls -lah /opt/foo drwxr-xr-x 2 bar bar 4.0K Feb 23 18:58 . drwxr-xr-x. 7 root root 4.0K Feb 23 18:42 .. -rw-r--r-- 1 root root 0 Feb 23 18:59 1
木偶版本:3.7.4
CentOS 6.5
目录和文件的权限和时间戳不匹配; 该puppet资源不会创build该文件。
一些其他的傀儡资源,或者你系统上的其他东西,正在这样做。