|
|
@@ -17,7 +17,10 @@ |
|
|
|
'libmagickwand-dev', |
|
|
|
'ghostscript', |
|
|
|
'nodejs', |
|
|
|
'libjemalloc1', |
|
|
|
salt['grains.filter_by']({ |
|
|
|
'stretch': 'libjemalloc1', |
|
|
|
'default': 'libjemalloc2' |
|
|
|
}, grain='oscodename'), |
|
|
|
], |
|
|
|
'postgresql_package': 'libpq-dev', |
|
|
|
'mysql_package' : 'libmariadbclient-dev', |
|
|
@@ -28,6 +31,10 @@ |
|
|
|
'certificate_authorities': '/etc/ssl/certs/ca-certificates.crt' |
|
|
|
} |
|
|
|
}, |
|
|
|
'libjemalloc': salt['grains.filter_by']({ |
|
|
|
'stretch': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1', |
|
|
|
'default': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.2' |
|
|
|
}, grain='oscodename'), |
|
|
|
}, |
|
|
|
'RedHat': { |
|
|
|
'dependencies' : [ |
|
|
@@ -55,6 +62,7 @@ |
|
|
|
'certificate_authorities': '/etc/pki/tls/certs/ca-bundle.crt' |
|
|
|
} |
|
|
|
}, |
|
|
|
'libjemalloc': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1', |
|
|
|
}, |
|
|
|
}, merge=salt['grains.filter_by']({ |
|
|
|
'Ubuntu': { |
|
|
@@ -70,9 +78,16 @@ |
|
|
|
'imagemagick', |
|
|
|
'libmagickwand-dev', |
|
|
|
'nodejs', |
|
|
|
'libjemalloc1', |
|
|
|
salt['grains.filter_by']({ |
|
|
|
'bionic': 'libjemalloc1', |
|
|
|
'default': 'libjemalloc2' |
|
|
|
}, grain='oscodename'), |
|
|
|
], |
|
|
|
'mysql_package' : 'libmysqlclient-dev', |
|
|
|
'libjemalloc': salt['grains.filter_by']({ |
|
|
|
'bionic': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1', |
|
|
|
'default': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.2' |
|
|
|
}, grain='oscodename'), |
|
|
|
}, |
|
|
|
}, grain='os', merge=salt['pillar.get']('diaspora:lookup'))) %} |
|
|
|
|