Project

General

Profile

« Previous | Next » 

Revision 366e9091

Added by Ewoud Kohl van Wijngaarden almost 11 years ago

Do not add the served by to the header

In our workflow we use a staging server and do a puppet agent -t
--server --noop to see what changed. The served by header changes all
the files and triggers lots of refreshes. This makes it very hard to
spot what changed and what not.

View differences:

templates/_header.erb
### File managed with puppet ###
## Served by: '<%= scope.lookupvar('::servername') %>'
## Module: '<%= scope.to_hash['module_name'] %>'
<%
module_paths = Puppet::Node::Environment.current[:modulepath].split(':').map{|i| File.expand_path(i) }.join('|')

Also available in: Unified diff