Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ object CheckCommand "nextcloud" {
"required" = true
"value" = "$nc_url$"
}
"-z" = {
"required" = true
"value" = "$nc_tz$"
}
}

vars.nc_url = "/"
vars.nc_tz = "Europe/Berlin"
}
```

Expand All @@ -49,8 +54,19 @@ apply Service "nextcloud-" for (instance => config in host.vars.nextcloud) {
}
```

An example for a host configuration:
```
object Host "cloud.example.com" {
import "generic-host"

vars.nextcloud["cloud.example.com"] = {
nc_host = "cloud.example.com"
}
}
```

### Changelog
* 2020-08-31: updated readme.md to most recent changes (Decstasy)
* 2017-03-22: split hostname and url into separate parameters (sumnerboy12)
* 2017-03-18: initial version (janvonde)

Expand Down