Use find_executable() to determine whether puppet(8) (with hiera) has been installed yet