Skip to content

Instantly share code, notes, and snippets.

@dlutzy
dlutzy / links3.rb
Created August 27, 2012 00:47
Test Driven Sysadmin 6
dep 'links.bin' do
met? {
which "links"
}
installs "links"
end
@dlutzy
dlutzy / gist:3484567
Created August 27, 2012 00:11
Test Driven Sysadmin 2
#!/bin/bash
if which links > /dev/null
then
echo "Test passed. links is already installed"
else
echo "Test failed. links is not installed, installing now..."
echo "apt-get -y install links"
apt-get -y install links

Keybase proof

I hereby claim:

  • I am dlutzy on github.
  • I am dlutzy (https://keybase.io/dlutzy) on keybase.
  • I have a public key whose fingerprint is 7BB5 E7B4 DF8A 0DE8 822B 135E 5BD2 F33C 30A9 535D

To claim this, I am signing this object: