Hello,
i think I have a pretty dumb question.. but somehow Im kinda stuck..
I want to copy some files from a server, I created an array of file:
$files = [ '/tmp/file1', /tmp/file2', ]
The download url is = https://someurl.com
So how do I copy multiple files from there. One file is easy, but multiple...
I thought something like
file { $files:
ensure => present,
source => $download_url
}
Somehow this does not work,or do I have to create a for each loop ?
Could someone help me please ?
kind regards,
- Pascal
↧