Commit 3cd082ea authored by Lucas Nussbaum's avatar Lucas Nussbaum
Browse files

[dev] fix template for generators

parent d161c2b0
Pipeline #50060 passed with stages
in 1 minute and 34 seconds
...@@ -58,7 +58,7 @@ class DNS::Zone ...@@ -58,7 +58,7 @@ class DNS::Zone
attr_accessor :include attr_accessor :include
def get_header def get_header
content = "; This file was generated by reference-repository.git/generators/puppet/bindg5k.rb\n; Do not edit this file by hand. Your changes will be overwritten.\n" content = "; This file was generated by reference-repository.git\n; Do not edit this file by hand. Your changes will be overwritten.\n"
if header if header
content += "$TTL 3h\n" content += "$TTL 3h\n"
content += soa.dump + "\n" content += soa.dump + "\n"
......
...@@ -41,7 +41,7 @@ end ...@@ -41,7 +41,7 @@ end
def add_header(output_file) def add_header(output_file)
header_template = <<-eol header_template = <<-eol
# #
# This file was generated by reference-repository.git/generators/puppet/<%= File.basename($PROGRAM_NAME) %> # This file was generated by reference-repository.git
# Do not edit this file by hand. Your changes will be overwritten. # Do not edit this file by hand. Your changes will be overwritten.
# #
eol eol
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment