Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
#!/bin/sh | |
SSH_SESSION_FILE=$HOME/.screen-ssh-agent-env | |
SSHV="SSH_CLIENT SSH_TTY SSH_AUTH_SOCK SSH_CONNECTION DISPLAY" | |
## For Bash environment variables: | |
for x in ${SSHV}; do | |
(eval echo $x=\$$x) | sed 's/=/="/ | |
s/$/"/ | |
s/^/export /' |
#!/bin/sh | |
# source this file in your ~/.profile and then start screen as normal. | |
# run: reattach [optional name] | |
# then, inside your screen windows run restore-agent | |
SSH_SESSION_FILE=$HOME/.screen-ssh-agent-env | |
reattach() { | |
SSHV="SSH_CLIENT SSH_TTY SSH_AUTH_SOCK SSH_CONNECTION DISPLAY" |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
I am having trouble with the 'directory overlay' feature of `file_roots`. | |
I want to deploy Salt in multiple regions, however most of the configuration | |
files will be the same with minor differences being populated via pillar data. | |
I have three file scenarios: | |
1. files that are common across all nodes in all regions (ex: /etc/sudoers) | |
2. files that are specific to certain types of nodes (ex: database configs) | |
3. files that are specific to a certain region (ex: /etc/hosts.allow) |
team-aptrepo: | |
pkgrepo.managed: | |
- order: 1 | |
- name: deb http://10.10.10.100/ precise main | |
- file: /etc/apt/sources.list.d/team.list | |
aptget-update: | |
cmd.wait: | |
- name: apt-get update |
client_acl: | |
cwright: | |
- .* |
api02.example.com: | |
---------- | |
State: - pkgrepo | |
Name: deb http://packages.example.com/ precise main | |
Function: managed | |
Result: False | |
Comment: Failed to confirm config of repo deb http://packages.example.com/ precise main: repo "deb http://packages.example.com/ precise main" was not found | |
Changes: |
{% for dc in 'region1', 'region2', 'region3' %} | |
{{ dc }}: | |
'dc:{{ dc }}': | |
- match: grain | |
- common | |
- common.repositories | |
- common.users | |
- common.packages | |
- common.files | |
- common.services |
#!/usr/bin/env python | |
import collections | |
import datetime | |
from os import path | |
import pickle | |
import sys | |
if len(sys.argv) < 2: | |
print('Usage: bindify.py zonefile') |
I hereby claim:
To claim this, I am signing this object: