Commit Graph

201 Commits

Author SHA1 Message Date
R. Tyler Croy f28fcdab6b Add a simple Linux/Puppet script to kickstart Puppet on Debian-based hosts
This has only been tested on Ubuntu 10.04 LTS
2012-07-08 23:43:22 -07:00
R. Tyler Croy 07a7538eb8 Add a simple script for kick-starting Puppet on a FreeBSD machine 2012-07-08 23:27:19 -07:00
R. Tyler Croy d62af61791 Silence the output of the rsync check 2012-07-08 16:33:36 -07:00
R. Tyler Croy 739a3bb3d1 Handle falling back to tar+scp if the remote host lacks an rsync(1) binary
Fixes #40
2012-07-08 16:20:21 -07:00
R. Tyler Croy bf2d626696 Only invoke sudo if the username isn't already root
Fixes #41
2012-07-08 16:09:45 -07:00
R. Tyler Croy ed1741efa7 Update to 0.3.6 to release 2012-06-18 12:39:46 -07:00
R. Tyler Croy 6a9eaf3776 When using the :cwd livery, copy over the entire symlinked dirs 2012-06-17 14:06:14 -07:00
R. Tyler Croy 6af8bfe09c Correct regression when passing shell arguments through to ssh when invoking `blimpy ssh`
This restores the behavior of being able to script blimpy with:

    % blimpy ssh mycloud "ls /etc"
2012-06-09 22:51:37 -07:00
R. Tyler Croy ba579bc94c Enable the testing of scp 2012-05-30 19:36:08 -07:00
R. Tyler Croy 520ee78345 Clean up the README's Blimpfile options 2012-05-21 11:19:21 -07:00
R. Tyler Croy d3c8ea613f Don't perform the save on security group when we create it, not needed 2012-05-20 14:16:39 -07:00
R. Tyler Croy a4f31b6030 Add port 22 and 8080 to the autogenerated Blimpfile 2012-05-20 14:07:57 -07:00
R. Tyler Croy c777836df7 Automatically create security groups, ensuring that at the very least port 22 is opened
Fixes #11
2012-05-20 14:06:55 -07:00
R. Tyler Croy ac5a419142 Implement SecurityGroups#group_id to provide a consistent unique ID for security groups 2012-05-20 13:38:45 -07:00
R. Tyler Croy 41484c8dd2 Version bump lulz 2012-05-20 11:53:34 -07:00
R. Tyler Croy ebfedbe37d .Fix ssh commands now that #server is hidden on Box
Fixes #38
2012-05-20 11:52:45 -07:00
R. Tyler Croy f1664b3c58 Fix these stupid test failures 2012-05-20 10:56:43 -07:00
R. Tyler Croy 1a3cb8add7 Add a ludicrously unnecessary animation for blimpy start
Fixes #20, #23
2012-05-20 10:53:31 -07:00
R. Tyler Croy c1d6dd61e3 Flesh out the readme a bit more 2012-05-20 10:30:32 -07:00
R. Tyler Croy 13960f231d Minor version bump while we're at it 2012-05-19 17:25:02 -07:00
R. Tyler Croy 48fcecea5c Add support for passing in the machine "flavor" in the Blimpfile
Fixes #24
2012-05-19 17:24:06 -07:00
R. Tyler Croy 8b00e78cb2 Hide the @server object
Fixes #8
2012-05-19 17:12:50 -07:00
R. Tyler Croy 7b9098ef65 Refactor the creation of a Fog object out into its own method to help with creation/validation
Fixes #36
2012-05-19 15:54:22 -07:00
R. Tyler Croy d612a342ca Refactor the AWS validation to use the box's current @server for validation
Fixes #36
2012-05-19 15:39:25 -07:00
R. Tyler Croy 194753d1b0 Stop printing out the tempdirs when running Cucumber scenarios 2012-05-19 15:18:01 -07:00
R. Tyler Croy d2d5c9fee2 Print a useful error message instead of a gnarly stacktrace when the Blimpfile is busted
Fixes #27
2012-05-19 15:17:34 -07:00
R. Tyler Croy 12ca019fd5 Create the correct Blimpfile on `init`
Not sure how to come up with a good test for this to be honest.

Fixes #33
2012-05-19 14:51:35 -07:00
R. Tyler Croy cf2f452d45 Make `blimpy provision` run provisioning on all running VMs
Not very well tested, manually testing in another project currently. But
starting to add the necessaru Cucumber scenarios for provisioning

Fixes #30
2012-05-19 12:37:02 -07:00
R. Tyler Croy 81bd6d5cee Rename the `list` command to `status`
Fixes #12
2012-05-19 12:21:19 -07:00
R. Tyler Croy 9f2554722c Use the right class method when setting up the @server object on `provision`
Fixes #31
2012-05-19 12:19:32 -07:00
R. Tyler Croy 5548946759 Update the :cwd livery to use rsync instead of tarballs for pushing to the hosts 2012-05-19 12:13:45 -07:00
R. Tyler Croy 91713e6527 Update the readme for the new Fleet.add method signature 2012-05-19 11:46:06 -07:00
R. Tyler Croy b51921997d Lots of API changes, let's call this 0.3 for now 2012-05-19 11:32:46 -07:00
R. Tyler Croy 2420253da4 Persist the box type to the state file so we can reconstruct the correct class later 2012-05-19 11:32:21 -07:00
R. Tyler Croy 46022b7b58 Mark the openstack feature as WIP for now 2012-05-19 11:32:02 -07:00
R. Tyler Croy 6cba71cfa8 iAdd the beginnings of an OpenStack box
This is going to be tricky to develop since I only have limited access to an
OpenStack cluster
2012-05-19 11:31:15 -07:00
R. Tyler Croy 767819681e Support a nilled out allowed_regions
That way, more custom cloud providers like OpenStack won't do any up-front restrictions
2012-05-18 15:30:05 -07:00
R. Tyler Croy 6e661895e9 Move Box validation to be a box specific method 2012-05-18 15:29:31 -07:00
R. Tyler Croy bdac182237 Start pulling the AWS specific bits into Blimpy::Boxes::AWS 2012-05-18 15:09:11 -07:00
R. Tyler Croy 9521ff7eb6 Add a failing scenario for using an :opnstack type 2012-05-18 14:42:14 -07:00
R. Tyler Croy 9055d7f8b7 Require all additions to a Fleet to specify the ship type (e.g. :aws)
This will make supporting more fog-backed types easier
2012-05-18 14:41:45 -07:00
R. Tyler Croy 6fab823b18 Add build status to the readme 2012-05-18 10:37:55 -07:00
R. Tyler Croy 2fa242c399 Fix this spec to properly run when a ~/.fog is not present
Fixes #26
2012-05-18 10:34:50 -07:00
R. Tyler Croy 670c1e2b1a Add a default Rake task for BuildHive 2012-05-17 11:40:59 -07:00
R. Tyler Croy 48b3adb07d Add a simple, potentially stupid, `blimpy provision <name>` command to re-run the livery
This should speed up development of liveries for the time being

Fixes #22
2012-04-28 22:44:44 -07:00
R. Tyler Croy f8ebdb514f YAY VERSIONS 2012-04-28 22:20:17 -07:00
R. Tyler Croy 37413de051 Refactor the wait_for_sshd code to handle sshd's weird behavior when coming online
It /seems/ that sshd(8) will start listening on port 22 before it will actually
construct an SSH session. To mitigate this we'll actually try to set up an SSH
session and continue trying until we succeed or timeout
2012-04-28 22:11:04 -07:00
R. Tyler Croy 8a313fe6a6 Only start bootstrapping a host once we're certain that it is online 2012-04-28 21:37:31 -07:00
R. Tyler Croy efe1c7230c Add woefully undertested support for a :cwd livery
There's plenty of haxx in here right now, not super certain how to properly
test this in any automated sense
2012-04-28 21:32:19 -07:00
R. Tyler Croy 4e0d26fb43 Add support for tarballing up directories to send along to the hosts 2012-04-28 21:23:00 -07:00