fixed bugs and warnings

Fixed a bug where ensure had an invalid value
Added a service that more recent puppet-dashboard on RedHat-and-alike-systems use (it was missing)
Fixed some references in templates that used an old syntax.

This is my first fork+pull-request on github /ever/, so be gentle with me for all mistakes;-)

Bjørge Solli