File: ruby.rb

package info (click to toggle)
puppet-module-voxpupuli-elasticsearch 9.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,496 kB
  • sloc: ruby: 9,906; sh: 392; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 334 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require 'puppet/provider/elastic_rest'

Puppet::Type.type(:elasticsearch_pipeline).provide(
  :ruby,
  parent: Puppet::Provider::ElasticREST,
  metadata: :content,
  api_uri: '_ingest/pipeline'
) do
  desc 'A REST API based provider to manage Elasticsearch ingest pipelines.'

  mk_resource_methods
end