Hi, I try to serve a file
file { "/root/test3.txt": ensure => file, source => "puppet:///yum/test.txt", } On the puppetmaster this files look like this #$ ls -n test.txt -rw-r--r-- 1 502 301 4 8 Nov 16:25 test.txt Finally, here is my question: What ownership may I expect on the resulting file ? Actually this is the result for me: #$ ls -l test3.txt -rw-r--r-- 1 502 301 4 Nov 8 16:39 test3.txt Obviously no user with uid 502 and no group with gid 301 exists on the target system. Interestingly other file definition results are different: file { "/root/test1.txt": ensure => file, } file { "/root/test2.txt": ensure => file, content => "bla", } #$ ls -l test{1,2}.txt -rw-r--r-- 1 root root 0 Nov 8 16:28 test1.txt -rw-r--r-- 1 root root 3 Nov 8 16:28 test2.txt Actually this is what I also expected for test3.txt. -- Best Regards, Markus Falb
signature.asc
Description: OpenPGP digital signature