saltstack-formulas / ntp-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
23 stars 158 forks source link

fix service name for SLE11 #23

Closed tampakrap closed 8 years ago

iggy commented 8 years ago

The proper fix is probably to have a separate map for osversion.

tampakrap commented 8 years ago

@iggy I'm not sure how to do this, can you provide me an example please?

iggy commented 8 years ago

Check out the postgres formula. It uses codename map for different Ubuntu releases.

https://github.com/saltstack-formulas/postgres-formula/blob/master/postgres/codenamemap.yaml https://github.com/saltstack-formulas/postgres-formula/blob/master/postgres/map.jinja#L9