registration key does not get set if there is an empty line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
New
|
Undecided
|
Unassigned |
Bug Description
When setting the registration key through the file, juju introduces an empty line in the configuration. Eventually, the registration key doesn't get set on landscape server.
Bundle:
vars:
- ®istration-key include-
applications:
landscape-server:
charm: landscape-server
num_units: 3
options:
registrat
$ cat secrets/
landscapekey
<no new line>
$juju config landscape-client registration-key
landscapekey
<new line>
$ juju config -m landscape landscape-server registration_key
landscapekey
<new line>
The new line is also present in /etc/landscape/
Landscape server version: 23.03
Charm revision: 102
information type: | Proprietary → Public |
description: | updated |
affects: | landscape → landscape-charm |