lib/poolparty/modules/user_helpers.rb
def require_user_directory(dirname)    
    begin
      cloud_dir = ::File.dirname($pool_specfile)
      Dir["#{cloud_dir}/#{dirname}/**"].each {|a| require a }
    rescue Exception => e
      vputs "Error requiring user directory #{dirname}: #{e}"
    end
  end
# Require all the files in a directory below the base
Require all the files in a directory below the base
Require all the files in a directory below the base
def require_user_directory(dirname)    
    begin
      cloud_dir = ::File.dirname($pool_specfile)
      Dir["#{cloud_dir}/#{dirname}/**"].each {|a| require a }
    rescue Exception => e
      vputs "Error requiring user directory #{dirname}: #{e}"
    end
  end
def require_user_directory ( dirname ) begin cloud_dir = :: File . dirname ( $pool_specfile ) Dir [ "#{cloud_dir}/#{dirname}/**" ] . each { | a | require a } rescue Exception => e vputs "Error requiring user directory #{dirname}: #{e}" end end
Require all the files in a directory below the base
Require all the files in a directory below the base
dirname