template now works on standalone nodes, puppet masters and puppet clients. Really fixes #4

Signed-off-by: Bert Hajee <hajee@moretIA.com>