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
Post a Comment