~jamon/mojo/charm-testing-influxdb

« back to all changes in this revision

Viewing changes to charm-testing/filebeat/deploy

  • Committer: mergebot at canonical
  • Author(s): "Paul Gear"
  • Date: 2018-07-09 04:49:50 UTC
  • mfrom: (111.1.3 mojo-specs)
  • Revision ID: mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20180709044950-tsvlb1y0ulu9y8w3
Make nrpe options for post-xenial consistent

Reviewed-on: https://code.launchpad.net/~paulgear/mojo/mojo-specs/+merge/349109
Reviewed-by: Paul Collins <paul.collins@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
            series: trusty
20
20
        nrpe:
21
21
            charm: nrpe
22
 
            {% if series == "xenial" or series == "bionic" %}options:
23
 
                procs: '-w 200 -c 250'
24
 
                swap: '-w 90% -c 75% -n ok'{% endif %}
 
22
{%- if series != "trusty" %}
 
23
            options:
 
24
                procs: '-w 200 -c 250 -k'
 
25
                swap: '-w 90% -c 75% -n ok'
 
26
{%- endif %}
25
27
    relations:
26
28
        - ['ubuntu', 'filebeat']
27
29
        - ['filebeat:elasticsearch', 'elasticsearch:client']