Class: Cuoco::ConfigGenerator
- Inherits:
-
Object
- Object
- Cuoco::ConfigGenerator
- Defined in:
- lib/cuoco/config_generator.rb
Class Method Summary collapse
Class Method Details
.chef_config(scope) ⇒ Object
5 6 7 8 |
# File 'lib/cuoco/config_generator.rb', line 5 def self.chef_config(scope) template_path = File.(File.join(__FILE__, '..', '..', '..', 'templates', 'solo.rb.erb')) ERB.new(File.read(template_path)).result(scope) end |