What is the best way to install elk with puppet using the module?

I want to install elasticsearch using puppet module but I don't know which is the best way to do it.
I am using ubuntu.
Regards