neoinfra.rb 671 B

123456789101112131415161718192021
  1. # frozen_string_literal: true
  2. lib_dir = File.join(File.dirname(File.expand_path(__FILE__)))
  3. $LOAD_PATH.unshift(lib_dir) unless
  4. $LOAD_PATH.include?(lib_dir) || $LOAD_PATH.include?(lib_dir)
  5. models_dir = File.join(File.dirname(File.expand_path(__FILE__)), '..', 'models')
  6. $LOAD_PATH.unshift(models_dir) unless
  7. $LOAD_PATH.include?(models_dir) || $LOAD_PATH.include?(models_dir)
  8. # The supplies all of the various neoinfra info
  9. module NeoInfra
  10. require 'neoinfra/config'
  11. require 'neoinfra/audit'
  12. require 'neoinfra/accounts'
  13. require 'neoinfra/aws'
  14. require 'neoinfra/vpcs'
  15. require 'neoinfra/nodes'
  16. require 'neoinfra/cloudwatch'
  17. require 'neoinfra/graph'
  18. end