1 2 3 4 5 6 7 8 9
class profiles::elasticsearch ( ) { include ::java class { 'elasticsearch': restart_on_change => true, api_host => '0.0.0.0', } }