Created
March 22, 2016 23:09
-
-
Save daveneeley/66c4a61e44e45a695363 to your computer and use it in GitHub Desktop.
Use salt to install apache webserver from http://www.aixtools.net/index.php/httpd-2.2
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
download_bundle: | |
file.managed: | |
- name: /tmp/aixtools/aixtools.asf.httpd-2.2.bundle.tar.bz2 | |
- source: http://download.aixtools.net/tools/asf/aixtools.asf.httpd-2.2.bundle.tar.bz2 | |
- source_hash: sha256=837fb885c8de4755dac88bd7f11558e60b5bd21bc01b8758259b43737b844ea2 | |
- makedirs: true | |
extract_bundle: | |
cmd.run: | |
- name: 'bzip2 -dc aixtools.asf.httpd-2.2.bundle.tar.bz2 | tar xf -' | |
- cwd: /tmp/aixtools | |
run_inutoc: | |
cmd.run: | |
- name: 'inutoc .' | |
- cwd: /tmp/aixtools | |
run_installp: | |
cmd.run: | |
- name: 'installp -d . -agX aixtools.asf.httpd' | |
- cwd: /tmp/aixtools | |
start_apachectl: | |
cmd.run: | |
- name: /opt/bin/apachectl -t |
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
base: | |
'*': | |
- apache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment