How to ensure the file transferred is identical to the source?
10 views
Skip to first unread message
Danny Tung
unread,
Aug 11, 2015, 9:34:20 AM8/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Puppet Users
If I use the "FILE" resource to stage a file from the puppet master to an agent node, does Puppet ensure that the file is transferred successfully? I noticed that puppet's report that the file checksum is changed to a new checksum value if it is replacing the existing file or it is a brand new file. I read it somewhere that puppet will transferred the file to a /tmp directory and replace the destination file if the two checksum values don't match. But does Puppet performs a checksum verification between the source and tmp files? Essentially, I just want to see if we need to verify the file is actually transferred without any issue. And if the transferred wasn't successful, I would love to get an error from Puppet to let the user know that there was an issue transferring the file.