Blueprint Configsets
Blueprint configsets are added by blueprints. This allows blueprint to prepackaged configsets, so you don’t have to worry about adding them to your project configs/BLUEPRINT/configsets
files.
Example
The blueprint specifies configsets to use in its config/configsets.rb
file. Example:
app/blueprints/ec2/config/configsets.rb:
configset("httpd")
This means the ec2 blueprint will use the httpd configset to install and run the httpd server.
List Blueprint Configsets
Use the lono configsets BLUEPRINT command to see what configsets the blueprint will use.
$ lono configsets ec2
Configsets used by ec2 blueprint:
+-------+----------------------+---------+---------+
| Name | Path | Type | From |
+-------+----------------------+---------+---------+
| httpd | app/configsets/httpd | project | project |
+-------+----------------------+---------+---------+
$
Blueprint Configset Lookup Precedence
The blueprint configset code can be in different locations. It’s similar to how LOAD_PATH
works. The search order for these locations are:
- BLUEPRINT/app/configsets - prepackaged with the blueprint
- PROJECT/vendor/configsets - vendorized configset, provides you control over the configset
- PROJECT/Gemfile - configets as gems, provides you control over the configset
- MATERIALIZED - materialized as gems. lono downloads and “materializes” the configset if necessary.
This allows blueprint configsets to be overrideable and provides you with more control if necessary.
Pro tip: Use the <- and -> arrow keys to move back and forward.
Edit this page
See a typo or an error? You can improve this page. This website is available on GitHub and contributions are encouraged and welcomed. We love pull requests from you!
- Suggest an edit to this page (here's the contributing guide).
- Open an issue about this page to report a problem.