Sha256: 6c61970bec80dd2637c11e7d32db14dd57d6c49f46f83a41a399b3adb627813e
Contents?: true
Size: 910 Bytes
Versions: 1
Compression:
Stored size: 910 Bytes
Contents
require 'elzar/version' require 'elzar/template' require 'elzar/assistant' require 'elzar/aws_config' require 'elzar/compute' require 'elzar/core_ext/hash' module Elzar ROOT_DIR = File.expand_path File.dirname(__FILE__) + '/../' CHEF_DIR = "#{ROOT_DIR}/chef" ROLES_DIR = "#{CHEF_DIR}/roles" # order matters COOKBOOK_DIRS = ['site-cookbooks', 'cookbooks'] def self.templates_dir @templates_dir ||= "#{ROOT_DIR}/lib/elzar/templates" end def self.create_provision_directory(destination, options={}) Assistant.create_user_provision_dir destination.to_s, options Assistant.generate_files destination.to_s, options end def self.merge_and_create_temp_directory(user_dir) Assistant.merge_and_create_temp_directory user_dir end def self.vagrant_cookbooks_path COOKBOOK_DIRS.map {|dir| "#{CHEF_DIR}/#{dir}" } end def self.vagrant_roles_path ROLES_DIR end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
elzar-0.2.0 | lib/elzar.rb |