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 go a ton faster. Obviously you can deploy the script via a separate file resource. -- 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.