Apply a patch by Martin Zdrahal to no longer use the output variable
Add Requires for other resources, fix a number of syntax problems
Add hiera calls to directly use Hiera where available
Add a proper Require for other resources, fix the parameter name
Add a proper Require