Project

General

Profile

« Previous | Next » 

Revision 359a604f

Added by Ivan Necas about 10 years ago

Update puppet modules

View differences:

modules/puppet/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