saltstack-formulas / hostsfile-formula

Use minion IDs to keep /etc/hosts and hostnames consistent for clusters without DNS
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
33 stars 89 forks source link

Host groups #5

Closed TaiSHiNet closed 9 years ago

TaiSHiNet commented 10 years ago

Ability to group hosts to split projects, so targeted hosts will only receive certain host/ip information

nmadhok commented 10 years ago

@TaiSHiNet Can you explain in more detail what you're trying to say?

TaiSHiNet commented 10 years ago

In my case I run several projects from a single master, and I'd like project VMs to have only certain hosts information.

Project AAAA VMs only get hosts information for back01-AAAA, front01-AAAA, ... Project BBBB VMs only get hosts information for back01-AAAA mysql03-BBBB, ...

nmadhok commented 10 years ago

What exactly do you mean by "projects"?

TaiSHiNet commented 10 years ago

Groups of VMs for a specific "customer" so to say

nmadhok commented 10 years ago

You can target the vm's and send them only specific data. Thats what pillars are for. I guess i'm still not able to understand what you're trying to explain.

TaiSHiNet commented 10 years ago

All the minions under the same master will receive -all- the hosts data, even if you can target which ones do receive it, you can't decide what data they receive