mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-13 10:01:08 -04:00
30 lines
602 B
Markdown
30 lines
602 B
Markdown
---
|
|
layout: "cobbler"
|
|
page_title: "Cobbler: cobbler_snippet"
|
|
sidebar_current: "docs-cobbler-resource-snippet"
|
|
description: |-
|
|
Manages a Snippet within Cobbler.
|
|
---
|
|
|
|
# cobbler_snippet
|
|
|
|
Manages a Snippet within Cobbler.
|
|
|
|
## Example Usage
|
|
|
|
```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`.
|