Added feature in the recipe to allow roles to specify maxmemory by percentage.