From e4f29c2881941813989f571ea6cf6a44179fbf14 Mon Sep 17 00:00:00 2001 From: Colin McFadden Date: Wed, 12 Jul 2017 13:32:48 -0500 Subject: [PATCH 1/3] allow defining BEANSTALKD_LISTEN_PORT for ubuntu based on opts --- templates/ubuntu/beanstalkd.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/ubuntu/beanstalkd.erb b/templates/ubuntu/beanstalkd.erb index 3fe6081..8f16921 100644 --- a/templates/ubuntu/beanstalkd.erb +++ b/templates/ubuntu/beanstalkd.erb @@ -8,6 +8,7 @@ ## Debian systems. Append ``-b /var/lib/beanstalkd'' for persistent ## storage. BEANSTALKD_LISTEN_ADDR="<%= @listen_addr %>" +BEANSTALKD_LISTEN_PORT=<% if @opts['p'].nil? %>11300<% else %><%= @opts['p'] %><% end %> BEANSTALKD_EXTRA="<% @opts.each do |k,v| %><%= "-#{k} #{v}" %> <% end %>" DAEMON_OPTS=$BEANSTALKD_EXTRA From 8488e629df9e0385a980816754d7a67d80fce1a1 Mon Sep 17 00:00:00 2001 From: Colin McFadden Date: Mon, 8 Apr 2019 18:37:25 +0600 Subject: [PATCH 2/3] remove dependencies, these aren't really necessary --- metadata.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/metadata.rb b/metadata.rb index 8f3857e..f61e329 100644 --- a/metadata.rb +++ b/metadata.rb @@ -12,7 +12,6 @@ source_url 'https://github.com/djoos-cookbooks/beanstalkd' if respond_to?(:source_url) issues_url 'https://github.com/djoos-cookbooks/beanstalkd/issues' if respond_to?(:issues_url) -depends 'php' -depends 'python' + recipe 'beanstalkd', 'Installs beanstalkd.' From 51d70bdfd8ff8eb6cb2464e08de0bc43ab46a874 Mon Sep 17 00:00:00 2001 From: Colin McFadden Date: Mon, 8 Apr 2019 18:42:17 +0600 Subject: [PATCH 3/3] Update version --- metadata.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.rb b/metadata.rb index f61e329..032bb5a 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'MIT' description 'Installs/Configures beanstalkd' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '0.3.0' +version '0.3.2' %w(debian ubuntu redhat centos fedora scientific amazon).each do |os| supports os