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

Allow sites to declare utility dependencies #2302

Open
tomjn opened this issue Nov 16, 2020 · 0 comments
Open

Allow sites to declare utility dependencies #2302

tomjn opened this issue Nov 16, 2020 · 0 comments

Comments

@tomjn
Copy link
Member

tomjn commented Nov 16, 2020

Is your feature request related to a problem? Please describe.

A site might require a piece of software to function, but if the user has not added the relevant utility it might fail

Describe the solution you'd like

The ability to declare a utility as a dependency in a sites config/config.yml entry, e.g.

  phpeight:
    nginx_upstream: php80
    repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
    hosts:
      - phpeight.test
    requires:
      - core/php80

The php80 provisioner in the core utility would be added to the list of utilities to run as a result.

Additional context

This would simplify the use and documentation of extra PHP versions, as well as other things. E.g. we could move memcached to a utility and it would only be installed if a site requires it

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

No branches or pull requests

1 participant