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

minor fixes have been done to documentation and motd #475

Open
wants to merge 1 commit into
base: next-release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cookbooks/motd/templates/default/motd-app-util.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ sudo gem install tins -v 1.6.0 # For Ruby 1.9.3 or
sudo gem list --no-installed bundler && gem install bundler # Install bundler if not installed yet
sudo gem install jazor
sudo jazor /etc/chef/dna.json
sudo jazor /etc/chef/dna.json 'applications.map {|app, data| [app, data.keys]}'
sudo jazor /etc/chef/dna.json 'dna.applications.map {|app, data| [app, data.keys]}'
2 changes: 1 addition & 1 deletion cookbooks/motd/templates/default/motd-solo.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ sudo gem install tins -v 1.6.0 # For Ruby 1.9.3 or
sudo gem list --no-installed bundler && gem install bundler # Install bundler if not installed yet
sudo gem install jazor
sudo jazor /etc/chef/dna.json
sudo jazor /etc/chef/dna.json 'applications.map {|app, data| [app, data.keys]}'
sudo jazor /etc/chef/dna.json 'dna.applications.map {|app, data| [app, data.keys]}'
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Our main recipes have the `env_vars` recipe but it is not included by default. T

git clone https://github.com/engineyard/ey-cookbooks-stable-v5
cd ey-cookbooks-stable-v5
cp custom-cookbooks/fail2ban/cookbooks/custom-env_vars /path/to/app/cookbooks/
cp custom-cookbooks/env_vars/cookbooks/custom-env_vars /path/to/app/cookbooks/
```

4. Download the ey-core gem on your local machine and upload the recipes
Expand Down
4 changes: 2 additions & 2 deletions docs/how_it_works.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Please use this repository:

### 3. As a reference for implementing custom cookbooks ###
* [Customizing your environment with Chef](#customize-your-environment-with-custom-chef)
* Use the [redis](custom-cookbooks/redis) or [hello_world](custom-cookbooks/hello_world) examples for a quick reference.
* Use the [redis](../custom-cookbooks/redis) or [hello_world](../custom-cookbooks/hello_world) examples for a quick reference.

### 4. As a way to contribute back. ###
* Bugs fixes, New features, or basic hooks to simplify your own customizations are all welcome.
Expand All @@ -36,7 +36,7 @@ Throw out your existing understanding of how it works! Previous versions (and th

Engine Yard's Chef stack provides the platform upon which your applications run. Based on the configuration options you choose when creating your environment, Chef will do the work of setting up things like: haproxy, nginx, mysql, and unicorn. We call this setup an "Apply". Whenever you make a configuration change such as adding an SSL certificate, you must "Apply" those changes into reality on your instances. The Chef run may create or modify files and install or upgrade software packages as a result.

The file `/etc/dna.json` is the main input to the Chef run, telling the cookbooks what kind of instance they are running on (such as app or DB), and what other servers and services are connected. This repository, and specifically the `cookbooks` folder comprise the main program passed to `chef-solo`.
The file `/etc/chef/dna.json` is the main input to the Chef run, telling the cookbooks what kind of instance they are running on (such as app or DB), and what other servers and services are connected. This repository, and specifically the `cookbooks` folder comprise the main program passed to `chef-solo`.

## Customize your environment with Custom Chef ##

Expand Down