Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add sample with backupsuffix
  • Loading branch information
sulaweyo committed Jan 15, 2017
1 parent bcb78a1 commit bbca115
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ download {'download if not exists':
force => false,
dest => '/tmp/7z922.exe'
}
download { 'download a file and maintain backup of old version with .bak suffix':
uri => 'http://www.example.com/download/example.txt',
dest => '/tmp/example.txt',
backupsuffix => '.bak'
}
download { 'download with basic auth and ssl, ssl forced':
uri => 'http://host.com:8443/test.txt',
Expand Down

0 comments on commit bbca115

Please sign in to comment.