Updating template.file

Changed 'widget_type X' to print the value of the variable 'widget' from from facter instead of 'X'.