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
### Keybase proof | |
I hereby claim: | |
* I am damm on github. | |
* I am damm (https://keybase.io/damm) on keybase. | |
* I have a public key whose fingerprint is 0698 3E59 0FAC 603B FEBF 80EE 2609 1D8B CD51 3E23 | |
To claim this, I am signing this object: |
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
<console type='pty' tty='/dev/pts/3'> | |
<source path='/dev/pts/3'/> | |
<target port='0'/> | |
</console> |
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
mayo:~ sudo virsh dumpxml chefserver | |
Connecting to uri: qemu:///system | |
<domain type='kvm' id='20'> | |
<name>chefserver</name> | |
<uuid>e13f3fac-1a96-253c-2e46-4597ce2c9e44</uuid> | |
<memory>524288</memory> | |
<currentMemory>524288</currentMemory> | |
<vcpu>1</vcpu> | |
<os> | |
<type arch='x86_64' machine='pc'>hvm</type> |
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
{ "run_list": { | |
[ | |
"recipe[sudo]", | |
"recipe[ntp]", | |
"recipe[host]", | |
"recipe[sshkeys]", | |
"recipe[zsh]", | |
"role[Staging]" | |
] | |
} |
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
users({ | |
:bob => { | |
:gecos => "Brash Deploy User", | |
:shell => "/bin/bash", | |
:home => "/home/deploy" | |
} | |
} | |
) |
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
LogFormat "%V\t%{X-Forwarded-For}i\t%h\t%{%s}t\t%>s\t%b\t%D\t%X\t\"%r\"\t\"%{Referer}i\"\t\"%{User-Agent}i\"" common |
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
# Example MySQL config file for medium systems. | |
# | |
# This is for a system with little memory (32M - 64M) where MySQL plays | |
# an important part, or systems up to 128M where MySQL is used together with | |
# other programs (such as a web server) | |
# | |
# You can copy this file to | |
# /etc/my.cnf to set global options, | |
# mysql-data-dir/my.cnf to set server-specific options (in this | |
# installation this directory is C:\mysql\data) or |
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
keys = [] | |
search(:node, "*") do |server| | |
server['keys_ssh_host_rsa_public'].each do |x| | |
Chef::Log.debug("SSH RSA Key #{x}") | |
my_host_rsa_public << x | |
end | |
server['ipaddress'].each do |y| | |
Chef::Log.debug("IP Address #{y}") | |
my_host_ip << y | |
end |
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
{ | |
"default_interface": "br0", | |
"interfaces": { | |
"br0": { | |
"flags": [ | |
"UP", | |
"BROADCAST", | |
"RUNNING", | |
"MULTICAST" | |
], |
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
{ | |
"default_interface": "en0", | |
"interfaces": { | |
"stf0": { | |
"number": "0", | |
"flags": [ | |
], | |
"addresses": { |
OlderNewer