Browse Source

Issue_749 Add 'managed by puppet' to config files

Alex Harvey 8 years ago
parent
commit
d2839c723c

+ 1 - 0
templates/conf.d/geo.erb

@@ -1,3 +1,4 @@
+# MANAGED BY PUPPET
 <%
   # sorting ip addresses in ascending order is more efficient for nginx - so we need
   # to convert them to numbers first via IPAddr

+ 1 - 0
templates/conf.d/map.erb

@@ -1,3 +1,4 @@
+# MANAGED BY PUPPET
 map <%= @string %> $<%= @name %> {
 <% if @hostnames -%>
   hostnames;

+ 1 - 0
templates/conf.d/nginx.conf.erb

@@ -1,3 +1,4 @@
+# MANAGED BY PUPPET
 <% if @super_user -%>
 user <%= @daemon_user %>;
 <% end -%>

+ 1 - 0
templates/conf.d/upstream_header.erb

@@ -1,3 +1,4 @@
+# MANAGED BY PUPPET
 upstream <%= @name %> {
 <% if @upstream_cfg_prepend -%><% @upstream_cfg_prepend.sort_by{|k,v| k}.each do |key,value| %>
 <% if value.is_a?(Hash) -%><% value.each do |subkey,subvalue| -%>

+ 1 - 1
templates/mailhost/mailhost.erb

@@ -1,4 +1,4 @@
-
+# MANAGED BY PUPPET
 server {
 <%- if @listen_ip.is_a?(Array) then -%>
   <%- @listen_ip.each do |ip| -%>

+ 1 - 1
templates/mailhost/mailhost_ssl.erb

@@ -1,4 +1,4 @@
-
+# MANAGED BY PUPPET
 server {
 <%- if @listen_ip.is_a?(Array) then -%>
   <%- @listen_ip.each do |ip| -%>

+ 1 - 0
templates/streamhost/streamhost.erb

@@ -1,3 +1,4 @@
+# MANAGED BY PUPPET
 server {
 <%- if @listen_ip.is_a?(Array) then -%>
   <%- @listen_ip.each do |ip| -%>

+ 1 - 0
templates/vhost/vhost_header.erb

@@ -1,3 +1,4 @@
+# MANAGED BY PUPPET
 <% if @rewrite_www_to_non_www -%>
 <%- @server_name.each do |s| -%>
 server {

+ 1 - 0
templates/vhost/vhost_ssl_header.erb

@@ -1,3 +1,4 @@
+# MANAGED BY PUPPET
 <% if @rewrite_www_to_non_www -%>
 <%- @server_name.each do |s| -%>
 server {