Merge lp:~niedbalski/charms/precise/rsyslog/fix-1355987 into lp:charms/rsyslog

Proposed by Jorge Niedbalski
Status: Merged
Merged at revision: 12
Proposed branch: lp:~niedbalski/charms/precise/rsyslog/fix-1355987
Merge into: lp:charms/rsyslog
Diff against target: 379 lines (+348/-9)
4 files modified
README (+0/-8)
README.md (+47/-0)
icon.svg (+300/-0)
test_requirements.txt (+1/-1)
To merge this branch: bzr merge lp:~niedbalski/charms/precise/rsyslog/fix-1355987
Reviewer Review Type Date Requested Status
charmers Pending
Review via email: mp+233221@code.launchpad.net
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
=== removed file 'README'
--- README 2014-04-21 21:03:13 +0000
+++ README 1970-01-01 00:00:00 +0000
@@ -1,8 +0,0 @@
1This is a simple rsyslogd logging server. It is most interesting
2when paired with the rsyslog-forwarder subordinate charm. See
3rsyslog-forwarder's README for how to use them together.
4
5TODO:
6-----
7-Tighter security
8-Forwarding
90
=== added file 'README.md'
--- README.md 1970-01-01 00:00:00 +0000
+++ README.md 2014-09-03 14:06:14 +0000
@@ -0,0 +1,47 @@
1# General
2
3This charm provides support for setting up a simple rsyslogd logging server.
4
5# Usage method
6
7On this example we are going to deploy mysql
8
9 juju deploy mysql
10
11Then you must deploy this charm
12
13 juju deploy rsyslog primary-rsyslog
14
15Then you can deploy a rsyslog-forwarder-ha charm, which will forward all the syslog
16messages from a specific service to this rsyslog server.
17
18 juju deploy rsyslog-forwarder-ha
19
20Then relate both services
21
22 juju add-relation rsyslog-forwarder-ha mysql
23
24Then you can deploy your rsyslog aggregators servers:
25
26 juju deploy rsyslog primary
27
28Once your rsyslog aggregators are ready, you can relate them with your forwarder.
29
30 juju add-relation rsyslog-forwarder-ha primary-rsyslog
31
32Once you have your rsyslog ports opened. You can change try this charm by running
33
34 juju ssh mysql/0
35
36Then create a logger entry
37
38 mysql/0$ logger "testing"
39
40Then see if the entry is being forwarded correctly:
41
42 juju ssh primary-rsyslog/0
43 primary-rsyslog/0$ grep testing /var/log/syslog
44
45# Contact Information
46
47 Mantainer: jorge.niedbalski@canonical.com
048
=== added file 'icon.svg'
--- icon.svg 1970-01-01 00:00:00 +0000
+++ icon.svg 2014-09-03 14:06:14 +0000
@@ -0,0 +1,300 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4<svg
5 xmlns:dc="http://purl.org/dc/elements/1.1/"
6 xmlns:cc="http://creativecommons.org/ns#"
7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8 xmlns:svg="http://www.w3.org/2000/svg"
9 xmlns="http://www.w3.org/2000/svg"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 width="96"
13 height="96"
14 id="svg6517"
15 version="1.1"
16 inkscape:version="0.48.4 r9939"
17 sodipodi:docname="icon.svg">
18 <defs
19 id="defs6519">
20 <linearGradient
21 id="Background">
22 <stop
23 id="stop4178"
24 offset="0"
25 style="stop-color:#b8b8b8;stop-opacity:1" />
26 <stop
27 id="stop4180"
28 offset="1"
29 style="stop-color:#c9c9c9;stop-opacity:1" />
30 </linearGradient>
31 <filter
32 style="color-interpolation-filters:sRGB;"
33 inkscape:label="Inner Shadow"
34 id="filter1121">
35 <feFlood
36 flood-opacity="0.59999999999999998"
37 flood-color="rgb(0,0,0)"
38 result="flood"
39 id="feFlood1123" />
40 <feComposite
41 in="flood"
42 in2="SourceGraphic"
43 operator="out"
44 result="composite1"
45 id="feComposite1125" />
46 <feGaussianBlur
47 in="composite1"
48 stdDeviation="1"
49 result="blur"
50 id="feGaussianBlur1127" />
51 <feOffset
52 dx="0"
53 dy="2"
54 result="offset"
55 id="feOffset1129" />
56 <feComposite
57 in="offset"
58 in2="SourceGraphic"
59 operator="atop"
60 result="composite2"
61 id="feComposite1131" />
62 </filter>
63 <filter
64 style="color-interpolation-filters:sRGB;"
65 inkscape:label="Drop Shadow"
66 id="filter950">
67 <feFlood
68 flood-opacity="0.25"
69 flood-color="rgb(0,0,0)"
70 result="flood"
71 id="feFlood952" />
72 <feComposite
73 in="flood"
74 in2="SourceGraphic"
75 operator="in"
76 result="composite1"
77 id="feComposite954" />
78 <feGaussianBlur
79 in="composite1"
80 stdDeviation="1"
81 result="blur"
82 id="feGaussianBlur956" />
83 <feOffset
84 dx="0"
85 dy="1"
86 result="offset"
87 id="feOffset958" />
88 <feComposite
89 in="SourceGraphic"
90 in2="offset"
91 operator="over"
92 result="composite2"
93 id="feComposite960" />
94 </filter>
95 <clipPath
96 clipPathUnits="userSpaceOnUse"
97 id="clipPath873">
98 <g
99 transform="matrix(0,-0.66666667,0.66604479,0,-258.25992,677.00001)"
100 id="g875"
101 inkscape:label="Layer 1"
102 style="fill:#ff00ff;fill-opacity:1;stroke:none;display:inline">
103 <path
104 style="fill:#ff00ff;fill-opacity:1;stroke:none;display:inline"
105 d="m 46.702703,898.22775 50.594594,0 C 138.16216,898.22775 144,904.06497 144,944.92583 l 0,50.73846 c 0,40.86071 -5.83784,46.69791 -46.702703,46.69791 l -50.594594,0 C 5.8378378,1042.3622 0,1036.525 0,995.66429 L 0,944.92583 C 0,904.06497 5.8378378,898.22775 46.702703,898.22775 Z"
106 id="path877"
107 inkscape:connector-curvature="0"
108 sodipodi:nodetypes="sssssssss" />
109 </g>
110 </clipPath>
111 <filter
112 inkscape:collect="always"
113 id="filter891"
114 inkscape:label="Badge Shadow">
115 <feGaussianBlur
116 inkscape:collect="always"
117 stdDeviation="0.71999962"
118 id="feGaussianBlur893" />
119 </filter>
120 </defs>
121 <sodipodi:namedview
122 id="base"
123 pagecolor="#ffffff"
124 bordercolor="#666666"
125 borderopacity="1.0"
126 inkscape:pageopacity="0.0"
127 inkscape:pageshadow="2"
128 inkscape:zoom="4.0745362"
129 inkscape:cx="22.12049"
130 inkscape:cy="29.384032"
131 inkscape:document-units="px"
132 inkscape:current-layer="layer1"
133 showgrid="true"
134 fit-margin-top="0"
135 fit-margin-left="0"
136 fit-margin-right="0"
137 fit-margin-bottom="0"
138 inkscape:window-width="2556"
139 inkscape:window-height="1058"
140 inkscape:window-x="1440"
141 inkscape:window-y="18"
142 inkscape:window-maximized="1"
143 showborder="true"
144 showguides="true"
145 inkscape:guide-bbox="true"
146 inkscape:showpageshadow="false">
147 <inkscape:grid
148 type="xygrid"
149 id="grid821" />
150 <sodipodi:guide
151 orientation="1,0"
152 position="16,48"
153 id="guide823" />
154 <sodipodi:guide
155 orientation="0,1"
156 position="64,80"
157 id="guide825" />
158 <sodipodi:guide
159 orientation="1,0"
160 position="80,40"
161 id="guide827" />
162 <sodipodi:guide
163 orientation="0,1"
164 position="64,16"
165 id="guide829" />
166 </sodipodi:namedview>
167 <metadata
168 id="metadata6522">
169 <rdf:RDF>
170 <cc:Work
171 rdf:about="">
172 <dc:format>image/svg+xml</dc:format>
173 <dc:type
174 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
175 <dc:title />
176 </cc:Work>
177 </rdf:RDF>
178 </metadata>
179 <g
180 inkscape:label="BACKGROUND"
181 inkscape:groupmode="layer"
182 id="layer1"
183 transform="translate(268,-635.29076)"
184 style="display:inline">
185 <path
186 style="fill:#aa4400;fill-opacity:1;stroke:none;display:inline;filter:url(#filter1121)"
187 d="m -268,700.15563 0,-33.72973 c 0,-27.24324 3.88785,-31.13513 31.10302,-31.13513 l 33.79408,0 c 27.21507,0 31.1029,3.89189 31.1029,31.13513 l 0,33.72973 c 0,27.24325 -3.88783,31.13514 -31.1029,31.13514 l -33.79408,0 C -264.11215,731.29077 -268,727.39888 -268,700.15563 Z"
188 id="path6455"
189 inkscape:connector-curvature="0"
190 sodipodi:nodetypes="sssssssss" />
191 <text
192 xml:space="preserve"
193 style="font-size:42.68685913px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
194 x="-244.57175"
195 y="732.38995"
196 id="text3019"
197 sodipodi:linespacing="125%"
198 transform="scale(1.0671715,0.93705651)"><tspan
199 sodipodi:role="line"
200 id="tspan3021"
201 x="-244.57175"
202 y="732.38995"
203 style="font-size:19.20908737px;font-weight:bold;fill:#f9f9f9;-inkscape-font-specification:Sans Bold">rsyslog</tspan><tspan
204 sodipodi:role="line"
205 x="-244.57175"
206 y="753.20264"
207 id="tspan3023"
208 style="font-size:19.20908737px;fill:#ffb380"><tspan
209 style="font-size:16px"
210 id="tspan3024"> </tspan></tspan></text>
211 <text
212 xml:space="preserve"
213 style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
214 x="-203"
215 y="710.29077"
216 id="text3026"
217 sodipodi:linespacing="125%"><tspan
218 sodipodi:role="line"
219 id="tspan3028"
220 x="-203"
221 y="710.29077"
222 style="font-size:12px;font-weight:bold;fill:#ffb380;-inkscape-font-specification:Sans Bold" /></text>
223 </g>
224 <g
225 inkscape:groupmode="layer"
226 id="layer3"
227 inkscape:label="PLACE YOUR PICTOGRAM HERE"
228 style="display:inline" />
229 <g
230 inkscape:groupmode="layer"
231 id="layer2"
232 inkscape:label="BADGE"
233 style="display:none"
234 sodipodi:insensitive="true">
235 <g
236 style="display:inline"
237 transform="translate(-340.00001,-581)"
238 id="g4394"
239 clip-path="none">
240 <g
241 id="g855">
242 <g
243 inkscape:groupmode="maskhelper"
244 id="g870"
245 clip-path="url(#clipPath873)"
246 style="opacity:0.6;filter:url(#filter891)">
247 <path
248 transform="matrix(1.4999992,0,0,1.4999992,-29.999795,-237.54282)"
249 d="m 264,552.36218 c 0,6.62742 -5.37258,12 -12,12 -6.62742,0 -12,-5.37258 -12,-12 0,-6.62741 5.37258,-12 12,-12 6.62742,0 12,5.37259 12,12 z"
250 sodipodi:ry="12"
251 sodipodi:rx="12"
252 sodipodi:cy="552.36218"
253 sodipodi:cx="252"
254 id="path844"
255 style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
256 sodipodi:type="arc" />
257 </g>
258 <g
259 id="g862">
260 <path
261 sodipodi:type="arc"
262 style="color:#000000;fill:#f5f5f5;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
263 id="path4398"
264 sodipodi:cx="252"
265 sodipodi:cy="552.36218"
266 sodipodi:rx="12"
267 sodipodi:ry="12"
268 d="m 264,552.36218 c 0,6.62742 -5.37258,12 -12,12 -6.62742,0 -12,-5.37258 -12,-12 0,-6.62741 5.37258,-12 12,-12 6.62742,0 12,5.37259 12,12 z"
269 transform="matrix(1.4999992,0,0,1.4999992,-29.999795,-238.54282)" />
270 <path
271 transform="matrix(1.25,0,0,1.25,33,-100.45273)"
272 d="m 264,552.36218 c 0,6.62742 -5.37258,12 -12,12 -6.62742,0 -12,-5.37258 -12,-12 0,-6.62741 5.37258,-12 12,-12 6.62742,0 12,5.37259 12,12 z"
273 sodipodi:ry="12"
274 sodipodi:rx="12"
275 sodipodi:cy="552.36218"
276 sodipodi:cx="252"
277 id="path4400"
278 style="color:#000000;fill:#dd4814;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
279 sodipodi:type="arc" />
280 <path
281 sodipodi:type="star"
282 style="color:#000000;fill:#f5f5f5;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
283 id="path4459"
284 sodipodi:sides="5"
285 sodipodi:cx="666.19574"
286 sodipodi:cy="589.50385"
287 sodipodi:r1="7.2431178"
288 sodipodi:r2="4.3458705"
289 sodipodi:arg1="1.0471976"
290 sodipodi:arg2="1.6755161"
291 inkscape:flatsided="false"
292 inkscape:rounded="0.1"
293 inkscape:randomized="0"
294 d="m 669.8173,595.77657 c -0.39132,0.22593 -3.62645,-1.90343 -4.07583,-1.95066 -0.44938,-0.0472 -4.05653,1.36297 -4.39232,1.06062 -0.3358,-0.30235 0.68963,-4.03715 0.59569,-4.47913 -0.0939,-0.44198 -2.5498,-3.43681 -2.36602,-3.8496 0.18379,-0.41279 4.05267,-0.59166 4.44398,-0.81759 0.39132,-0.22593 2.48067,-3.48704 2.93005,-3.4398 0.44938,0.0472 1.81505,3.67147 2.15084,3.97382 0.3358,0.30236 4.08294,1.2817 4.17689,1.72369 0.0939,0.44198 -2.9309,2.86076 -3.11469,3.27355 -0.18379,0.41279 0.0427,4.27917 -0.34859,4.5051 z"
295 transform="matrix(1.511423,-0.16366377,0.16366377,1.511423,-755.37346,-191.93651)" />
296 </g>
297 </g>
298 </g>
299 </g>
300</svg>
0301
=== modified file 'test_requirements.txt'
--- test_requirements.txt 2014-05-01 15:57:47 +0000
+++ test_requirements.txt 2014-09-03 14:06:14 +0000
@@ -3,4 +3,4 @@
3coverage3coverage
4mock==1.0.14mock==1.0.1
5nose==1.3.15nose==1.3.1
6https://launchpad.net/python-apt/main/0.7.8/+download/python-apt-0.8.5.tar.gz6python_apt

Subscribers

People subscribed via source and target branches