added dynamic index.html.erb and called it from init.pp