From 8d03fd8ea73c4ffdb76ef903ab72254d93a457f7 Mon Sep 17 00:00:00 2001 From: Victor Gama Date: Fri, 20 Jun 2014 18:29:37 -0300 Subject: [PATCH 1/3] Add stopsignal support --- templates/supervisor.conf.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/supervisor.conf.erb b/templates/supervisor.conf.erb index 1afb9b5..c6fd224 100644 --- a/templates/supervisor.conf.erb +++ b/templates/supervisor.conf.erb @@ -17,3 +17,6 @@ priority=<%= @priority %> <%- if @environment %> environment=<% @environment.each_pair do |key,value| -%><%=key%>="<%=value%>",<% end -%> <%- end %> +<%- if @stopsignal %> +stopsignal=<%= @stopsignal %> +<%- end %> From 97cc3cedd13c2ac390e9d34d018e960daf4c8a7d Mon Sep 17 00:00:00 2001 From: Victor Gama Date: Fri, 20 Jun 2014 18:34:42 -0300 Subject: [PATCH 2/3] Update app.pp to conform with template --- manifests/app.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/app.pp b/manifests/app.pp index 8181c38..7bd5169 100644 --- a/manifests/app.pp +++ b/manifests/app.pp @@ -7,6 +7,7 @@ $stopwaitsecs = undef, $priority = undef, $environment = undef, + $stopsignal = undef, ) { $conf_file = "supervisor_${app_name}" From 8cc14994c17e494431d3f319b334534814705751 Mon Sep 17 00:00:00 2001 From: Victor Gama Date: Fri, 20 Jun 2014 18:44:33 -0300 Subject: [PATCH 3/3] Version bump --- Modulefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modulefile b/Modulefile index bf75af6..92aa6ee 100644 --- a/Modulefile +++ b/Modulefile @@ -1,5 +1,5 @@ name 'tracywebtech-supervisor' -version '1.1.1' +version '1.1.2' source 'https://github.com/TracyWebTech/puppet-supervisor' author 'Tracy Web Technologies' summary 'Install and configure Supervisord'