Skip to content
Permalink
Browse files

Rename examples to custom-cookbooks

  • Loading branch information...
radamanthus committed Feb 23, 2017
1 parent cf27f9a commit 4b9cb19a43e1df0781f18b1bad7f3737e6266749
Showing with 61 additions and 67 deletions.
  1. +2 −2 README.md
  2. 0 {examples → custom-cookbooks}/cron/.gitignore
  3. 0 {examples → custom-cookbooks}/cron/README.md
  4. +2 −2 {examples → custom-cookbooks}/cron/cookbooks/custom-cron/README.md
  5. 0 {examples → custom-cookbooks}/cron/cookbooks/custom-cron/attributes/default.rb
  6. 0 {examples → custom-cookbooks}/cron/cookbooks/custom-cron/metadata.rb
  7. 0 {examples → custom-cookbooks}/cron/cookbooks/custom-cron/recipes/default.rb
  8. 0 {examples → custom-cookbooks}/cron/cookbooks/ey-custom/metadata.rb
  9. 0 {examples → custom-cookbooks}/cron/cookbooks/ey-custom/recipes/after-main.rb
  10. +1 −2 {examples → custom-cookbooks}/delayed_job4/README.md
  11. +4 −4 {examples → custom-cookbooks}/delayed_job4/cookbooks/custom-delayed_job4/README.md
  12. 0 {examples → custom-cookbooks}/delayed_job4/cookbooks/custom-delayed_job4/attributes/default.rb
  13. 0 {examples → custom-cookbooks}/delayed_job4/cookbooks/custom-delayed_job4/metadata.rb
  14. 0 {examples → custom-cookbooks}/delayed_job4/cookbooks/custom-delayed_job4/recipes/default.rb
  15. 0 {examples → custom-cookbooks}/delayed_job4/cookbooks/ey-custom/metadata.rb
  16. 0 {examples → custom-cookbooks}/delayed_job4/cookbooks/ey-custom/recipes/after-main.rb
  17. +1 −2 {examples → custom-cookbooks}/elasticsearch/README.md
  18. +3 −3 {examples → custom-cookbooks}/elasticsearch/cookbooks/custom-elasticsearch/README.md
  19. 0 {examples → custom-cookbooks}/elasticsearch/cookbooks/custom-elasticsearch/attributes/default.rb
  20. 0 {examples → custom-cookbooks}/elasticsearch/cookbooks/custom-elasticsearch/metadata.rb
  21. 0 {examples → custom-cookbooks}/elasticsearch/cookbooks/custom-elasticsearch/recipes/default.rb
  22. 0 {examples → custom-cookbooks}/elasticsearch/cookbooks/ey-custom/metadata.rb
  23. 0 {examples → custom-cookbooks}/elasticsearch/cookbooks/ey-custom/recipes/after-main.rb
  24. 0 {examples → custom-cookbooks}/hello_world/README.md
  25. 0 {examples → custom-cookbooks}/hello_world/cookbooks/ey-custom/metadata.rb
  26. 0 {examples → custom-cookbooks}/hello_world/cookbooks/ey-custom/recipes/before-main.rb
  27. 0 {examples → custom-cookbooks}/hello_world/cookbooks/hello_world/metadata.rb
  28. 0 {examples → custom-cookbooks}/hello_world/cookbooks/hello_world/recipes/default.rb
  29. 0 {examples → custom-cookbooks}/logrotate/README.md
  30. +2 −2 {examples → custom-cookbooks}/logrotate/cookbooks/custom-logrotate/README.md
  31. 0 {examples → custom-cookbooks}/logrotate/cookbooks/custom-logrotate/metadata.rb
  32. 0 {examples → custom-cookbooks}/logrotate/cookbooks/custom-logrotate/recipes/default.rb
  33. 0 {examples → custom-cookbooks}/logrotate/cookbooks/ey-custom/metadata.rb
  34. 0 {examples → custom-cookbooks}/logrotate/cookbooks/ey-custom/recipes/after-main.rb
  35. 0 {examples → custom-cookbooks}/memcached/README.md
  36. +5 −5 {examples → custom-cookbooks}/memcached/cookbooks/custom-memcached/README.md
  37. 0 {examples → custom-cookbooks}/memcached/cookbooks/custom-memcached/attributes/default.rb
  38. 0 {examples → custom-cookbooks}/memcached/cookbooks/custom-memcached/metadata.rb
  39. 0 {examples → custom-cookbooks}/memcached/cookbooks/custom-memcached/recipes/default.rb
  40. 0 {examples → custom-cookbooks}/memcached/cookbooks/ey-custom/metadata.rb
  41. 0 {examples → custom-cookbooks}/memcached/cookbooks/ey-custom/recipes/after-main.rb
  42. +3 −4 {examples → custom-cookbooks}/packages/cookbooks/custom-packages/README.md
  43. 0 {examples → custom-cookbooks}/packages/cookbooks/custom-packages/attributes/default.rb
  44. 0 {examples → custom-cookbooks}/packages/cookbooks/custom-packages/metadata.rb
  45. 0 {examples → custom-cookbooks}/packages/cookbooks/custom-packages/recipes/default.rb
  46. 0 {examples → custom-cookbooks}/packages/cookbooks/ey-custom/metadata.rb
  47. 0 {examples → custom-cookbooks}/packages/cookbooks/ey-custom/recipes/after-main.rb
  48. 0 {examples → custom-cookbooks}/papertrail/.gitignore
  49. 0 {examples → custom-cookbooks}/papertrail/README.md
  50. +3 −3 {examples → custom-cookbooks}/papertrail/cookbooks/custom-papertrail/README.md
  51. 0 {examples → custom-cookbooks}/papertrail/cookbooks/custom-papertrail/attributes/default.rb
  52. 0 {examples → custom-cookbooks}/papertrail/cookbooks/custom-papertrail/metadata.rb
  53. 0 {examples → custom-cookbooks}/papertrail/cookbooks/custom-papertrail/recipes/default.rb
  54. 0 {examples → custom-cookbooks}/papertrail/cookbooks/ey-custom/metadata.rb
  55. 0 {examples → custom-cookbooks}/papertrail/cookbooks/ey-custom/recipes/after-main.rb
  56. +1 −2 {examples → custom-cookbooks}/rails_secrets/README.md
  57. +4 −4 {examples → custom-cookbooks}/rails_secrets/cookbooks/custom-rails_secrets/README.md
  58. 0 {examples → custom-cookbooks}/rails_secrets/cookbooks/custom-rails_secrets/metadata.rb
  59. 0 {examples → custom-cookbooks}/rails_secrets/cookbooks/custom-rails_secrets/recipes/default.rb
  60. 0 ...om-cookbooks}/rails_secrets/cookbooks/custom-rails_secrets/templates/default/secrets.yml.todo.erb
  61. 0 {examples → custom-cookbooks}/rails_secrets/cookbooks/ey-custom/metadata.rb
  62. 0 {examples → custom-cookbooks}/rails_secrets/cookbooks/ey-custom/recipes/after-main.rb
  63. +1 −1 {examples → custom-cookbooks}/redis/README.md
  64. +3 −3 {examples → custom-cookbooks}/redis/cookbooks/custom-redis/README.md
  65. 0 {examples → custom-cookbooks}/redis/cookbooks/custom-redis/attributes/default.rb
  66. 0 {examples → custom-cookbooks}/redis/cookbooks/custom-redis/metadata.rb
  67. 0 {examples → custom-cookbooks}/redis/cookbooks/custom-redis/recipes/default.rb
  68. 0 {examples → custom-cookbooks}/redis/cookbooks/ey-custom/metadata.rb
  69. 0 {examples → custom-cookbooks}/redis/cookbooks/ey-custom/recipes/after-main.rb
  70. +1 −1 {examples → custom-cookbooks}/resque/README.md
  71. 0 {examples → custom-cookbooks}/resque/cookbooks/custom-redis/README.md
  72. 0 {examples → custom-cookbooks}/resque/cookbooks/custom-redis/attributes/default.rb
  73. 0 {examples → custom-cookbooks}/resque/cookbooks/custom-redis/metadata.rb
  74. 0 {examples → custom-cookbooks}/resque/cookbooks/custom-redis/recipes/default.rb
  75. +4 −4 {examples → custom-cookbooks}/resque/cookbooks/custom-resque/README.md
  76. 0 {examples → custom-cookbooks}/resque/cookbooks/custom-resque/attributes/default.rb
  77. 0 {examples → custom-cookbooks}/resque/cookbooks/custom-resque/metadata.rb
  78. 0 {examples → custom-cookbooks}/resque/cookbooks/custom-resque/recipes/default.rb
  79. 0 {examples → custom-cookbooks}/resque/cookbooks/ey-custom/metadata.rb
  80. 0 {examples → custom-cookbooks}/resque/cookbooks/ey-custom/recipes/after-main.rb
  81. +1 −1 {examples → custom-cookbooks}/resque_scheduler/README.md
  82. 0 {examples → custom-cookbooks}/resque_scheduler/cookbooks/custom-redis/README.md
  83. 0 {examples → custom-cookbooks}/resque_scheduler/cookbooks/custom-redis/attributes/default.rb
  84. 0 {examples → custom-cookbooks}/resque_scheduler/cookbooks/custom-redis/metadata.rb
  85. 0 {examples → custom-cookbooks}/resque_scheduler/cookbooks/custom-redis/recipes/default.rb
  86. +4 −4 {examples → custom-cookbooks}/resque_scheduler/cookbooks/custom-resque_scheduler/README.md
  87. 0 ...ples → custom-cookbooks}/resque_scheduler/cookbooks/custom-resque_scheduler/attributes/default.rb
  88. 0 {examples → custom-cookbooks}/resque_scheduler/cookbooks/custom-resque_scheduler/metadata.rb
  89. 0 {examples → custom-cookbooks}/resque_scheduler/cookbooks/custom-resque_scheduler/recipes/default.rb
  90. 0 {examples → custom-cookbooks}/resque_scheduler/cookbooks/ey-custom/metadata.rb
  91. 0 {examples → custom-cookbooks}/resque_scheduler/cookbooks/ey-custom/recipes/after-main.rb
  92. 0 {examples → custom-cookbooks}/sidekiq/.gitignore
  93. 0 {examples → custom-cookbooks}/sidekiq/README.md
  94. +4 −4 {examples → custom-cookbooks}/sidekiq/cookbooks/custom-sidekiq/README.md
  95. 0 {examples → custom-cookbooks}/sidekiq/cookbooks/custom-sidekiq/attributes/default.rb
  96. 0 {examples → custom-cookbooks}/sidekiq/cookbooks/custom-sidekiq/metadata.rb
  97. 0 {examples → custom-cookbooks}/sidekiq/cookbooks/custom-sidekiq/recipes/default.rb
  98. 0 {examples → custom-cookbooks}/sidekiq/cookbooks/ey-custom/metadata.rb
  99. 0 {examples → custom-cookbooks}/sidekiq/cookbooks/ey-custom/recipes/after-main.rb
  100. +1 −2 {examples → custom-cookbooks}/solr/README.md
  101. +4 −5 {examples → custom-cookbooks}/solr/cookbooks/custom-solr/README.md
  102. 0 {examples → custom-cookbooks}/solr/cookbooks/custom-solr/attributes/default.rb
  103. 0 {examples → custom-cookbooks}/solr/cookbooks/custom-solr/metadata.rb
  104. 0 {examples → custom-cookbooks}/solr/cookbooks/custom-solr/recipes/default.rb
  105. 0 {examples → custom-cookbooks}/solr/cookbooks/ey-custom/metadata.rb
  106. 0 {examples → custom-cookbooks}/solr/cookbooks/ey-custom/recipes/after-main.rb
  107. +1 −1 {examples → custom-cookbooks}/thinking_sphinx_3/cookbooks/README.md
  108. +3 −3 {examples → custom-cookbooks}/thinking_sphinx_3/cookbooks/custom-thinking_sphinx_3/README.md
  109. 0 ...es → custom-cookbooks}/thinking_sphinx_3/cookbooks/custom-thinking_sphinx_3/attributes/default.rb
  110. 0 {examples → custom-cookbooks}/thinking_sphinx_3/cookbooks/custom-thinking_sphinx_3/metadata.rb
  111. 0 ...mples → custom-cookbooks}/thinking_sphinx_3/cookbooks/custom-thinking_sphinx_3/recipes/default.rb
  112. 0 {examples → custom-cookbooks}/thinking_sphinx_3/cookbooks/ey-custom/metadata.rb
  113. 0 {examples → custom-cookbooks}/thinking_sphinx_3/cookbooks/ey-custom/recipes/after-main.rb
  114. 0 {examples → custom-cookbooks}/timezone/README.md
  115. +3 −3 {examples → custom-cookbooks}/timezone/cookbooks/custom-timezone/README.md
  116. 0 {examples → custom-cookbooks}/timezone/cookbooks/custom-timezone/attributes/default.rb
  117. 0 {examples → custom-cookbooks}/timezone/cookbooks/custom-timezone/metadata.rb
  118. 0 {examples → custom-cookbooks}/timezone/cookbooks/custom-timezone/recipes/default.rb
  119. 0 {examples → custom-cookbooks}/timezone/cookbooks/ey-custom/metadata.rb
  120. 0 {examples → custom-cookbooks}/timezone/cookbooks/ey-custom/recipes/after-main.rb
@@ -21,8 +21,8 @@ gem install ey-core
include_recipe 'custom-<recipe>'
```
- Create or edit `cookbooks/ey-custom/metadata.rb` and add the line `depends 'custom-<recipe>'`
- Download this repository and copy `examples/<recipe>/cookbooks/custom-<recipe>` to `cookbooks`. For example, to use memcached, copy `examples/memcached/cookbooks/custom-memcached ` to `cookbooks/custom-memcached`.
3. Alternative to step #2 above: use [ey-v5-starterkit](https://github.com/engineyard/ey-v5-starterkit) to automate copying the recipe from the examples directory
- Download this repository and copy `custom-cookbooks/<recipe>/cookbooks/custom-<recipe>` to `cookbooks`. For example, to use memcached, copy `custom-cookbooks/memcached/cookbooks/custom-memcached ` to `cookbooks/custom-memcached`.
3. Alternative to step #2 above: use [ey-v5-starterkit](https://github.com/engineyard/ey-v5-starterkit) to automate copying the recipe from the custom-cookbooks directory
4. To upload and apply the recipes, run

```
File renamed without changes.
File renamed without changes.
@@ -33,14 +33,14 @@ Yard.
depends 'custom-cron'
```

3. Copy `examples/packages/cookbooks/custom-cron` to `cookbooks/`
3. Copy `custom-cookbooks/packages/cookbooks/custom-cron` to `cookbooks/`

```
cd ~ # Change this to your preferred directory. Anywhere but inside the application
git clone https://github.com/engineyard/ey-cookbooks-stable-v5
cd ey-cookbooks-stable-v5
cp examples/packages/cookbooks/custom-packages /path/to/app/cookbooks/
cp custom-cookbooks/packages/cookbooks/custom-packages /path/to/app/cookbooks/
```

4. Download the ey-core gem on your local machine and upload the recipes
@@ -2,5 +2,4 @@

This example contains a complete cookbooks/ that you can use on the stable-v5 stack.

See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/examples/delayed_job4/cookbooks/custom-delayed_job4 for complete instructions.

See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/custom-cookbooks/delayed_job4/cookbooks/custom-delayed_job4 for complete instructions.
@@ -22,25 +22,25 @@ Our main recipes have the `delayed_job4` recipe but it is not included by defaul
depends 'custom-delayed_job4'
```

3. Copy `examples/delayed_job4/cookbooks/custom-delayed_job4` to `cookbooks/`
3. Copy `custom-cookbooks/delayed_job4/cookbooks/custom-delayed_job4` to `cookbooks/`

```
cd ~ # Change this to your preferred directory. Anywhere but inside the application
git clone https://github.com/engineyard/ey-cookbooks-stable-v5
cd ey-cookbooks-stable-v5
cp examples/delayed_job4/cookbooks/custom-delayed_job4 /path/to/app/cookbooks/
cp custom-cookbooks/delayed_job4/cookbooks/custom-delayed_job4 /path/to/app/cookbooks/
```

If you do not have `cookbooks/ey-custom` on your app repository, you can copy `examples/delayed_job4/cookbooks/ey-custom` to `/path/to/app/cookbooks`.
If you do not have `cookbooks/ey-custom` on your app repository, you can copy `custom-cookbooks/delayed_job4/cookbooks/ey-custom` to `/path/to/app/cookbooks`.

## Customizations

All customizations go to `cookbooks/custom-delayed_job4/attributes/default.rb`.

### Choose the instances that run the recipe

By default, the delayed_job4 recipe runs on a utility instance named `delayed_job`. You can change this using `node['dna']['instance_role']` and `node['dna']['instance_role'] `.
By default, the delayed_job4 recipe runs on a utility instance named `delayed_job`. You can change this using `node['dna']['instance_role']` and `node['dna']['instance_role'] `.

```ruby
# this is the default
@@ -2,5 +2,4 @@

This example contains a complete cookbooks/ that you can use on the stable-v5 stack.

See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/examples/elasticsearch/cookbooks/custom-elasticsearch for complete instructions.

See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/custom-cookbooks/elasticsearch/cookbooks/custom-elasticsearch for complete instructions.
@@ -21,14 +21,14 @@ Our main recipes have the `elasticsearch` recipe but it is not included by defau
depends 'custom-elasticsearch'
```

3. Copy `examples/elasticsearch/cookbooks/custom-elasticsearch ` to `cookbooks/`
3. Copy `custom-cookbooks/elasticsearch/cookbooks/custom-elasticsearch ` to `cookbooks/`

```
cd ~ # Change this to your preferred directory. Anywhere but inside the application
git clone https://github.com/engineyard/ey-cookbooks-stable-v5
cd ey-cookbooks-stable-v5
cp examples/elasticsearch/cookbooks/custom-elasticsearch /path/to/app/cookbooks/
cp custom-cookbooks/elasticsearch/cookbooks/custom-elasticsearch /path/to/app/cookbooks/
```

4. Download the ey-core gem on your local machine and upload the recipes
@@ -122,7 +122,7 @@ Plugins

Rudamentary plugin support is there in a definition. You will need to update the template for configuration options for said plugin; if you wish to improve this functionality please submit a pull request.

Examples:
custom-cookbooks:

``es_plugin "cloud-aws" do``
``action :install``
File renamed without changes.
File renamed without changes.
@@ -20,14 +20,14 @@ Our main recipes have the `logrotate` recipe that defines the `logrotate` resour
depends 'custom-logrotate'
```

3. Copy `examples/logrotate/cookbooks/custom-logrotate` to `cookbooks/`
3. Copy `custom-cookbooks/logrotate/cookbooks/custom-logrotate` to `cookbooks/`

```
cd ~ # Change this to your preferred directory. Anywhere but inside the application
git clone https://github.com/engineyard/ey-cookbooks-stable-v5
cd ey-cookbooks-stable-v5
cp examples/logrotate/cookbooks/custom-logrotate /path/to/app/cookbooks/
cp custom-cookbooks/logrotate/cookbooks/custom-logrotate /path/to/app/cookbooks/
```

4. Download the ey-core gem on your local machine and upload the recipes
File renamed without changes.
@@ -27,17 +27,17 @@ that is managed by Engine Yard.
depends 'custom-memcached'
```

3. Copy `examples/memcached/cookbooks/custom-memcached` to `cookbooks/`
3. Copy `custom-cookbooks/memcached/cookbooks/custom-memcached` to `cookbooks/`

```
cd ~ # Change this to your preferred directory. Anywhere but inside the
# application
git clone https://github.com/engineyard/ey-cookbooks-stable-v5
cd ey-cookbooks-stable-v5
cp examples/memcached/cookbooks/custom-memcached /path/to/app/cookbooks/
cp custom-cookbooks/memcached/cookbooks/custom-memcached /path/to/app/cookbooks/
```

4. Download the ey-core gem on your local machine and upload the recipes

```
@@ -108,7 +108,7 @@ This custom chef recipe has been verified using these test cases:
A. Do not enable the perform_install flag
A1. Chef run should not fail
A2. memcached should not be running
B. Enable the perform_install flag. Install from source
B. Enable the perform_install flag. Install from source
B1. Install on all app instances
B1.1. memcached should be running on app_master
B1.2. memcached should be running on app instances
@@ -20,14 +20,14 @@ Our main recipes have the `packages` recipe but it is not included by default. T
depends 'custom-packages'
```

3. Copy `examples/packages/cookbooks/custom-packages` to `cookbooks/`
3. Copy `custom-cookbooks/packages/cookbooks/custom-packages` to `cookbooks/`

```
cd ~ # Change this to your preferred directory. Anywhere but inside the application
git clone https://github.com/engineyard/ey-cookbooks-stable-v5
cd ey-cookbooks-stable-v5
cp examples/packages/cookbooks/custom-packages /path/to/app/cookbooks/
cp custom-cookbooks/packages/cookbooks/custom-packages /path/to/app/cookbooks/
```

4. Download the ey-core gem on your local machine and upload the recipes
@@ -55,7 +55,6 @@ default['packages'].tap do |packages|
end
```

The packages listed above are just examples; feel free to remove them.
The packages listed above are just custom-cookbooks; feel free to remove them.

The recipe will automatically unmask the package you listed. If a package in the list depends on a masked package, that masked package should appear on the list before the dependent package. In the example above, Elixir 1.2.5 depends on Erlang 18.3 which is a masked package, and so Erlang 18.3 is included in the list and appears before Elixir 1.2.5.

File renamed without changes.
File renamed without changes.
@@ -22,14 +22,14 @@ That is managed by Engine Yard.

depends 'custom-papertrail'

3. Copy `examples/sidekiq/cookbooks/custom-papertrail` to `cookbooks/`
3. Copy `custom-cookbooks/sidekiq/cookbooks/custom-papertrail` to `cookbooks/`

cd ~ # Change this to your preferred directory. Anywhere but inside the
# application

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

4. Download the ey-core gem on your local machine and upload the recipes

@@ -45,7 +45,7 @@ That is managed by Engine Yard.
default['papertrail']['port'] = 1235

If you do not have `cookbooks/ey-custom` on your app repository, you can copy
`examples/papertrail/cookbooks/ey-custom` to `/path/to/app/cookbooks` as well.
`custom-cookbooks/papertrail/cookbooks/ey-custom` to `/path/to/app/cookbooks` as well.

## Customizations

@@ -2,5 +2,4 @@

This example contains a complete cookbooks/ that you can use on the stable-v5 stack.

See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/examples/rails_secrets/cookbooks/custom-rails_secrets for complete instructions.

See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/custom-cookbooks/rails_secrets/cookbooks/custom-rails_secrets for complete instructions.
@@ -20,18 +20,18 @@ Our main recipes have the `rails_secrets` recipe but it is not included by defau
depends 'custom-rails_secrets'
```

3. Copy `examples/rails_secrets/cookbooks/custom-rails_secrets` to `cookbooks/`
3. Copy `custom-cookbooks/rails_secrets/cookbooks/custom-rails_secrets` to `cookbooks/`

```
cd ~ # Change this to your preferred directory. Anywhere but inside the application
git clone https://github.com/engineyard/ey-cookbooks-stable-v5
cd ey-cookbooks-stable-v5
cp examples/rails_secrets/cookbooks/custom-rails_secrets /path/to/app/cookbooks/
cp custom-cookbooks/rails_secrets/cookbooks/custom-rails_secrets /path/to/app/cookbooks/
```
4. For each application in the environment, create `/path/to/app/cookbooks/custom-rails_secrets/templates/default/secrets.yml.#{app_name}.erb`
4. For each application in the environment, create `/path/to/app/cookbooks/custom-rails_secrets/templates/default/secrets.yml.#{app_name}.erb`

If you do not have `cookbooks/ey-custom` on your app repository, you can copy `examples/rails_secrets/cookbooks/ey-custom` to `/path/to/app/cookbooks`.
If you do not have `cookbooks/ey-custom` on your app repository, you can copy `custom-cookbooks/rails_secrets/cookbooks/ey-custom` to `/path/to/app/cookbooks`.

## Customizations

@@ -2,5 +2,5 @@

This example contains a complete cookbooks/ that you can use on the stable-v5 stack.

See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/examples/redis/cookbooks/custom-redis for complete instructions.
See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/custom-cookbooks/redis/cookbooks/custom-redis for complete instructions.

@@ -21,14 +21,14 @@ Our main recipes have the `redis` recipe but it is not included by default. To u
depends 'custom-redis'
```

3. Copy `examples/redis/cookbooks/custom-redis ` to `cookbooks/`
3. Copy `custom-cookbooks/redis/cookbooks/custom-redis ` to `cookbooks/`

```
cd ~ # Change this to your preferred directory. Anywhere but inside the application
git clone https://github.com/engineyard/ey-cookbooks-stable-v5
cd ey-cookbooks-stable-v5
cp examples/redis/cookbooks/custom-redis /path/to/app/cookbooks/
cp custom-cookbooks/redis/cookbooks/custom-redis /path/to/app/cookbooks/
```

4. Download the ey-core gem on your local machine and upload the recipes
@@ -162,5 +162,5 @@ F. Verify Replication
F.2. Verify that the redis role of the redis instance is master
F.3. Verify that the redis role of the redis_slave instance is slave
F.4. Save data on the redis and verify that it's replicated on redis_slave.
F.5. Follow the [promotion steps](https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/examples/redis/cookbooks/custom-redis#promotion). After the promotion, verify that the role of the redis instance (renamed from redis_slave) is master.
F.5. Follow the [promotion steps](https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/custom-cookbooks/redis/cookbooks/custom-redis#promotion). After the promotion, verify that the role of the redis instance (renamed from redis_slave) is master.
```
@@ -2,5 +2,5 @@

This example contains a complete cookbooks/ that you can use on the stable-v5 stack.

See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/examples/resque/cookbooks/custom-resque for complete instructions.
See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/custom-cookbooks/resque/cookbooks/custom-resque for complete instructions.

@@ -22,14 +22,14 @@ Our main recipes have the `resque` recipe but it is not included by default. To
depends 'custom-resque'
```

3. Copy `examples/resque/cookbooks/custom-resque` to `cookbooks/`
3. Copy `custom-cookbooks/resque/cookbooks/custom-resque` to `cookbooks/`

```
cd ~ # Change this to your preferred directory. Anywhere but inside the application
git clone https://github.com/engineyard/ey-cookbooks-stable-v5
cd ey-cookbooks-stable-v5
cp examples/resque/cookbooks/custom-resque /path/to/app/cookbooks/
cp custom-cookbooks/resque/cookbooks/custom-resque /path/to/app/cookbooks/
```

4. Download the ey-core gem on your local machine and upload the recipes
@@ -39,15 +39,15 @@ Our main recipes have the `resque` recipe but it is not included by default. To
ey-core recipes upload --environment <nameofenvironment> --path <pathtocookbooksfolder> --apply
```

If you do not have `cookbooks/ey-custom` on your app repository, you can copy `examples/resque/cookbooks/ey-custom` to `/path/to/app/cookbooks`.
If you do not have `cookbooks/ey-custom` on your app repository, you can copy `custom-cookbooks/resque/cookbooks/ey-custom` to `/path/to/app/cookbooks`.

## Customizations

All customizations go to `cookbooks/custom-resque/attributes/default.rb`.

### Choose the instances that run the recipe

By default, the resque recipe runs on a utility instance named `resque` or on a solo instance. You can change this using `node['dna']['instance_role']` and `node['dna']['instance_name'] `.
By default, the resque recipe runs on a utility instance named `resque` or on a solo instance. You can change this using `node['dna']['instance_role']` and `node['dna']['instance_name'] `.

```ruby
# this is the default
@@ -2,5 +2,5 @@

This example contains a complete cookbooks/ that you can use on the stable-v5 stack.

See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/examples/resque_scheduler/cookbooks/custom-resque_schedulerfor complete instructions.
See https://github.com/engineyard/ey-cookbooks-stable-v5/tree/next-release/custom-cookbooks/resque_scheduler/cookbooks/custom-resque_schedulerfor complete instructions.

@@ -22,14 +22,14 @@ Our main recipes have the `resque_scheduler` recipe but it is not included by de
depends 'custom-resque_scheduler'
```

3. Copy `examples/resque/cookbooks/custom-resque_scheduler` to `cookbooks/`
3. Copy `custom-cookbooks/resque/cookbooks/custom-resque_scheduler` to `cookbooks/`

```
cd ~ # Change this to your preferred directory. Anywhere but inside the application
git clone https://github.com/engineyard/ey-cookbooks-stable-v5
cd ey-cookbooks-stable-v5
cp examples/resque/cookbooks/custom-resque_scheduler /path/to/app/cookbooks/
cp custom-cookbooks/resque/cookbooks/custom-resque_scheduler /path/to/app/cookbooks/
```

4. Download the ey-core gem on your local machine and upload the recipes
@@ -39,15 +39,15 @@ Our main recipes have the `resque_scheduler` recipe but it is not included by de
ey-core recipes upload --environment <nameofenvironment> --apply
```

If you do not have `cookbooks/ey-custom` on your app repository, you can copy `examples/resque_scheduler/cookbooks/ey-custom` to `/path/to/app/cookbooks`.
If you do not have `cookbooks/ey-custom` on your app repository, you can copy `custom-cookbooks/resque_scheduler/cookbooks/ey-custom` to `/path/to/app/cookbooks`.

## Customizations

All customizations go to `cookbooks/custom-resque_scheduler/attributes/default.rb`.

### Choose the instances that run the recipe

By default, the resque recipe runs on a utility instance named `resque` or on a solo instance. You can change this using `node['dna']['instance_role']` and `node['dna']['instance_name'] `.
By default, the resque recipe runs on a utility instance named `resque` or on a solo instance. You can change this using `node['dna']['instance_role']` and `node['dna']['instance_name'] `.

```ruby
# this is the default
File renamed without changes.
File renamed without changes.
@@ -25,17 +25,17 @@ this is managed by Engine Yard.

depends 'custom-sidekiq'

3. Copy `examples/sidekiq/cookbooks/custom-sidekiq` to `cookbooks/`
3. Copy `custom-cookbooks/sidekiq/cookbooks/custom-sidekiq` to `cookbooks/`

cd ~ # Change this to your preferred directory. Anywhere but inside the