Module: Elzar
- Defined in:
- lib/elzar.rb,
lib/elzar/cli.rb,
lib/elzar/compute.rb,
lib/elzar/version.rb,
lib/elzar/template.rb,
lib/elzar/assistant.rb,
lib/elzar/aws_config.rb,
lib/elzar/ssh_key_locator.rb
Defined Under Namespace
Modules: Assistant, AwsConfig, Cli, Compute, SshKeyLocator, Template
Constant Summary
collapse
- ROOT_DIR =
File.expand_path File.dirname(__FILE__) + '/../'
- CHEF_DIR =
"#{ROOT_DIR}/chef"
- ROLES_DIR =
"#{CHEF_DIR}/roles"
- COOKBOOK_DIRS =
['site-cookbooks', 'cookbooks']
- VERSION =
'0.2.0'
Class Method Summary
collapse
Class Method Details
.create_provision_directory(destination, options = {}) ⇒ Object
.merge_and_create_temp_directory(user_dir) ⇒ Object
.templates_dir ⇒ Object
16
17
18
|
# File 'lib/elzar.rb', line 16
def self.templates_dir
@templates_dir ||= "#{ROOT_DIR}/lib/elzar/templates"
end
|
.vagrant_cookbooks_path ⇒ Object
29
30
31
|
# File 'lib/elzar.rb', line 29
def self.vagrant_cookbooks_path
COOKBOOK_DIRS.map {|dir| "#{CHEF_DIR}/#{dir}" }
end
|
.vagrant_roles_path ⇒ Object
33
34
35
|
# File 'lib/elzar.rb', line 33
def self.vagrant_roles_path
ROLES_DIR
end
|