terraform/website/source/docs/providers/cobbler/r/snippet.html.markdown

30 lines
602 B
Markdown
Raw Normal View History

---
layout: "cobbler"
page_title: "Cobbler: cobbler_snippet"
sidebar_current: "docs-cobbler-resource-snippet"
description: |-
Manages a Snippet within Cobbler.
---
2017-04-10 18:15:47 +02:00
# cobbler_snippet
Manages a Snippet within Cobbler.
## Example Usage
2017-04-10 18:15:47 +02:00
```hcl
resource "cobbler_snippet" "my_snippet" {
name = "/var/lib/cobbler/snippets/my_snippet"
body = "<content of snippet>"
}
```
## Argument Reference
The following arguments are supported:
* `body` - (Required) The body of the snippet.
* `name` - (Required) The name of the snippet. This must be the full
path, including `/var/lib/cobbler/snippets`.