puppet-standalone-mashup/shared/lib/puppet/type/download_and_unpack.rb

23 lines
381 B
Ruby

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