Fix indentation + style
Ensure elasticsearch user and $elasticsearch::data_path exists
'ensure' should be first attribute
Add variable scope