github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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  ```hcl
    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`.