fixes on elasticsearch,ruby and Puppetfile