Fetch a remote file in a puppet resource
Puppet file source only accepts puppet:// or file:// URIs I was trying to get a file downloaded from our repo and was able to do this
file{ '/usr/local/sbin/tape':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
}->
exec{'get_TS3500CLI':
command => "/usr/bin/wget -q ftp://ftp.software.ibm.com/storage/358x/3584/TS3500CLI/TS3500CLI.jar -O /usr/local/sbin/tape/TS3500CLI.jar",
creates => "/usr/local/sbin/tape/TS3500CLI.jar",
}->
In this case I did get this from ftp.