github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/docs/configuration/sentinel.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: sentinel Stanza - Agent Configuration
     4  sidebar_title: sentinel
     5  description: >-
     6    The "sentinel" stanza configures the Nomad agent for Sentinel policies and
     7    tune various parameters.
     8  ---
     9  
    10  # `sentinel` Stanza
    11  
    12  <Placement groups={['sentinel']} />
    13  
    14  The `sentinel` stanza configures the Sentinel policy engine and tunes various parameters.
    15  
    16  ```hcl
    17  sentinel {
    18      import "custom-plugin" {
    19          path = "/usr/bin/sentinel-custom-plugin"
    20          args = ["-verbose", "foo"]
    21      }
    22  }
    23  ```
    24  
    25  ## `sentinel` Parameters
    26  
    27  - `import` <code>([Import](#import-parameters): nil)</code> -
    28    Specifies a plugin that should be made available for importing by Sentinel policies.
    29    The name of the import matches the name that can be imported.
    30  
    31  ### `import` Parameters
    32  
    33  - `path` `(string: "")` - Specifies the path to the import plugin. Must be executable by Nomad.
    34  
    35  - `args` `(array<string>: [])` - Specifies arguments to pass to the plugin when starting it.