fix templates for other distros than groovy (fix #47)

@tfoote @wjwwood Please review