Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
import time
import rados
import sys
import socket
graphite_host = '172.16.0.149'
graphite_port = 2003
host = 'mon0'
--- bootstrap-salt.sh.orig 2015-09-25 17:16:40.000000000 +0000
+++ bootstrap-salt.sh 2015-09-25 18:41:20.693929208 +0000
@@ -2334,12 +2334,15 @@
# Saltstack's Stable Debian repository
if [ "$(grep -R 'jessie-saltstack' /etc/apt)" = "" ]; then
- echo "deb http://debian.saltstack.com/debian jessie-saltstack main" >> \
+ echo "deb http://repo.saltstack.com/apt/debian jessie contrib" >> \
/etc/apt/sources.list.d/saltstack.list
+ #echo "deb http://debian.saltstack.com/debian jessie-saltstack main" >> \