Given this puppet manifest (test.pp): $dir = '/tmp' file {'myfile': path => "$dir/myfile.txt", content => 'hello' }
puppet produces this report: [...] File[myfile]: !ruby/object:Puppet::Resource::Status resource: File[myfile] file: /Users/david/test.pp line: 4 evaluation_time: 0.001354 change_count: 1 out_of_sync_count: 1 tags: - file - myfile - class time: 2013-12-13 11:44:59.092716 +01:00 events: - !ruby/object:Puppet::Transaction::Event audited: false property: ensure previous_value: !ruby/sym absent desired_value: !ruby/sym file historical_value: message: "defined content as '{md5}5d41402abc4b2a76b9719d911017c592'" name: !ruby/sym file_created status: success time: 2013-12-13 11:44:59.093067 +01:00 out_of_sync: true changed: true resource_type: File title: myfile skipped: false failed: false containment_path: - Stage[main] - "" - File[myfile] [...] so, the report tells that it has created File[myfile], but it does not contain the path of the file /tmp/myfile.txt. that's a pity, because it means that I cannot get a list of all the files updated by puppet. is there a way to get the final path of all File resources created by puppet? (not "$dir/myfile.txt", but "/tmp/myfile.txt") -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/ff8d4db1-29b2-4c0e-aca8-a9d9faf4e02f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.