exec { 'dlfile':
command => '. X:\tools\Get-WebFile.ps1 ; get-webfile
http://myurl.com/file.zip c:\file.zip',
provider => powershell
}
I am using the poweshell provider by Josh Cooper and get-webfile is on
http://poshcode.com/3920
Tweak line 134 from 4096 to 1048576 to make it g
That will be really great.
Awaiting the implementation details from your side.
Thanks & Regards,
Rakesh K.
On Thu, Mar 14, 2013 at 6:08 PM, Rich Siegel wrote:
> I do it with an exec resource using PowerShell provider and get-webfile.
> Works well and fast. If interested I can post the implem
I do it with an exec resource using PowerShell provider and get-webfile. Works
well and fast. If interested I can post the implementation details.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receivi
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 wrote:
> I wouldn't even do this with a file resource. I'd write a small
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