X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=blobdiff_plain;f=elasticsearch%2Fmap.jinja;h=36dd67430accc81efa4fa01eeb22db53de42acfc;hp=392295fcda7a9fcde1888a805df5395b9556f08b;hb=13fa94cd734fa3d7708dbcd61558c4a344d925db;hpb=dd881a6cf00c4b5c76ed2e1db27924c43930abd7 diff --git a/elasticsearch/map.jinja b/elasticsearch/map.jinja index 392295f..36dd674 100644 --- a/elasticsearch/map.jinja +++ b/elasticsearch/map.jinja @@ -4,13 +4,34 @@ Debian: pkgs: - elasticsearch + curator_pkgs: + - python-elasticsearch-curator service: elasticsearch version: '1.4.4' RedHat: pkgs: - elasticsearch + curator_pkgs: + - python-elasticsearch-curator service: elasticsearch version: '1.4.4' {%- endload %} {%- set server = salt['grains.filter_by'](base_defaults, merge=salt['pillar.get']('elasticsearch:server')) %} + +{%- load_yaml as client_defaults %} +Debian: + pkgs: + - python-elasticsearch + server: + host: 127.0.0.1 + port: 9200 +RedHat: + pkgs: + - python-elasticsearch + server: + host: 127.0.0.1 + port: 9200 +{%- endload %} + +{%- set client = salt['grains.filter_by'](client_defaults, merge=salt['pillar.get']('elasticsearch:client')) %}