From ec17e43a86aa29711ca33c590419e3463bec1097 Mon Sep 17 00:00:00 2001 From: Russ Allbery <rra@stanford.edu> Date: Tue, 2 Jul 2013 14:40:39 -0700 Subject: [PATCH] Remove obsolete newsyslog template test script This was testing the old Apache newsyslog configuration template, which no longer exists. --- templates/newsyslog/test-template.rb | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 templates/newsyslog/test-template.rb diff --git a/templates/newsyslog/test-template.rb b/templates/newsyslog/test-template.rb deleted file mode 100644 index 1e837c8..0000000 --- a/templates/newsyslog/test-template.rb +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/ruby -# test the erb template with variables below - -require 'erb' - -template = File.readlines("apache.erb").to_s -message = ERB.new(template, 0, "%<>") - -os = "debian" -name = '' -#logs = [ "/var/log/httpd/custom.log", "/var/log/httpd/my.log" ] -logs = [] -client = '' -group = '' -subname = '' - -results = message.result -puts results -- GitLab