Puppet::Type.newtype(:download_and_unpack) do @doc = "A downloaded file, unpacked" ensurable newparam(:name) do desc "The name of the file" end newparam(:url) do desc "The source of the file" end newparam(:src_path) do desc "The location where the file should be downloaded" end newparam(:version) do desc "The version to install" end end