https://github.com/stdmod/puppet-elasticsearch/blob/master/manifests/init.pp#L46
I'm currently playing around myself with stuff in the stdmod arena and I'm uncomfortable with the $file param group. I'd change that to $config_* and $file to $config_path, to make it clearer what is managed here.