Class: Ec2::SaltCloud
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#hosts_file ⇒ Object
writeonly
Sets the attribute hosts_file.
Instance Method Summary collapse
-
#initialize ⇒ SaltCloud
constructor
A new instance of SaltCloud.
- #run ⇒ Object
Methods included from Logger
#debug?, #logger, logger, #stderr, stderr
Constructor Details
#initialize ⇒ SaltCloud
Returns a new instance of SaltCloud.
17 18 |
# File 'lib/ec2/salt_cloud.rb', line 17 def initialize end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
15 16 17 |
# File 'lib/ec2/salt_cloud.rb', line 15 def config @config end |
#hosts_file=(value) ⇒ Object
Sets the attribute hosts_file
14 15 16 |
# File 'lib/ec2/salt_cloud.rb', line 14 def hosts_file=(value) @hosts_file = value end |
Instance Method Details
#run ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/ec2/salt_cloud.rb', line 20 def run init_working_dir copy_providers copy_profiles copy_master_config copy_deploy_scripts init_aws render_global_profiles render_local_profile run_salt_cloud end |