Revision 359a604f
Added by Ivan Necas about 10 years ago
modules/puppet/templates/server/config.ru.erb | ||
---|---|---|
### Next part of the file is managed by a different template ###
|
||
## Module: '<%= scope.to_hash['module_name'] %>'
|
||
<% module_paths = Puppet::Node::Environment.current[:modulepath].split(':').map{|i| File.expand_path(i) }.join("|") -%>
|
||
## Template source: 'MODULES<%= template_source.gsub(Regexp.new("^#{module_paths}"),"") %>'
|
||
# a config.ru, for use with every rack-compatible webserver.
|
||
# SSL needs to be handled outside this, though.
|
||
|
Also available in: Unified diff
Update puppet modules