github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/cobbler/r/snippet.html.markdown (about) 1 --- 2 layout: "cobbler" 3 page_title: "Cobbler: cobbler_snippet" 4 sidebar_current: "docs-cobbler-resource-snippet" 5 description: |- 6 Manages a Snippet within Cobbler. 7 --- 8 9 # cobbler\_snippet 10 11 Manages a Snippet within Cobbler. 12 13 ## Example Usage 14 15 ``` 16 resource "cobbler_snippet" "my_snippet" { 17 name = "/var/lib/cobbler/snippets/my_snippet" 18 body = "<content of snippet>" 19 } 20 ``` 21 22 ## Argument Reference 23 24 The following arguments are supported: 25 26 * `body` - (Required) The body of the snippet. 27 28 * `name` - (Required) The name of the snippet. This must be the full 29 path, including `/var/lib/cobbler/snippets`.