Move gems to hiera and install lua52 instead of lua