Skip to content

Commit cba37d7

Browse files
author
jtimberman
committed
README and example updates
1 parent 709a15e commit cba37d7

File tree

8 files changed

+23
-20
lines changed

8 files changed

+23
-20
lines changed

certificates/README

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
This directory contains certificates created by the Rakefile.
1+
Creating SSL certificates is a common task done in web application
2+
infrastructures, so a rake task is provided to generate certificates.
3+
These certificates are stored here by the ssl_cert task.

config/client.rb.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Example Chef Client Config File
33
#
4-
# We recommend using Opscode's chef cookbook for managing chef itself,
4+
# Use Opscode's chef cookbook for managing chef itself,
55
# instead of using this file. It is provided as an example.
66

77
log_level :info

config/knife.rb.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This file provided as an example. Run 'knife configure' to generate a
2+
# config file for your local user.
13
log_level :info
24
log_location STDOUT
35
node_name 'chef_admin'

config/server.rb.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Chef Server Config File
33
#
4-
# We recommend using Opscode's chef cookbook for managing chef itself,
4+
# Use Opscode's chef cookbook for managing chef itself,
55
# instead of using this file. It is provided as an example.
66

77
log_level :info

cookbooks/README

Lines changed: 0 additions & 4 deletions
This file was deleted.

roles/README

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
Create roles here, in either .rb or .json files. To install roles on the
2-
server, use knife. We provide an example role here.
2+
server, use knife. For example, create roles/base_example.rb:
33

4-
knife role from file roles/base_example.rb
4+
name "base_example"
5+
description "Example base role applied to all nodes."
6+
# List of recipes and roles to apply. Requires Chef 0.8, earlier versions use 'recipes()'.
7+
#run_list()
8+
9+
# Attributes applied if the node doesn't have it set already.
10+
#default_attributes()
11+
12+
# Attributes applied no matter what the node has set already.
13+
#override_attributes()
14+
15+
Then upload it to the Chef Server:
16+
17+
knife role from file roles/base_example.rb

roles/base_example.rb

Lines changed: 0 additions & 10 deletions
This file was deleted.

site-cookbooks/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
This directory contains cookbooks that modify upstream ones,
1+
This directory contains cookbooks that modify upstream ones in cookbooks/,
22
or that are specific to your site.

0 commit comments

Comments
 (0)