I'm trying to install Maven 3 using Chef Solo and the following cookbook:
http://community.opscode.com/cookbooks/maven
The cookbook installs Maven 2 by default, and the first time I ran it, it installed Maven 2 as expected.
Later on I modified my solo.json
file to look like this:
{
"maven": {
"version": "3"
},
"run_list": [
"recipe[java]",
"recipe[maven]"
]
}
But Chef isn't updating Maven to version 3. I don't know if this is because I'm incorrectly specifying the override attribute or if there's some other issue. I using this for reference:
http://wiki.opscode.com/display/chef/Chef+Solo#ChefSolo-JSON%2CAttributesandRecipes
Thanks.