Getting Started Manual.
Reported by coryodaniel | September 22nd, 2008 @ 11:41 AM | in Rubie Can't Fail (0.9.6)
Documenation for the Following use cases: * Deploying software * Setting up applications for new developers * Setting up your workstation for personal preference * Setting up warningshot to configure your app * Extending warning shot with newplugins * Modifying plugins on the fly
Examples of modifying behavior of a resolver
Changing the way files are resolved
FileResolver.flush_resolutions! FileResolver.register_resolution do |dependency| FileUtils.cp MagicObjectThatCreatesFiles, dependency.local end
Add to hardware.yml
- {type: cdrom, value:true}
after warning shot is required
HardwareResolver.register_test :condition => lambda {|hw| hw.type == 'cdrom'} do |hw| #your logic to determine if a cdrom is present. end
Comments and changes to this ticket
-
coryodaniel October 10th, 2008 @ 03:11 PM
Other use cases:
- Net Admin staging an nginx server with warning shot
- Net Admin staging a mysql server with warning shot
-
coryodaniel November 8th, 2008 @ 12:13 PM
- Milestone set to Rubie Can't Fail (0.9.6)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
WarningShot is Depedendency Resolution Framework. Applications can be configured with WarningShot config files, and WarningShot will make sure the environment is configured correctly.
Great for deploying to freshly installed servers or for new developers who don't want to read through a wiki to figure out how to set an application up.
WarningShot is easy to extend and comes packaged with a number of dependency resolvers including: file, directories, binaries, and so forth.