https://github.com/aergonaut/chef-project
https://github.com/aergonaut/chef-project
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aergonaut/chef-project
- Owner: aergonaut
- License: other
- Created: 2014-04-02T15:59:48.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-02T15:59:55.000Z (about 11 years ago)
- Last Synced: 2025-02-09T19:29:43.804Z (3 months ago)
- Language: Ruby
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chef-project
Provides an easy way to configure projects for development.
## Resources/Providers
### project
This will clone the source repo identified in the lwrp into the cookbook's destination directory and also ensure the listed services are enabled.
Enabling nginx will give the project a .dev vhost listening on a socket in the cookbook's socket directory.
#### Example
```ruby
project "coupa_development" do
source "coupa/coupa_development"
ruby "1.9.3"
mysql true
redis true
nginx true
end
```#### Actions
Action | Description
--------|------------
install | **Default.** Clone the repository and ensure the services are activated.#### Attributes
Attribute | Description
----------|----
directory | **Name attribute.** The destination directory.
source | Git repo to clone. Supports `user/repo` shorthand for GitHub.
ruby | Ruby version to install.
mysql | Enable MySQL.
postgres | Enable Postgres.
redis | Enable Redis.
nginx | Setup nginx .dev vhost.