Merge lp:~nextrevision/charms/precise/openvpn-as/trunk into lp:charms/openvpn-as

Proposed by John Patterson
Status: Merged
Merged at revision: 8
Proposed branch: lp:~nextrevision/charms/precise/openvpn-as/trunk
Merge into: lp:charms/openvpn-as
Diff against target: 31 lines (+4/-2)
2 files modified
config.yaml (+2/-0)
hooks/install (+2/-2)
To merge this branch: bzr merge lp:~nextrevision/charms/precise/openvpn-as/trunk
Reviewer Review Type Date Requested Status
Marco Ceppi (community) Approve
charmers Pending
Review via email: mp+201310@code.launchpad.net

Description of the change

Updated the OpenVPN-AS package version to latest and removed the revision file.

To post a comment you must log in.
Revision history for this message
Marco Ceppi (marcoceppi) wrote :

Hey John! Thanks for submitting this change and continuing to maintain the charm!

While this change looks fine, some new charm policies have been added since this was submitted to the store. Running `juju charm proof` from the charm-tools package (available in ppa:juju/stable) I get the following output:

W: config.yaml: option license does not have the keys: default
W: config.yaml: option fqdn does not have the keys: default

These are very minor and easily corrected warnings. Going forward all configuration options should have a default key, if the default is to be "empty" then just set it to the appropriate empty value for it's type. (IE: default for a string would be ""). Without these defaults, the charm may behave erratically in the juju gui.

Unfortuantely, as these are warnings, this is blocking the merge from being accepted.

Long story short, this LGTM and is a +1 as soon as the proof errors are resolved. As such, I've had to make this as "Needs Fixing", once you've addressed the above please select the "Request another review" button and request a review from "charmers". This will re-add your merge request to our review queue and we'll be able to re-test!

If you have any questions you can always reply here, join us in #juju on freenode.net, ask a question tagged juju on askubuntu.com, or send us an email <email address hidden>

Thanks again for your continued contributions!

review: Needs Fixing
8. By John Patterson

Updated MD5 for AS package; set default, empty values for all variables

Revision history for this message
Marco Ceppi (marcoceppi) wrote :

Thanks for the quick fix! This LGTM +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'config.yaml'
2--- config.yaml 2013-05-22 23:11:55 +0000
3+++ config.yaml 2014-01-16 14:59:08 +0000
4@@ -2,6 +2,7 @@
5 fqdn:
6 type: string
7 description: FQDN of the server, defaults to unit's private address
8+ default: ""
9 port:
10 type: int
11 default: 443
12@@ -25,4 +26,5 @@
13 license:
14 type: string
15 description: optional license key acquired from openvpn.net to allow for greater than two clients; see https://openvpn.net/index.php/access-server/license-key.html for more details
16+ default: ""
17
18
19=== modified file 'hooks/install'
20--- hooks/install 2013-05-22 23:11:55 +0000
21+++ hooks/install 2014-01-16 14:59:08 +0000
22@@ -4,8 +4,8 @@
23 # initially configure without user input. Finally, restart the
24 # OpenVPN-AS service.
25
26-LURL="http://swupdate.openvpn.org/as/openvpn-as-1.8.5-Ubuntu12.amd_64.deb"
27-LHASH="e953fc05ad37bcfa2b01c6ba6cca0d36"
28+LURL="http://swupdate.openvpn.org/as/openvpn-as-2.0.3-Ubuntu12.amd_64.deb"
29+LHASH="0aa00d02b318548441d5097deb49d8ba"
30
31 juju-log "Downloading required components"
32

Subscribers

People subscribed via source and target branches

to all changes: