Note:WhenusingthisonDebian/Ubuntu,youwillneedtoaddthe[Puppetlabs/apt](http://forge.puppetlabs.com/puppetlabs/apt) module to your modules.
##ServiceManagement
CurrentlyonlythebasicSysV-style[init](https://en.wikipedia.org/wiki/Init) service provider is supported, but other systems could be implemented as necessary (pull requests welcome).
###init
####DefaultsFile
The*defaults*file(`/etc/defaults/elasticsearch`or`/etc/sysconfig/elasticsearch`)fortheLogstashservicecanbepopulatedasnecessary.Thiscaneitherbeastaticfileresourceorasimplekeyvalue-style[hash](http://docs.puppetlabs.com/puppet/latest/reference/lang_datatypes.html#hashes) object, the latter being particularly well-suited to pulling out of a data source such as Hiera.
#####filesource
class{'elasticsearch':
init_defaults_file=>'puppet:///path/to/defaults'
}
#####hashrepresentation
$config_hash={
'ES_USER'=>'elasticsearch',
'ES_GROUP'=>'elasticsearch',
}
class{'elasticsearch':
init_defaults=>$config_hash
}
##Support
Needhelp?Joinusin[#elasticsearch](https://webchat.freenode.net?channels=%23elasticsearch) on Freenode IRC or subscribe to the [elasticsearch@googlegroups.com](https://groups.google.com/forum/#!forum/elasticsearch) mailing list.