Merge lp:~marcoceppi/charms/trusty/landscape-client/fix-proof into lp:charms/trusty/landscape-client

Proposed by Marco Ceppi
Status: Rejected
Rejected by: Adam Collard
Proposed branch: lp:~marcoceppi/charms/trusty/landscape-client/fix-proof
Merge into: lp:charms/trusty/landscape-client
Diff against target: 118 lines (+21/-0)
2 files modified
config.yaml (+19/-0)
metadata.yaml (+2/-0)
To merge this branch: bzr merge lp:~marcoceppi/charms/trusty/landscape-client/fix-proof
Reviewer Review Type Date Requested Status
Adam Collard Needs Information
Review via email: mp+234026@code.launchpad.net

Description of the change

Fix proof errors

To post a comment you must log in.
Revision history for this message
Adam Collard (adam-collard) wrote :

Thanks for the branch. Getting the client charm to pass the charm "lint" is great. What testing has happened with this change? How does the client charm cope with these new defaults?

I see a bunch of these charm updates adding empty defaults, with the only rationale being "charm proof". It would be useful to know the drive behind this.

review: Needs Information
Revision history for this message
Adam Collard (adam-collard) wrote :

Note that the docs[1] still say that the default: key is optional.

https://juju.ubuntu.com/docs/authors-charm-config.html#charm-configuration

Unmerged revisions

45. By Marco Ceppi

Fixes proof

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 2014-05-14 06:32:39 +0000
3+++ config.yaml 2014-09-09 23:19:58 +0000
4@@ -14,25 +14,30 @@
5 The directory to store data files in (default:
6 '/var/lib/landscape/client/').
7 type: string
8+ default:
9 log-dir:
10 description: |
11 The directory to write log files to (default:
12 '/var/log/landscape').
13 type: string
14+ default:
15 log-level:
16 description: |
17 One of debug, info, warning, error or critical.
18 type: string
19+ default:
20 url:
21 description: |
22 The message server URL to connect to. Normally
23 https://fqdn/message-system.
24 type: string
25+ default:
26 ping-url:
27 description: |
28 The ping server URL to perform lightweight exchange initiation with.
29 Normally http://fqdn/ping.
30 type: string
31+ default:
32 ssl-public-key:
33 description: |
34 The CA certificate to verify the server certificate with. This can be
35@@ -40,56 +45,70 @@
36 prefixed with "base64:". This config is only used if the message server
37 URL given above starts with https.
38 type: string
39+ default:
40 server-autodiscover:
41 description: |
42 Enable server autodiscovery.
43 type: boolean
44+ default: False
45 autodiscover-srv-query-string:
46 description: |
47 Autodiscovery string for DNS SRV queries
48 type: string
49+ default:
50 autodiscover-a-query-string:
51 description: |
52 Autodiscovery string for DNS A queries
53 type: string
54+ default:
55 account-name:
56 description: |
57 The account this computer belongs to.
58 type: string
59+ default:
60 registration-key:
61 description: |
62 The account-wide key used for registering clients.
63 type: string
64+ default:
65 exchange-interval:
66 description: |
67 The number of seconds between server exchanges.
68 type: int
69+ default:
70 urgent-exchange-interval:
71 description: |
72 The number of seconds between urgent server exchanges.
73 type: int
74+ default:
75 ping-interval:
76 description: |
77 The number of seconds between pings.
78 type: int
79+ default:
80 http-proxy:
81 description: |
82 The URL of the HTTP proxy, if one is needed.
83 type: string
84+ default:
85 https-proxy:
86 description: |
87 The URL of the HTTPS proxy, if one is needed.
88 type: string
89+ default:
90 tags:
91 description: |
92 Comma separated list of tag names to be sent to the server.
93 type: string
94+ default:
95 script-users:
96 description: |
97 A comma-separated list of users to allow scripts to run. To allow
98 scripts to be run by any user, enter: ALL
99 type: string
100+ default:
101 include-manager-plugins:
102 description: |
103 A comma-separated list of manager plugins to load.
104 type: string
105+ default:
106
107=== modified file 'metadata.yaml'
108--- metadata.yaml 2014-01-28 17:53:33 +0000
109+++ metadata.yaml 2014-09-09 23:19:58 +0000
110@@ -7,6 +7,8 @@
111 account. This package provides the Landscape client and requires a
112 Landscape account.
113 subordinate: true
114+categories:
115+ - misc
116 requires:
117 container:
118 interface: juju-info

Subscribers

People subscribed via source and target branches