-
-
Save clegett/409822390f60967df152e6d7081f1101 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Uses this formula: https://github.com/saltstack-formulas/epel-formula | |
include: | |
- epel | |
davinci.packages: | |
pkg.installed: | |
- pkgs: | |
- gdal | |
- hdf5-devel | |
- gnuplot | |
- motif | |
- libX11.i686: 1.6.5-1.el7 | |
- libjpeg-turbo.i686: 1.2.90-5.el7 | |
- libpng12.i686: 1.2.50-10.el7 | |
install_manual_packages: | |
pkg.installed: | |
- sources: | |
- libcfitsio: salt://davinci/libcfitsio0-3.340-2mamba.x86_64.rpm | |
- xv: salt://davinci/xv-3.10a-37.el6.i686.rpm | |
#install_davinci: | |
# pkg.installed: | |
# - pkg_verify: | |
# - verify_options: | |
# - nodeps | |
# - sources: | |
# - davinci: salt://davinci/davinci-2.10-1.x86_64.rpm | |
{% set davinci_rpm_file = 'davinci-2.10-1.x86_64' %} | |
/root/{{ davinci_rpm_file }}.rpm: | |
file: | |
- managed | |
- user: root | |
- group: root | |
- mode: 644 | |
- source: salt://davinci/{{ davinci_rpm_file }}.rpm | |
force-install-davinci: | |
cmd.run: | |
- name: sleep 10s; /usr/bin/rpm -vi --nodeps /root/{{ davinci_rpm_file }}.rpm; sleep 10s | |
require: | |
- file: /root/{{ davinci_rpm_file }}.rpm | |
/usr/lib64/libhdf5.so.6: | |
file.symlink: | |
- target: /usr/lib64/libhdf5.so.8 | |
/usr/lib64/libhdf5.so.0()(64bit): | |
file.symlink: | |
- target: /usr/lib64/libhdf5.so.8 | |
/usr/share/davinci/library/library_linux.dvrc: | |
file: | |
- managed | |
- source: salt://davinci/library_linux.dvrc | |
- replace: True | |
- user: root | |
- group: root | |
- mode: 644 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment