saltstack-formulas / node-formula

Manage node.js with SaltStack
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
26 stars 102 forks source link

Centos/Redhat #30

Closed JulioECastro closed 7 years ago

JulioECastro commented 8 years ago

I can't use it for my Centos and Redhat instances. I think to change pkg install (then a will l use a condition)... but some packages are missing. What do you recommend?

Ensure required packages are present: pkg.installed:

gravyboat commented 8 years ago

What packages are missing? Can we not add them into the map.jinja and address it that way?

JulioECastro commented 8 years ago

My first try was install from source... node version 0.10.30 :( Some packages has different names for Centos7. For example... libssl-dev is openssl-devel. Build-essential doesn't exist in yum, but I include make and make and automake I get Checkinstall from external repo. this is my current code but Im follow testing.

Ensure required packages are present: pkg.installed:

Package checkinstall missing: pkg.installed:

gravyboat commented 8 years ago

If you would like feel free to prep a PR that adds the missing/incorrect names to the map.jinja for CentOS and then references it correctly for the package installation.