Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the bash_it recipe's default custom plugins are not easily overridable #11

Open
codeword opened this issue Jan 28, 2016 · 0 comments
Open

Comments

@codeword
Copy link
Contributor

the bash_it recipe looks for custom plugins in the attributes node bash_it -> custom_plugins and defines a default set as

custom_plugins:
  sprout-base:
    - pluginA
    - pluginB

but chef only overrides defaults at the leaf nodes, so in soloist

custom_plugins:
  my-plugins:
    - pluginC

results in pluginA, pluginB and pluginC all being installed.

If a user doesn't want pluginA or pluginB installed they would need to set sprout-base to an empty array.

custom_plugins:
  my-plugins:
    - my-plugin
  sprout-base: []

which is very surprising behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant