Skip to content

Commit

Permalink
Merge pull request #1 from asteris-llc/docs/readme-typo
Browse files Browse the repository at this point in the history
readme: status -> check
  • Loading branch information
BrianHicks committed May 19, 2016
2 parents 8006f2d + 24fa4d7 commit 2b1d825
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ param "version" { }
module "yum" "traefik" { }
module "systemd-unit-enabled" "traefik" {
module "systemd-unit-enabled" "traefik" {
depends = [ "yum.traefik" ]
}
module "systemd-unit-running" "traefik" {
module "systemd-unit-running" "traefik" {
depends = [ "yum.traefik" ]
}
```
Expand All @@ -60,7 +60,7 @@ task "start-unit" {

Within a module, you can have tasks. Shown here is a task with two stanzas:

- `status` returns the actual state, and an error code indicating if it needs to
- `check` returns the actual state, and an error code indicating if it needs to
be changed
- `apply` is run to create the resource controlled by this task. You can omit
this stanza if you want the command to be purely informational.
Expand Down

0 comments on commit 2b1d825

Please sign in to comment.