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

600 B

layout page_title sidebar_current description
cobbler Cobbler: cobbler_snippet docs-cobbler-resource-snippet Manages a Snippet within Cobbler.

cobbler_snippet

Manages a Snippet within Cobbler.

Example Usage

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.