Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Fix example indention in README.md #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,28 +71,28 @@ This full example will download the [packer](packer.io) tool to ```/usr/local/bi

```
archive { '0.5.1_linux_amd64':
ensure => present,
url => 'https://dl.bintray.com/mitchellh/packer/0.5.1_linux_amd64.zip',
target => '/usr/local/bin',
ensure => present,
url => 'https://dl.bintray.com/mitchellh/packer/0.5.1_linux_amd64.zip',
target => '/usr/local/bin',
follow_redirects => true,
extension => 'zip',
checksum => false,
src_target => '/tmp'
extension => 'zip',
checksum => false,
src_target => '/tmp'
}
```

You can also specifiy a global user to be used for the whole download and extract operation. Note that the module doesn't handle the right of the specified user on the src_target directory.
```

archive { '0.5.1_linux_amd64':
ensure => present,
url => 'https://dl.bintray.com/mitchellh/packer/0.5.1_linux_amd64.zip',
target => '/usr/local/bin',
ensure => present,
url => 'https://dl.bintray.com/mitchellh/packer/0.5.1_linux_amd64.zip',
target => '/usr/local/bin',
follow_redirects => true,
extension => 'zip',
checksum => false,
user => 'camptocamp',
src_target => '/home/camptocamp'
extension => 'zip',
checksum => false,
user => 'camptocamp',
src_target => '/home/camptocamp'
}
```

Expand Down