Skip to content

Commit

Permalink
docs: initial commit of the yum resource doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed May 27, 2016
1 parent 6f37139 commit 1840496
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/resources/pacman.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ Name of the package.
* Required: yes
* Default: defaults to the resource title

### state
### version

Desired state of the package.
Version of the package.

* Type: string
* Required: no
* Default: present
* Default: none

## Example usage

Expand Down
34 changes: 34 additions & 0 deletions docs/resources/yum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## yum

The `yum` resource is used for package management under
RHEL/CentOS systems.

## Embeds

* [base](base.md)

## Parameters

### name

Name of the package.

* Type: string
* Required: yes
* Default: defaults to the resource title

### version

Version of the package.

* Type: string
* Required: no
* Default: none

## Example usage

```hcl
yum "tmux" {
state = "present"
}
```

0 comments on commit 1840496

Please sign in to comment.