Class: Yun::Config
- Inherits:
-
Object
- Object
- Yun::Config
- Defined in:
- lib/yun/config.rb
Class Method Summary collapse
- .aws_access_key_id ⇒ Object
- .aws_secret_access_key ⇒ Object
- .chef_repo ⇒ Object
- .get_image(os_name) ⇒ Object
- .get_user(os_name) ⇒ Object
- .images ⇒ Object
- .key_name ⇒ Object
- .region ⇒ Object
Class Method Details
.aws_access_key_id ⇒ Object
6 7 8 |
# File 'lib/yun/config.rb', line 6 def self.aws_access_key_id setting[:aws_access_key_id] end |
.aws_secret_access_key ⇒ Object
10 11 12 |
# File 'lib/yun/config.rb', line 10 def self.aws_secret_access_key setting[:aws_secret_access_key] end |
.chef_repo ⇒ Object
22 23 24 |
# File 'lib/yun/config.rb', line 22 def self.chef_repo setting[:chef_repo] end |
.get_image(os_name) ⇒ Object
26 27 28 |
# File 'lib/yun/config.rb', line 26 def self.get_image os_name setting[:os][os_name.to_sym][:image] end |
.get_user(os_name) ⇒ Object
30 31 32 |
# File 'lib/yun/config.rb', line 30 def self.get_user os_name setting[:os][os_name.to_sym][:user] end |
.images ⇒ Object
34 35 36 |
# File 'lib/yun/config.rb', line 34 def self.images setting[:os] end |
.key_name ⇒ Object
18 19 20 |
# File 'lib/yun/config.rb', line 18 def self.key_name setting[:key_name] end |
.region ⇒ Object
14 15 16 |
# File 'lib/yun/config.rb', line 14 def self.region setting[:region] end |