(#9768) Add a defaults argument to create_resources
Make it possible to supply defaults when calling create_resources using an
optional hash argument.
Signed-off-by: Andre Nathan <andre@digirati.com.br>
Signed-off-by: Patrick Carlisle <patrick@puppetlabs.com>