try again, with puppetforge modules, correctly included now
[mirror/dsa-puppet.git] / 3rdparty / modules / memcached / templates / memcached_windows.erb
1 <%-
2 result = []
3 if @verbosity
4   result << '-' + @verbosity.to_s
5 end
6 if @lock_memory
7   result << '-k'
8 end
9 if @listen_ip
10   result << '-l ' + @listen_ip
11 end
12 if @tcp_port
13   result << '-p ' + @tcp_port.to_s
14 end
15 if @udp_port
16   result << '-U ' + @udp_port.to_s
17 end
18 if @item_size
19   result << '-I ' + @item_size.to_s
20 end
21 result << '-t ' + @processorcount
22 if @max_connections 
23   result << '-c ' + @max_connections
24 end
25 if @logfile
26   result << '>> ' + @logfile + ' 2>&1'
27 end -%>
28 c:\memcached\memcached.exe -d runservice <%= result.join(' ') %>