Class: Puppet::Provider::ElasticParsedFile

Inherits:
ParsedFile
  • Object
show all
Defined in:
lib/puppet/provider/elastic_parsedfile.rb

Overview

Parent class for Elasticsearch-based providers that need to access specific configuration directories.

Direct Known Subclasses

ElasticYaml

Class Method Summary collapse

Class Method Details

.xpack_config(val) ⇒ Object

Find/set an x-pack configuration file.

Returns:

  • String



11
12
13
# File 'lib/puppet/provider/elastic_parsedfile.rb', line 11

def self.xpack_config(val)
  self.default_target ||= "/etc/elasticsearch/#{val}"
end