you may want to use ensure_packages for this or ensure_resource (if you need to set the ensure state) as this package and the libssl package may be dependencies of other modules.