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
| sudo add-apt-repository ppa:webupd8team/java | |
| sudo apt-get update | |
| # sudo apt-get install oracle-java7-installer | |
| sudo apt-get install oracle-java8-installer | |
| # Set default using this: (or update-alternatives): | |
| # sudo apt-get install oracle-java7-set-default | |
| sudo update-alternatives --config java |
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
| <contents of normal file> | |
| # Add any additional locations to look for master runners | |
| runner_dirs: [/srv/runners] | |
| # Register a reactor whenever a cloud provider emits 'created' | |
| # the * is the name of the VM, we want any, but you could | |
| # do something like salt/cloud/Webservers-*/created if you only | |
| # wanted your webservers | |
| reactor: |
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
| vagrant: | |
| pkg.installed: | |
| - sources: | |
| - 'vagrant': 'http://files.vagrantup.com/packages/476b19a9e5f499b5d0b9d4aba5c0b16ebe434311/vagrant_i686.deb' |
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
| newrelic-add-repo: | |
| cmd.run: | |
| - name: echo deb http://apt.newrelic.com/debian/ newrelic non-free >> /etc/apt/sources.list.d/newrelic.list | |
| - unless: grep "deb http://apt.newrelic.com/debian/ newrelic non-free" /etc/apt/sources.list.d/newrelic.list | |
| newrelic-trust-repo: | |
| cmd.run: | |
| - name: wget -O- https://download.newrelic.com/548C16BF.gpg | apt-key add - | |
| - unless: apt-key list | grep "New Relic" | |
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
| build_deps: | |
| pkg.installed: | |
| - pkgs: | |
| - git | |
| - createrepo | |
| - rpm-build | |
| - gcc | |
| - gcc-c++ | |
| - python-virtualenv | |
| - python-devel |
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
| dockerfile/elasticsearch: | |
| docker.pulled: | |
| - name: dockerfile/elasticsearch | |
| - require_in: elasticsearch-container | |
| elasticsearch-container: | |
| docker.installed: | |
| - name: elasticsearch | |
| - hostname: elasticsearch | |
| - image: dockerfile/elasticsearch |
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
| salt-minion: | |
| pkgrepo.managed: | |
| - ppa: saltstack/salt | |
| pkg.latest: | |
| - name: salt-minion | |
| - refresh: True |
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
| base: | |
| '*': | |
| - python | |
| - memcache | |
| - nbviewer | |
| - supervisor | |
| - firewall |
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
| dpkg_steam_license: | |
| cmd.run: | |
| - unless: which steam | |
| - name: '/bin/echo /usr/bin/debconf steam/license note | /usr/bin/debconf-set-selections' | |
| - require_in: | |
| - pkg: steam | |
| - cmd: dpkg_steam_question | |
| dpkg_steam_question: | |
| cmd.run: |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |