pkg:setup (var/"log/trafficserver").mkpath (var/"trafficserver").mkpath config = etc/"trafficserver/records.config" return unless File.exist?(config) return if File.read(config).include?("proxy.config.admin.user_id STRING #{ENV["USER"]}") config.append_lines "CONFIG proxy.config.admin.user_id STRING #{ENV["USER"]}"