Module: Elzar::AwsConfig
- Defined in:
- lib/elzar/aws_config.rb
Defined Under Namespace
Classes: ConfigFileNotFound
Constant Summary collapse
- DEFAULT_CONFIG_DIR =
'provision/'
- CONFIG_FILE =
'aws_config.yml'
- PRIVATE_CONFIG_FILE =
'aws_config.private.yml'
Class Method Summary collapse
Class Method Details
.load_configs(config_directory = nil) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/elzar/aws_config.rb', line 18 def load_configs(config_directory = nil) config_directory ||= DEFAULT_CONFIG_DIR config_file, private_config_file = find_config_files(config_directory) read_and_merge_config_files(config_file, private_config_file) end |