Merge lp:~jamesbeedy/charms/trusty/fiche/next into lp:~jamesbeedy/charms/trusty/fiche/trunk

Proposed by james beedy
Status: Merged
Merged at revision: 7
Proposed branch: lp:~jamesbeedy/charms/trusty/fiche/next
Merge into: lp:~jamesbeedy/charms/trusty/fiche/trunk
Diff against target: 51 lines (+6/-6)
2 files modified
README.md (+5/-3)
tests/10-deploy (+1/-3)
To merge this branch: bzr merge lp:~jamesbeedy/charms/trusty/fiche/next
Reviewer Review Type Date Requested Status
james beedy Pending
Review via email: mp+288327@code.launchpad.net

Description of the change

Updated README.

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
1=== modified file 'README.md'
2--- README.md 2016-01-12 22:40:14 +0000
3+++ README.md 2016-03-07 18:01:08 +0000
4@@ -11,10 +11,12 @@
5
6 juju deploy fiche
7
8-You can then use netcat to do things like
9+This will deploy fiche server to listen on port 9999 by default.
10+
11+You can then use netcat to do things like
12
13 ```bash
14-cat file.txt | nc <ficheserver> <port>
15+cat file.txt | nc <ficheserver> 9999
16 ```
17
18 # Configuration
19@@ -22,7 +24,7 @@
20 Once you have deployed fiche you can add an alias to your .bashrc to make fiche slightly more usable:
21
22 ```bash
23-echo 'alias tb="nc <ficheserver> <port>"' >> .bashrc
24+echo 'alias tb="nc <ficheserver> 9999"' >> .bashrc
25 ```
26
27 Then you can:
28
29=== modified file 'tests/10-deploy'
30--- tests/10-deploy 2016-03-01 20:54:29 +0000
31+++ tests/10-deploy 2016-03-07 18:01:08 +0000
32@@ -40,11 +40,10 @@
33 cls.unit = cls.deployment.sentry.unit['fiche/0']
34 cls.ipaddr = cls.unit.info['public-address']
35
36-
37 def test_1_verify_netcat(self):
38 nc_resp = netcat(self.ipaddr, 9999, "test-txt")
39 nc_addr = str(nc_resp, "UTF-8").strip('\n')
40-
41+
42 response = requests.get(nc_addr)
43 # Check for 500
44 response.raise_for_status()
45@@ -59,6 +58,5 @@
46 amulet.raise_status(amulet.FAIL, msg=message)
47
48
49-
50 if __name__ == '__main__':
51 unittest.main()

Subscribers

People subscribed via source and target branches

to all changes: