Revision c8e1f3b6
Added by Dmitri Dolguikh about 10 years ago
templates/_header.erb | ||
---|---|---|
### File managed with puppet ###
|
||
## 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}"),"") %>'
|
Also available in: Unified diff
fixes #4357: Removed template source from the header