Merge lp:~mthaddon/mojo/nrpe-charm-testing into lp:mojo/mojo-specs

Proposed by Tom Haddon
Status: Merged
Approved by: Jamon Camisso
Approved revision: 40
Merged at revision: 40
Proposed branch: lp:~mthaddon/mojo/nrpe-charm-testing
Merge into: lp:mojo/mojo-specs
Diff against target: 24 lines (+6/-1)
2 files modified
charm-testing/nrpe/collect (+1/-0)
charm-testing/nrpe/deploy (+5/-1)
To merge this branch: bzr merge lp:~mthaddon/mojo/nrpe-charm-testing
Reviewer Review Type Date Requested Status
Mojo Maintainers Pending
Review via email: mp+322014@code.launchpad.net

Description of the change

We need a primary charm in the environment for any kind of useful testing of nrpe, so just use the ubuntu charm and create a relation

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'charm-testing/nrpe/collect'
--- charm-testing/nrpe/collect 2017-04-05 14:11:17 +0000
+++ charm-testing/nrpe/collect 2017-04-05 15:22:56 +0000
@@ -1,1 +1,2 @@
1ubuntu cs:{{ series }}/ubuntu
1nrpe cs:{{ series }}/nrpe2nrpe cs:{{ series }}/nrpe
23
=== modified file 'charm-testing/nrpe/deploy'
--- charm-testing/nrpe/deploy 2017-04-05 14:11:17 +0000
+++ charm-testing/nrpe/deploy 2017-04-05 15:22:56 +0000
@@ -1,8 +1,12 @@
1nrpe:1ubuntu:
2 series: {{series}}2 series: {{series}}
3 services:3 services:
4 ubuntu:
5 charm: ubuntu
4 nrpe:6 nrpe:
5 charm: nrpe7 charm: nrpe
6 {% if series == "xenial" %}options:8 {% if series == "xenial" %}options:
7 procs: '-w 200 -c 250'9 procs: '-w 200 -c 250'
8 swap: '-w 90% -c 75% -n ok'{% endif %}10 swap: '-w 90% -c 75% -n ok'{% endif %}
11 relations:
12 - ['ubuntu', 'nrpe']

Subscribers

People subscribed via source and target branches

to all changes: