voxpupuli / puppet-nomad

Puppet module for managing Nomad
Apache License 2.0
16 stars 31 forks source link

add support/example for nomad plugins #37

Open attachmentgenie opened 3 years ago

attachmentgenie commented 3 years ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

What are you seeing

What behaviour did you expect instead

Output log

Any additional information you'd like to impart

maxadamo commented 3 years ago

this issue is incomplete, and not very clear. What kind of support is needed for the plugins? Plugins can be configured as a code block in the config_hash.

Probably something like the following:

    ...
      plugin     => [
        docker   => {
          config => {
            allow_privileged => true
          }
        },
        raw_exec => {
          config => {
            enabled => true
          }
        }
      ],
    ...
attachmentgenie commented 3 years ago

so in my mind what we need is 2 fold,

  1. some sort of defined type that can download/install the plugin
  2. an example in the docs that basically show how to enable it in confog