add framework for setting package_ensure