2021年2月3日星期三

Copy zip file and unzip using puppet in windows 10

I'm trying to copy one file using puppet in windows.

Code is as below :-

file { 'D:\mycopy\folder\filename':            ensure => present,            mode => '0660',            source => "d:\temp\test.zip",  }  

It is giving me below error

Cannot use opaque urls' file:\d: est\test.zip

I want to unzip also after copy. Thanks.

https://stackoverflow.com/questions/66037986/copy-zip-file-and-unzip-using-puppet-in-windows-10 February 04, 2021 at 09:05AM

没有评论:

发表评论