Skip to content

Commit f421f01

Browse files
committed
Moves package install example up in readme
Since package installations are preferred and are the default, moves the package example to be the first example
1 parent 77eecb2 commit f421f01

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@ Examples:
137137
elasticsearch_install 'elasticsearch'
138138
```
139139

140+
```
141+
elasticsearch_install 'my_es_installation' do
142+
type :package # type of install
143+
version "1.7.2"
144+
action :install # could be :remove as well
145+
end
146+
```
147+
140148
```
141149
elasticsearch_install 'my_es_installation' do
142150
type :tarball # type of install
@@ -169,13 +177,7 @@ elasticsearch_install 'my_es_installation' do
169177
end
170178
```
171179

172-
```
173-
elasticsearch_install 'my_es_installation' do
174-
type :package # type of install
175-
version "1.7.2"
176-
action :install # could be :remove as well
177-
end
178-
```
180+
179181

180182
### elasticsearch_configure
181183
Actions: `:manage`, `:remove`

0 commit comments

Comments
 (0)