Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

How to remove extra white spaces in a template in puppet

$
0
0
I want to put a/few values in a file using puppet but when I do the following:<% @_zoo_cfgs.each do |zooconfig| -%><%=zooconfig -%><% end -%> I get the below content in the file: server.1=a1-dev-mem333.lab.lynx-connected.com:2888:3888 But I want the below content: server.1=a1-dev-mem333.lab.lynx-connected.com:2888:3888 with no extra white spaces in the file before or after the value. Could anyone please let me know how could this be done? Any help will be highly appreciated.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>