Commit c2f77ea5 authored by Victor Penso's avatar Victor Penso
Browse files

README

parent 0ba3014b
## Description ## Description
This cookbook enables to configuration of generic [Chef resources](https://docs.chef.io/resources.html) by attributes. This cookbook enables the configuration of generic [Chef resources](https://docs.chef.io/resources.html) by attributes.
The following resource list include the by default mapped Chef resources: The following resource list includes all Chef resources mapped by default:
``` ```
apt_repository apt_repository
...@@ -33,7 +33,7 @@ mount ...@@ -33,7 +33,7 @@ mount
Append other resources to the resource list mapped by this cookbook with the attribute `base/resources`. Append other resources to the resource list mapped by this cookbook with the attribute `base/resources`.
Following example illustrates this for the `cron` resource: Following Chef role illustrates this for the `cron` resource:
```ruby ```ruby
name 'cron' name 'cron'
...@@ -58,11 +58,11 @@ default_attributes( ...@@ -58,11 +58,11 @@ default_attributes(
Take a look to the [test/roles/](test/roles) directory for a list of example roles using this cookbook. Take a look to the [test/roles/](test/roles) directory for a list of example roles using this cookbook.
Following example configures NTPD on Debian and CentOS: Following Chef role configures `ntpd` on Debian and CentOS:
```ruby ```ruby
name 'ntpd' name 'ntpd'
description 'NTPD configuration' description 'ntpd configuration'
run_list( 'recipe[base]' ) run_list( 'recipe[base]' )
default_attributes( default_attributes(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment