Method: Puppet::Provider::ElasticPlugin#es_version

Defined in:
lib/puppet/provider/elastic_plugin.rb

#es_versionObject

Determine the installed version of Elasticsearch on this host.



183
184
185
186
187
# File 'lib/puppet/provider/elastic_plugin.rb', line 183

def es_version
  Puppet_X::Elastic::EsVersioning.version(
    resource[:elasticsearch_package_name], resource.catalog
  )
end