Add compatability with puppet-stdlib

  - ensure_packages function