Tasks to setup Domain information via Slicehost's API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.textile
slicehost.rake

README.textile

  1. First get your API Access key from Slicehost
  2. Next, find out the IP of your slice

Set the following constants to the information that you collected above

  1. SLICE_IP = “ip_of_slice”
  2. API_PASSWORD = “api_key”

Based off Ben Wyrosdick’s post

http://blog.commonthread.com/2008/5/21/slicehost-api-saves-the-day

To use this, ruby the following on the commandline (might need to run it twice, if it complains about not finding the zone)

ruby slicehost:setup DOMAIN=

i.e.
ruby slicehost:setup DOMAIN=yourmomwearsarmyboots

TODOS

  1. Need to fix the first-time error of not finding a zone