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
root@deployServer:~# salt \* state.highstate --output=summary_highstate | |
web-server01.example.com ------------------ Success: 20 Changed: 0 Errors: 0 | |
web-server02.example.com ------------------ Success: 71 Changed: 1 Errors: 0 | |
db-server03.example.com ------------------- Success: 73 Changed: 1 Errors: 0 | |
mongo-server04.example.com ---------------- Success: 74 Changed: 1 Errors: 0 | |
mongo-server05.example.com ---------------- Success: 74 Changed: 1 Errors: 0 | |
memcache-server06.example.com ------------- Success: 74 Changed: 1 Errors: 0 | |
mysql-server07.example.com ---------------- Success: 74 Changed: 1 Errors: 0 | |
logs-server08.example.com ----------------- Success: 20 Changed: 0 Errors: 0 | |
redis-server09.example.com ---------------- Success: 27 Changed: 0 Errors: 0 |
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
#!/bin/sh -e | |
hostname=$1 | |
device=$2 | |
file=$HOME/.dynv6.addr6 | |
[ -e $file ] && old=`cat $file` | |
if [ -z "$hostname" -o -z "$token" ]; then | |
echo "Usage: token=<your-authentication-token> [netmask=64] $0 your-name.dynv6.net [device]" | |
exit 1 | |
fi |
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
client | |
dev tun | |
remote example.com | |
resolv-retry infinite | |
nobind | |
persist-key | |
persist-tun | |
ca [inline] | |
cert [inline] | |
key [inline] |
I changed a few of the key mappings to work with a Norwegian layout:
{ “keys”: [“ctrl+\\”], “command”: “show_panel”, “args”: {"panel": “console”, “toggle”: true} },
{ “keys”: [“ctrl+7”], “command”: “toggle_comment”, “args”: { “block”: false } },
{ “keys”: [“ctrl+9”], “command”: “indent” },
{ “keys”: [“ctrl+8”], “command”: “unindent” },
And installed the package Emmet, which is what provides some of the functions here.
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
## Depends on your network setup of the global zone build environment | |
echo '{ | |
"brand": "joyent", | |
"resolvers": ["8.8.8.8"], | |
"ram": 512, | |
"nics": [{ | |
"nic_tag": "switch0", | |
"ip": "192.168.200.200", | |
"netmask": "255.255.255.0", | |
"gateway": "192.168.200.1", |
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
OlderNewer