update init.pp, correct defaults and add entry in hosts