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
setup_es_backup: | |
http.query: | |
- name: 'http://localhost:9200/_snapshot/es5_backup' | |
- status: 200 | |
- method: 'PUT' | |
- data: "{'es5_backup': {'type': 'fs', 'settings': {'location': '/mount/backups/es5_backup'}}}" | |
- header_dict: {'Content-Type': 'application/json; charset=UTF-8'} | |
- require: | |
- http: check_es_available | |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Landrush domain name suffix | |
# https://github.com/phinze/landrush | |
# For linux: | |
# sudo apt-get install -y resolvconf dnsmasq | |
# sudo sh -c 'echo "server=/vm/127.0.0.1#10053" > /etc/dnsmasq.d/vagrant-landrush' | |
# sudo service dnsmasq restart | |
# |
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
state.sls: | |
#!py | |
import yaml | |
import logging | |
log = logging.getLogger(__name__) | |
def run(): |