Created
December 3, 2015 14:34
-
-
Save aaronlelevier/7be59abce9c142f18196 to your computer and use it in GitHub Desktop.
Trying to install Python 2.7.10 in a Salt State
This file contains hidden or 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
| ### previous SLS | |
| install-python-2.7.10-from-tarball: | |
| cmd.run: | |
| - names: | |
| - cd /usr/src | |
| - wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz | |
| - tar xzf Python-2.7.10.tgz | |
| - cd Python-2.7.10 | |
| - ./configure | |
| - make altinstall | |
| ### proposed SLS | |
| cmd.run: | |
| - name: wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz | |
| - cwd: /usr/src | |
| - creates: Python-2.7.10 | |
| cmd.run: | |
| - name: ./configure | |
| - cwd: /usr/src/Python-2.7.10 | |
| cmd.run: | |
| - name: make altinstall | |
| - cwd: /usr/src/Python-2.7.10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment