Client must import configuration for standalone server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Gustavo Niemeyer | ||
Landscape Server |
Fix Released
|
High
|
Gustavo Niemeyer | ||
landscape-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Now that we're introducing the standalone server, a problem we already had regarding the differences of configuration of the staging vs. the production servers is becoming a more serious issue. Besides having to configure custom URLs for each client, people will potentially also have to import the SSL key to communicate with an internal self-signed HTTPS server.
The attached branch includes a way to deal with that situation nicely. It offers a new --import option in the client, which allows importing the configuration both from a local file, or from a remote URL. For easing the handling of certificates, it will also verify if the ssl_public_key option is set to a value prefixed by base64, in which case it will decode the string following it and will save the decoded value in a file named the same way as the configuration file plus the ".ssl_public_key" suffix.
Changed in landscape: | |
assignee: | nobody → niemeyer |
importance: | Medium → Undecided |
milestone: | mountainview → mountainview-pre-7 |
status: | New → In Progress |
Changed in landscape: | |
importance: | Undecided → High |
Changed in landscape-client: | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in landscape: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
assignee: | nobody → niemeyer |
status: | In Progress → Fix Committed |
Changed in landscape: | |
milestone: | mountainview-pre-7 → mountainview-pre-8 |
Changed in landscape: | |
status: | Fix Committed → Fix Released |
Changed in landscape: | |
milestone: | mountainview-pre-8 → mountainview |
status: | Fix Released → Fix Committed |
Changed in landscape: | |
status: | Fix Committed → Fix Released |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
This is great, +1
+ help="Filename or URL to import configuration from.")
I'd make it clear that it only imports the initial configuration from there, as a "bootstrap" mechanism.
Other than that, it's great :-)