Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/sitescripts/templates/keep_alive_services.erb

Issue 29329307: Issue 3211 - Integrate customservice::supervisor with notification daemon (Closed)
Patch Set: Issue 3211 - Address feedback from codereview Created Oct. 21, 2015, 12:08 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/notificationserver/manifests/init.pp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [keep_alive_services] 1 [keep_alive_services]
2 # Via Puppet; see https://issues.adblockplus.org/ticket/3211
3 <%- scope.function_hiera( 2 <%- scope.function_hiera(
4 'sitescripts::keep_alive_service_names', [] 3 'sitescripts::keep_alive_service_names', []
5 ).sort.each do |name| -%> 4 ).sort.each do |name| -%>
6 <%= name %> = /var/run/<%= name %>.pid 5 <%= name %> = /var/run/<%= name %>.pid
7 <%- end -%> 6 <%- end -%>
8 <%- scope.function_hiera( 7 <%- scope.function_hiera(
9 'sitescripts::keep_alive_service_pidfiles', {} 8 'sitescripts::keep_alive_service_pidfiles', {}
10 ).sort.each do |name, pidfile| -%> 9 ).sort.each do |name, pidfile| -%>
11 <%= name %> = <%= pidfile %> 10 <%= name %> = <%= pidfile %>
12 <%- end -%> 11 <%- end -%>
13 12
OLDNEW
« no previous file with comments | « modules/notificationserver/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld