charm-tools
charm-tools copied to clipboard
charm build - not merging configs from lower layers
Checklist
- [X] Confirmed this is an issue with charm-tools, not charmstore-client
- [X ] Provide versions of tools used
- [ X] Described the feature or ways to replicate the issue
What version am I running?
I ran the following command: charm version
and got the following ouput:
charm 2.1.1-0ubuntu1
charm-tools 2.1.2
I am using: Ubuntu Xenial
Issue/Feature
- Config default values defined in my layer's config.yaml don't seem to be making it into the built charm.
I expect/expected the following
I expected to see my config default values defined in my layer's config.yaml end up in my built charm's config.yaml.
What I got
The config definitions seem to make it into my built charm's config.yaml, just not the specified default values from layer-gitlab config.yaml. <- This is strikingly odd, because when I include another layer, say juju-layer-node, following which build my top layer into a charm, I get the default configs for layer-apt, defined by layer-node in my built charm. This is different than what happens when I build my charm-gitlab, which includes layer-gitlab, which has the default values specified to satisfy the params for the layer-apt.
@jamesbeedy for clarity, can you please link the "top" layer in play here? ie. the thing you issue charm build against? tia!
@ryan-beisner https://github.com/jamesbeedy/charm-gitlab