#!/usr/bin/env ruby
site :opscode
[...]
cookbook 'chef-client'
cookbook 'cron'
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
Configured /etc/krb5.conf for IPA realm int.example.com | |
Traceback (most recent call last): | |
File "/usr/sbin/ipa-client-install", line 2360, in <module> | |
sys.exit(main()) | |
File "/usr/sbin/ipa-client-install", line 2346, in main | |
rval = install(options, env, fstore, statestore) | |
File "/usr/sbin/ipa-client-install", line 2126, in install | |
api.Backend.xmlclient.connect() | |
AttributeError: 'NameSpace' object has no attribute 'xmlclient' |
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
$ git fsck | |
Checking object directories: 100% (256/256), done. | |
error in commit 66ee656155aa2cd8e1ae7445e94cdd918e5cb976: invalid author/committer line - bad date | |
error in commit 8d36f03f830351c36ee2852ace50310ffac0fc1d: invalid author/committer line - bad date | |
error in commit d15ad0f26a8ec4282e400f76b84bbaf91e1dfebc: invalid author/committer line - bad date | |
error in commit c0ae2b2f85cd5460d9239cbf2f13b899686c34c3: invalid author/committer line - bad date | |
error in commit 0b36ce6dcbfc8d7e6cda632e06a09c369428a2db: invalid author/committer line - bad date | |
error in commit 19bdd1f166ac6a05aa1ca9611a9b3dbfc5776319: invalid author/committer line - bad date | |
error in commit 679343594d86d57c85d1a6bb5333c83ca8bacd78: invalid author/committer line - bad date | |
error in commit 7ace2ba951a648cfb59218ff0ebcacdc87c5492e: invalid author/committer line - bad date |
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
:msg,contains,"[UFW " /var/log/ufw.log | |
#& ~ |
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
vagrant@chef-server14:/vagrant/chef$ berks upload rsyslog | |
Installing rsyslog (1.1.1) from github: 'josephholsten/opscode-cookbooks-rsyslog' with branch: 'sm' over protocol: 'git' | |
Uploading rsyslog (1.1.1) to: 'http://bjork:4000/' | |
Ridley::SandboxUploader crashed! | |
Faraday::Error::ConnectionFailed: Connection refused - connect(2) | |
/usr/lib/ruby/1.9.1/net/http.rb:762:in `initialize' | |
/usr/lib/ruby/1.9.1/net/http.rb:762:in `open' | |
/usr/lib/ruby/1.9.1/net/http.rb:762:in `block in connect' | |
/usr/lib/ruby/1.9.1/timeout.rb:54:in `timeout' | |
/usr/lib/ruby/1.9.1/timeout.rb:99:in `timeout' |
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
$ cat server.rb | cut -f 1 -d '=' | grep - | |
# Copyright 2008-2009, Opscode, Inc. | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
default['mysql']['auto-increment-increment'] | |
default['mysql']['auto-increment-offset'] | |
default['mysql']['tunable']['character-set-server'] | |
default['mysql']['tunable']['collation-server'] | |
default['mysql']['tunable']['open-files-limit'] | |
default['mysql']['tunable']['open-files'] | |
default['mysql']['tunable']['skip-character-set-client-handshake'] |
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/bash | |
# playing with iteration | |
# keys.txt contains two ssh keys, one per line | |
KEYS=$(cat keys.txt) | |
IFS=$'\n' | |
for key in ${KEYS} |
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/bash | |
set -e | |
# cleanup a git repo, removing fully merged branches (locally and remotely) | |
# based on http://devblog.springest.com/a-script-to-remove-old-git-branches | |
# run from the repo to be cleaned | |
# TODO: store lists of branches, DRY (don't want list to change after confirm) |
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/bash | |
# lfn-tcp-cfg.sh - tune kernel params for better throughput in high-latency situations. | |
# | |
# note that these settings don't persist past a reboot | |
# SEA <-> ORD has 55-60ms RTT. Assume nominal 65ms and 500mbps available bandwidth | |
# BDP = B/s * RTT(s) | |
# = 500mbps * 65ms | |
# = 3.6MB (3,611,111 B) : w/ 1475B MTU, ~2450 packets |
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
Hello Chefs! | |
The Opscode Community Summit [1] is a little more than a month away. It | |
looks like we're going to sell out of all tickets soon so please register | |
ASAP. The hotel has informed us that our room block is almost full, too. | |
Register today for the Opscode Community Summit - November 12 & 13 in | |
Seattle, WA! | |
Some of you have attended previous Community Summits and, I'm sure, would |
OlderNewer