saltstack-formulas / gitlab-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Apache License 2.0
29 stars 49 forks source link

postgres requirement in init.sls and postgresql.sls #6

Open tinuva opened 10 years ago

tinuva commented 10 years ago

Hi,

Which postgresql salt formula do you guys which is a requirement in init.sls?

I can only find postgres-formula from https://github.com/saltstack-formulas/postgres-formula which has a folder postgres.

This also flows over into postgresql.sls which requires postgresql-server.pkg and .service. If I want to use the postgres formula from the above url, I need to change init.sls to require postgres instead of postgresql, and the lines in postgresql.sls in this gitlab formula:

from: require:

to: require:

arnisoph commented 10 years ago

Personally I'm a friend of generic formulas/ modules which have their dedicated tasks like managing gitlab, managing postgresql, managing nginx, etc..

Therefor I forked this formula and use it with my other formulas (postgresql, git, etc.):

https://github.com/bechtoldt/gitlab-formula

whiteinge commented 10 years ago

@bechtoldt that's something all formulas in this org should strive for. Interested in submitting your changes back here as a pull req?

tinuva commented 10 years ago

@bechtoldt had a look at your formulas, and I like how you do them. Actually moving my testing over to some of your formulas, so working on getting them to work on CentOS, although now I have moved on to CentOS 7.