I've actually figured this out. The problem was caused by mis-configured
DNS settings on the puppet master server. Once fixed, I haven't been able
to reproduce the problem.
On Tuesday, April 1, 2014 1:29:43 PM UTC-4, Nick Miller wrote:
>
> Sorry, brain-fart. Yes, I do have the filebucked configured, and it
> appears to be correct.
>
> On Tuesday, April 1, 2014 1:23:24 PM UTC-4, Nick Miller wrote:
>>
>> No, I'm just using the 'files' directory within the module. What would
>> the filebucket be used for in this situation?
>>
>> On Tuesday, April 1, 2014 12:47:45 PM UTC-4, Arpin Dominique (Nter) wrote:
>>>
>>> Hi,
>>>
>>>
>>>
>>> Did you configure a filebucket?
>>>
>>>
>>>
>>> filebucket { 'main':
>>>
>>> server => 'fqdn_server',
>>>
>>> path => false,
>>>
>>> }
>>>
>>>
>>>
>>> *Dominique Arpin*
>>>
>>> Tél. Interne: 140-4156
>>>
>>> Tél. 514 285.2929 Poste: 140-4156
>>>
>>>
>>> *De :* [email protected] [mailto:[email protected]] *De
>>> la part de* Nick Miller
>>> *Envoyé :* 1 avril, 2014 12:11
>>> *À :* [email protected]
>>> *Objet :* [Puppet Users] Incomplete file copy to Windows agent
>>>
>>>
>>>
>>> Hi All,
>>>
>>>
>>>
>>> I'm trying to use puppet to manage some application servers. I'm having
>>> an issue that I can't seem to figure out. Binary files that I copy to the
>>> Windows host are incomplete, and if I run puppet agent -t several times the
>>> file usually comes through. I'm testing this with single file I'm copying
>>> to the server.
>>>
>>>
>>>
>>> file{'MyApp1':
>>>
>>> ensure => file,
>>>
>>> path => 'C:\\AppDir\\MyApp1.exe',
>>>
>>> source =>
>>> ["puppet:///modules/my_app_exe/MyApp1.exe"],
>>>
>>> source_permissions => ignore,
>>>
>>> }
>>>
>>>
>>>
>>> The size of the file is about 3MB, but when it copies across it's
>>> anywhere from 80KB to 1MB. There's no errors except when it fails trying
>>> to backup the file if I replace it. If I set backup => false, it claims to
>>> complete successfully, but the file is still incomplete.
>>>
>>>
>>>
>>> The error I get is:
>>>
>>>
>>>
>>> Error: Could not back up C:/AppDir/MyApp.exe: Error 400 on SERVER:
>>> SSL_read:: internal error
>>>
>>> Error: Could not back up C:/AppDir/MyApp.exe: Error 400 on SERVER:
>>> SSL_read:: internal error
>>>
>>> Error: /Stage[main]/my_app_exe/File[MyApp.exe]/content: change from
>>> {md5}70b4a1616d5fe2f41a4ad8e3dd345fcf to
>>> {md5}1bb8e1e2d39b21ff2f99920760c9eb74 failed: Could not back up
>>> C:/AppDir/MyApp.exe: Error 400 on SERVER: SSL_read::internal error
>>>
>>>
>>>
>>> Has anyone seen this before? It seems to happen to every Windows agent
>>> I have, and it's intermittent.
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Nick
>>>
>>> --
>>> 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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/puppet-users/363e02d7-1b84-416d-ada4-30c647cbd0a1%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/363e02d7-1b84-416d-ada4-30c647cbd0a1%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> Mise en garde concernant la confidentialité : Le présent message,
>>> comprenant tout fichier qui y est joint, est envoyé à l'intention exclusive
>>> de son destinataire; il est de nature confidentielle et peut constituer une
>>> information protégée par le secret professionnel. Si vous n'êtes pas le
>>> destinataire, nous vous avisons que toute impression, copie, distribution
>>> ou autre utilisation de ce message est strictement interdite. Si vous avez
>>> reçu ce courriel par erreur, veuillez en aviser immédiatement l'expéditeur
>>> par retour de courriel et supprimer le courriel. Merci!
>>>
>>> Confidentiality Warning: This message, including any attachment, is sent
>>> only for the use of the intended recipient; it is confidential and may
>>> constitute privileged information. If you are not the intended recipient,
>>> you are hereby notified that any printing, copying, distribution or other
>>> use of this message is strictly prohibited. If you have received this email
>>> in error, please notify the sender immediately by return email, and delete
>>> it. Thank you!
>>>
>>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/25efbdea-bcd2-4976-9d6b-227b5ad4dc46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.