David Masover
unread,Mar 17, 2008, 8:24:00 PM3/17/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to capis...@googlegroups.com
Default capfile looks like this, right?
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
So, now I'm writing some common recipes, to be distributed as plugins, or as part of a plugin. It seems to me that it makes sense to set some default value for a variable, and let config/deploy.rb override it if necessary, keeping it a nice, small config file -- but that would require that the above lines be reversed, right?
Am I missing any particular reason deploy is loaded first, and plugins second?