Created
April 23, 2010 10:06
-
-
Save wheresalice/376409 to your computer and use it in GitHub Desktop.
Shows all modules available across all Aegir platforms. Doesn't test if they're in use or not
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'find' | |
modules = [] | |
Find.find('/var/aegir/platforms') { |file| modules << File.basename(file) if File.basename(file) =~ /\.module$/ } | |
puts modules.sort.uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment