Sha256: 794795c8a793ec75e9eed0585daee3e07b1a961b6755ce1fbc1293a73978ba31

Contents?: true

Size: 699 Bytes

Versions: 6

Compression:

Stored size: 699 Bytes

Contents

# there are many python bindings for elasticsearch. This provides all
# the ones we know about http://www.elasticsearch.org/guide/clients/
define elasticsearch::python (
  $ensure   = 'installed',
) {

  # make sure the package name is valid and setup the provider as
  # necessary
  case $name {
    'pyes': {
      $provider = 'pip'
    }
    'rawes': {
      $provider = 'pip'
    }
    'pyelasticsearch': {
      $provider = 'pip'
    }
    'ESClient': {
      $provider = 'pip'
    }
    'elasticutils': {
      $provider = 'pip'
    }
    default: {
      fail("unknown python binding package '${name}'")
    }
  }

  package { $name:
    ensure   => $ensure,
    provider => $provider,
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
safeguard-devise-0.0.7 puppet/modules/elasticsearch/manifests/python.pp
safeguard-devise-0.0.6 puppet/modules/elasticsearch/manifests/python.pp
safeguard-devise-0.0.5 puppet/modules/elasticsearch/manifests/python.pp
safeguard-devise-0.0.4 puppet/modules/elasticsearch/manifests/python.pp
safeguard-devise-0.0.3 puppet/modules/elasticsearch/manifests/python.pp
safeguard-devise-0.0.2 puppet/modules/elasticsearch/manifests/python.pp