Update init.pp

Added parameters to the defined type since otherwise it won't supply the values from hiera.