Module: Yutani
- Defined in:
- lib/yutani.rb,
lib/yutani/cli.rb,
lib/yutani/mod.rb,
lib/yutani/hiera.rb,
lib/yutani/stack.rb,
lib/yutani/utils.rb,
lib/yutani/config.rb,
lib/yutani/version.rb,
lib/yutani/provider.rb,
lib/yutani/resource.rb,
lib/yutani/reference.rb,
lib/yutani/dsl_entity.rb,
lib/yutani/directory_tree.rb
Defined Under Namespace
Modules: Hiera, Utils Classes: Cli, Config, DSLEntity, DirectoryTree, Mod, Provider, Reference, Resource, ResourceAttribute, Stack, SubResource
Constant Summary collapse
- VERSION =
'0.0.5'
Class Attribute Summary collapse
-
.entry_path ⇒ Object
Returns the value of attribute entry_path.
-
.hiera ⇒ Object
Returns the value of attribute hiera.
-
.logger ⇒ Object
Returns the value of attribute logger.
-
.stacks ⇒ Object
Returns the value of attribute stacks.
Class Method Summary collapse
- .build_from_file(file) ⇒ Object
- .config(override = {}) ⇒ Object
- .stack(name, **scope, &block) ⇒ Object
Class Attribute Details
.entry_path ⇒ Object
Returns the value of attribute entry_path.
22 23 24 |
# File 'lib/yutani.rb', line 22 def entry_path @entry_path end |
.hiera ⇒ Object
Returns the value of attribute hiera.
22 23 24 |
# File 'lib/yutani.rb', line 22 def hiera @hiera end |
.logger ⇒ Object
Returns the value of attribute logger.
22 23 24 |
# File 'lib/yutani.rb', line 22 def logger @logger end |
.stacks ⇒ Object
Returns the value of attribute stacks.
22 23 24 |
# File 'lib/yutani.rb', line 22 def stacks @stacks end |
Class Method Details
.build_from_file(file) ⇒ Object
50 51 52 53 54 55 56 57 58 |
# File 'lib/yutani.rb', line 50 def build_from_file(file) Yutani.entry_path = file instance_eval(File.read(file), file) unless stacks.empty? stacks.each {|s| s.to_fs} end end |