Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version change doesn't work #273

Closed
runningman84 opened this issue Jan 12, 2015 · 2 comments
Closed

Version change doesn't work #273

runningman84 opened this issue Jan 12, 2015 · 2 comments

Comments

@runningman84
Copy link

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
@martinb3
Copy link
Contributor

This issue has been discussed thoroughly in #100, #61, #68.

@martinb3
Copy link
Contributor

martinb3 commented Jul 7, 2015

Hello! We've re-written the cookbook using libraries that expose resources and providers, so you shouldn't see this problem on the newer version; it should also be much easier to upgrade. Hope this helps!

@martinb3 martinb3 closed this as completed Jul 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants