changed operatingsystem by osfamily fact, and use ensure_packages on package deps