saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
https://repo.saltproject.io/
Apache License 2.0
14.1k stars 5.47k forks source link

Salt-cloud and pillar #23935

Closed mspinassi closed 6 years ago

mspinassi commented 9 years ago

Hi all!

It started as a question on salt users [1] and filling a feature request for it.

The idea is to use pillar for salt-cloud configuration, instead of /etc/salt/cloud*, as it's easier to share the whole /srv/salt directory using pillar, than sharing those under /etc.

Also, using pillar for salt-cloud gives some really good flexibility. For example, if we are deploying an instance for QA, it won't have the same specs than a Prod one. Another use case would be with VPCs. Depending on the environment or project, you may prefer to use some VPC or region or subnet.

Really, having pillar for salt-cloud could be a huge step forward in flexibility.

My python code is far from good for such a big project (spoiler: not a developer), but please, if I can help you testing, reviewing or anything else, just ping me; will be more than happy to help.

Cheers!

Martin

[1] https://groups.google.com/forum/#!searchin/salt-users/martin$20pillar/salt-users/vueBUlCIaqo/UaO6Ubuy6EUJ

techhat commented 9 years ago

Ref #11065.

techhat commented 9 years ago

Ref #12924.

rallytime commented 9 years ago

@mspinassi Thanks for this request! It looks like this functionality was added at least to the cloud module in #12924, as @techhat mentioned, but I think you've presented a good use case for a feature request. Unless @techhat has some other thoughts/knowledge on this matter.

arnisoph commented 9 years ago

+1111111

jeanpralo commented 8 years ago

:+1:

aphor commented 8 years ago

25555 might cover this feature request.

My suggestion for #25555 definitely would cover this issue: https://github.com/saltstack/salt/issues/25555#issuecomment-153553006

DanyC97 commented 8 years ago

+111111111111111 pplllsss

SolarisYan commented 8 years ago

+111111111111111

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.