OLD | NEW |
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 |
OLD | NEW |