Академический Документы
Профессиональный Документы
Культура Документы
L E A R N I N G R E S O U RC E S
RESOURCES
Resource Types
Every resource is associated with a resource type.
Below are some of the built-in resource types:
1. Files
2. Cron jobs
3. Services
4. Host
5. User
6. Notify, etc.
RESOURCES, CONT.
Resource Declaration
Every resource has a resource type, a title, and a set of
attributes.
Syntax: <TYPE> {<TITLE>:
<ATTRIBUTE> => <VALUE>,
}
Example:
file { /etc/passwd:
ensure => file,
owner => root,
group => root,
mode => 0600,
}