Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nickpegg/cookbook-np-web
Personal Chef cookbook to set up websites under nginx
https://github.com/nickpegg/cookbook-np-web
Last synced: 17 days ago
JSON representation
Personal Chef cookbook to set up websites under nginx
- Host: GitHub
- URL: https://github.com/nickpegg/cookbook-np-web
- Owner: nickpegg
- License: mit
- Created: 2016-06-19T04:31:31.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2022-05-08T00:51:11.000Z (over 2 years ago)
- Last Synced: 2024-10-31T19:15:10.303Z (2 months ago)
- Language: Ruby
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# np-web
[![Tests](https://github.com/nickpegg/cookbook-np-web/actions/workflows/tests.yml/badge.svg)](https://github.com/nickpegg/cookbook-np-web/actions/workflows/tests.yml)
Sets up nginx and provides a `np_web_site` resource to set up all the base
directories (web root, logs, etc.).The np-web::static_sites does everything necessary to set up an Array of static
sites as defined in the `node['np-web']['static_sites']` attribute.## Personal Cookbook Notice
This is a personal cookbook and I haven't really taken the care to generalize
it. It's public in hopes that maybe it's of use to someone, either directly
with its content or seeing how I do things with Chef.## Testing
It's assumed that you have chefdk installed.```bash
chef exec rake
chef exec kitchen test
```