- From: Jacques Marneweck <
>
- To:
- Subject: [chef] "DOS" line endings in Stingray TrafficScript rules
- Date: Sun, 9 Dec 2012 16:39:37 +0200
Hi,
I am working at the moment on having chef to render templates for some traffic script rules. One issue I'm running into is that when chef renders the template the DOS line ending (CR (shows up as ^M in vim)) is not rendering into the file. Is there a way to force chef to put that DOS line ending into the output file?
--- /tmp/test-pool 2012-12-09 14:18:06.501954361 +0000
+++ /opt/stingray/zxtm/conf/rules/virtualmin-sfo__choose-backend-pool 2012-12-06 19:43:58.088309481 +0000
@@ -1,4 +1,4 @@
-#=-chooses pool based on the path i.e. /amstel goes to webmin-amstel pool
+#=-chooses pool based on the path i.e. /amstel goes to webmin-amstel pool
$path = http.getPath();
# Shared Hosts
Regards
- [chef] "DOS" line endings in Stingray TrafficScript rules, Jacques Marneweck, 12/09/2012
Archive powered by MHonArc 2.6.16.