The Hole Hawg is a drill made by the Milwaukee Tool Company. If you look in a typical hardware store you may find smaller Milwaukee drills but not the Hole Hawg, which is too powerful and too expensive for homeowners. The Hole Hawg does not have the pistol-like design of a cheap homeowner's drill. It is a cube of solid metal with a handle sticking out of one face and a chuck mounted in another. The cube contains a disconcertingly potent electric motor. You can hold the handle and operate the trigger with your index finger, but unless you are exceptionally strong you cannot control the weight of the Hole Hawg with one hand; it is a two-hander all the way. In order to fight off the counter-torque of the Hole Hawg you use a separate handle (provided), which you screw into one side of the iron cube or the other depending on whether you are using your left or right hand to operate the trigger. This handle is not a sleek, ergonomically designed item as it would be in a homeowner's drill. It is simply a foot-long ch
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['elasticsearch']['version'] = "0.19.6" | |
default['elasticsearch']['checksum'] = 'f0ec550fb86c4bc8f08afb15de4e197e85f9fcfd352fbb7eb49aaff98f7731dd' | |
default['elasticsearch']['url'] = "http://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-#{node['elasticsearch']['version']}.tar.gz" | |
default['elasticsearch']['home_path'] = "/usr/lib" | |
default['elasticsearch']['home_dir'] = "#{node['elasticsearch']['home_path']}/elasticsearch" |
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
template "/etc/bind/named.conf.local" do | |
source "named.conf.local.erb" | |
owner "root" | |
group "bind" | |
mode 00644 | |
variables({ | |
:role => node["bind"]["role"], | |
:masters => node["bind"]["masters"], | |
:directory => node["bind"]["zone_dir"] | |
}) |
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::Config.run do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
# The path to the Berksfile to use with Vagrant Berkshelf | |
# config.berkshelf.berksfile_path = "./Berksfile" | |
# An array of symbols representing groups of cookbook described in the Vagrantfile | |
# to skip installing and copying to Vagrant's shelf. |
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
config.vm.provision :chef_solo do |chef| | |
chef.json = { | |
:mysql => { | |
:server_root_password => 'rootpass', | |
:server_debian_password => 'debpass', | |
:server_repl_password => 'replpass' | |
} | |
} | |
chef.run_list = [ |
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
#Disable Server Manager | |
windows_registry 'HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\Chef2013Feb-DisableServerManager' do | |
type :string | |
values 'Version' => "1.0", 'StubPath' => 'reg add HKCU\Software\Microsoft\ServerManager /v "DoNotOpenServerManagerAtLogon" /d "1" /t REG_DWORD /f' | |
action :create | |
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
chef.json = { | |
:mysql => { | |
:server_root_password => 'rootpass', | |
:server_debian_password => 'debpass', | |
:server_repl_password => 'replpass' | |
}, | |
:resolver => { | |
:nameservers => [ | |
"8.8.8.8", | |
"8.8.4.4" |
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
sudo mkdir -p /usr/local/bin; \ | |
sudo chown -R $(whoami) /usr/local/bin; \ | |
ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl |
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
curl -o ~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages/Package\ Control.sublime-package https://sublime.wbond.net/Package%20Control.sublime-package |
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
node.default["copy_file"]["source"] = '/root/foo' | |
node.default["copy_file"]["destination"] = '/tmp/foonew' | |
file node["copy_file"]["source"] do | |
action :create | |
content "This is a file created by Chef!\n" | |
owner "root" | |
group "root" | |
mode "0644" |
OlderNewer