Download file from remote http server with user credentials through Chef recipe -


i'm trying download remote file chef recipe. can download file using below command if server not require username , password.

remote_file "/destination-folder/large-file.tar.gz" source "http://www.example.org/large-file.tar.gz

but server require username , password download file.

how can include username , password above chef code?

source 'https://username:password@www.example.org/whatever', , don't forget sensitive true too.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -