1

I've recently noticed that the Puppet agent is creating zero-length files with the name of "1" in directories I've defined as:

file { '/opt/foo/':                                                                                                  
   ensure  => directory,                                                                                               
    owner   => 'bar',                                                                                                
    group   => 'bar',                                                                                                
}

Results in:

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

Puppet version: 3.7.4

CentOS 6.5

1 Answer 1

2

The permissions and the timestamp on the directory and file don't match; that puppet resource isn't creating that file.

Some other puppet resource, or something else on your system, is doing that.

1
  • Ah, good catch!
    – loadstar81
    Feb 23, 2015 at 20:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .