set java version to 7
change requires to depends in metadata
add mongodb::10gen_repo to role