#9 convert attrib templates

Adds templates
Convert the factor code to Ohai plugin.
While I see this is in the puppet module, I question needing to do this on every run. There might be a better way to do this.