Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add whitespace that the Chef Supermarket's markdown renderer requires.
  • Loading branch information
philoserf authored Mar 22, 2017
1 parent c2a40f0 commit 58f052a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ Agent and deploy it's configurations automatically.
## Usage

Add this cookbook to your base recipe:

```ruby
cookbook 'aws-cloudwatchlogs', '~> 1.1.5'
```

You need to configure the following node attributes via an `environment` or `role`:

```ruby
default_attributes(
'aws_cwlogs' => {
Expand All @@ -34,6 +36,7 @@ default_attributes(
```

Or you can also configure by declaring it in another cookbook at a higher precedence level:

```ruby
default['aws_cwlogs']['region'] = 'your_aws_region'
default['aws_cwlogs']['aws_access_key_id'] = 'your_aws_access_key'
Expand All @@ -49,6 +52,7 @@ default['aws_cwlogs']['log']['syslog'] = {
```

Once you defined the attributes, you will need to reference `aws_cwlogs` resource in your recipe:

```ruby
include_recipe 'aws-cloudwatchlogs'

Expand Down

0 comments on commit 58f052a

Please sign in to comment.