Closed vchepkov closed 9 years ago
This is not portable for users on Windows. I would checkout the http://www.github.com/nanliu/puppet-archive module. I'm hoping to provide a wrapper around staging to allow people to migrate to the types/provider resources since it's much easier to solve these issues.
Also, Puppet is getting HTTP support in the file
type soon-ish.
All that being said, I'd be happy to take this in, provided
unless
clause is limited to non-Windows platforms@vchepkov are you still interested in seeing this upstream?
I am using it from my fork. If this module obsolete by puppet-archive or it's still going to be supported?
I don't have any experience with writing tests or puppet on Windows. This still and issue though, so I will open one instead.
Sometimes commands like wget fail to download a file and create a file with 0 length instead The next time agent runs it will see the file and won't retry to download it again. It's hard to imagine someone would ever want to stage an empty file, so this workaround should work in general cases