Adding type parameters

Type parameters differ from properties in that they don't directly relate to actual discoverable and updatable resources on the underlying system. Rather, they do one of the two following things:

Let's add a source parameter to our new type using the newparam method:

Puppet::Type.newtype(:mynewtype) do
...
newparam(:source) do
end
...
end