- change from multiple arrays for managing packages to a hash - change to ensure_packages to prevent duplicate resource conflicts