Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

managing /etc/salt/minion directly from salt provision #116

Description

@yee379

i don't really like managing the minion configs as separate files via salt.minion_config. it makes me duplicate a bunch of data around for my vagrant environment. it also makes managing a large collection of vagrant boxes in (one) large testing environments rather cumbersome. how about being able to define it directly from the DSL? i was thinking something like:

vm.provision :salt do |salt|
  salt.minion = {
    'id' => 'my_vagrant.local',
    'file_roots" => {
      "my_env": [
        '/srv/salt/file_root',
      ]
    }
    ....
  }
end

or have salt.minion_config check the data type of it's argument (if string, then use file; otherwise if its a hash, then dump it out to the file)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions