Closed JulioECastro closed 7 years ago
Hmm, I think we could improve on this if the package stuff was moved into the map and then loaded from there. Building from scratch should also be in a different state I think if we can manage it.
@JulioECastro you should use grains['os_family']
instead of grains['os']
to support derivatives like AWS Linux
[ec2-user@ip-10-0-3-149 ~]$ sudo salt-call grains.get os
local:
Amazon
[ec2-user@ip-10-0-3-149 ~]$ sudo salt-call grains.get os_family
local:
RedHat
Tested it on AWS Linux (centos 6 fork) and it works as expected.
I send you a proposal to solve some problems with RedHat and CentOS. I used gem FPM as alternative to Checkinstall.
Regards.-