-
-
Notifications
You must be signed in to change notification settings - Fork 597
Closed
Description
I have a wrapper cookbook with some custom attributes:
# attributes:
override[:java][:jdk_version] = '7'
override[:elasticsearch][:version] = '1.4.2'
# recipe:
include_recipe "java"
include_recipe "elasticsearch"
But the elasticsearch still uses version 0.90.12. Funny enough it is stored as 1.4.2:
root@ip-10-95-yy-xx:/usr/local# curl localhost:9200
{
"ok" : true,
"status" : 200,
"name" : "i-7d4c929b",
"version" : {
"number" : "0.90.12",
"build_hash" : "26feed79983063ae83bfa11bd4ce214b1f45c884",
"build_timestamp" : "2014-02-25T15:38:23Z",
"build_snapshot" : false,
"lucene_version" : "4.6"
},
"tagline" : "You Know, for Search"
}
root@ip-10-95-yy-xx:/usr/local# ls -la
total 48
drwxr-xr-x 12 root root 4096 Jan 12 10:34 .
drwxr-xr-x 10 root root 4096 Nov 25 13:05 ..
drwxr-xr-x 2 root root 4096 Jan 12 10:34 bin
lrwxrwxrwx 1 root root 30 Jan 12 10:34 elasticsearch -> /usr/local/elasticsearch-1.4.2
drwxr-xr-x 5 elasticsearch elasticsearch 4096 Jan 12 10:34 elasticsearch-1.4.2
drwxr-xr-x 3 root root 4096 Jan 12 09:22 etc
drwxr-xr-x 2 root root 4096 Nov 25 13:05 games
drwxr-xr-x 2 root root 4096 Nov 25 13:05 include
drwxr-xr-x 4 root root 4096 Nov 25 13:07 lib
lrwxrwxrwx 1 root root 9 Nov 25 13:05 man -> share/man
drwxr-xr-x 2 root root 4096 Nov 25 13:05 sbin
drwxr-xr-x 7 root root 4096 Jan 12 09:21 share
drwxr-xr-x 2 root root 4096 Nov 25 13:05 src
drwxr-xr-x 5 root root 4096 Jan 12 09:22 var
Metadata
Metadata
Assignees
Labels
No labels