[WIP] Add library, create template resource ourselves

Changes:

* Adds a dinky library to make the recipe cleaner
* Create template resource directly instead of guessing that one exists
* TODO: Filtering against IP addresses instead of just `node[:ipaddress]` (in library)