Module: EY
- Defined in:
- lib/engineyard-metadata.rb,
lib/engineyard-metadata/insider.rb,
lib/engineyard-metadata/version.rb,
lib/engineyard-metadata/chef_dna.rb,
lib/engineyard-metadata/metadata.rb,
lib/engineyard-metadata/outsider.rb,
lib/engineyard-metadata/amazon_ec2_api.rb,
lib/engineyard-metadata/ssh_alias_helper.rb,
lib/engineyard-metadata/engine_yard_cloud_api.rb
Defined Under Namespace
Classes: Metadata
Class Method Summary collapse
Class Method Details
.metadata ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/engineyard-metadata.rb', line 5 def self. @metadata ||= if ::File.directory?('/var/log/engineyard') Metadata::Insider.new else Metadata::Outsider.new end end |
.reload_metadata ⇒ Object
13 14 15 |
# File 'lib/engineyard-metadata.rb', line 13 def self. @metadata = nil end |