Tks for your reply joe..

The windows machine in this case is a VM.. so I guess I will update the
template with SP1 instead of installing it on the fly.

Thanks and Regards,

Rakesh K.

On Wed, Mar 13, 2013 at 10:16 PM, joe <lava...@gmail.com> wrote:

> I wouldn't even do this with a file resource. I'd write a small script to
> pull it down from a web server and install it then have puppet run that as
> an exec. I'd also have the script remove the update when it's done since
> you probably don't want 900mb on disk for no reason.
>
>
> On Wednesday, March 13, 2013 7:38:49 AM UTC-6, Rakesh K wrote:
>>
>> Hi,
>>
>> I am writing a puppet manifest to install a service pack on windows, what
>> I observe is that in case the exe file is withing 50 - 70 Mb the transfer
>> to windows happens without any issues. But the current service pack
>> "windows6.1-KB976932-X64.exe" is around 900 Mb. My manifest is as follows
>>
>>         file { 'c:/temp/windows6.1-KB976932-**X64.exe':
>>         ensure => 'file',
>>         mode => '0755',
>>         owner => 'Administrator',
>>         group => 'Administrators',
>>         source => 'puppet:///modules/hotfix/**
>> windows6.1-KB976932-X64.exe',
>>         }
>> I am getting the error below
>>
>> err: /Stage[main]/Hotfix::**Win2k8x64_sp1/File[c:/**
>> windows6.1-KB976932-X64.exe]/**ensure: change from absent to file
>> failed: Could not set 'file on ensure: end of file reached at
>> /etc/puppet/modules/hotfix/**manifests/win2k8x64_sp1.pp:26
>>
>> Please suggest....
>>
>  --
> 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 post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to