Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHEF
cookbooks
base
Commits
c2f77ea5
Commit
c2f77ea5
authored
May 30, 2017
by
Victor Penso
Browse files
README
parent
0ba3014b
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
c2f77ea5
## Description
## Description
This cookbook enables t
o
configuration of generic
[
Chef resources
](
https://docs.chef.io/resources.html
)
by attributes.
This cookbook enables t
he
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 include
s 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
examp
le illustrates this for the
`cron`
resource:
Following
Chef ro
le 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
examp
le configures
NTPD
on Debian and CentOS:
Following
Chef ro
le 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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment