Puppet module for gearman
Ruby Puppet HTML Pascal
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.bundle
manifests
spec
templates
tests
.fixtures.yml
.gitignore
.rubocop.yml
.travis.yml
Gemfile
LICENSE
Modulefile
README.md
Rakefile
metadata.json

README.md

puppet-gearman Build Status

Manage gearman via Puppet

How to use

    class { 'gearman': }

Higher file descriptor limit

Requires saz-limits module from forge.puppetlabs.com

    class { 'gearman':
      maxfiles => 16384,
    }

RedHat / CentOS package support

Gearman packages for the RedHat OS family are available in the EPEL repository. You need the puppet-epel module available for RHEL / CentOS support.

All class parameters

  • $ensure = 'present'
  • $backlog =
  • $job_retries =
  • $port = 4730
  • $listen = '0.0.0.0'
  • $threads = 4
  • $maxfiles = 1024 # on Debian based systems
  • $worker_wakeup = 0
  • $log_file = undef
  • $verbose = undef # e.g. 'vv'
  • $queue_type = undef
  • $queue_params = undef
  • $disable_limits_module = false # true will disable saz-limits usage
  • $config_file = '/etc/default/gearman-job-server' # on Debian based systems
  • $config_file_template = 'Debian/default.erb' # on Debian based systems
  • $autoupgrade = false # true: package ensure will be set to 'latest'
  • $package_name = 'gearman-job-server' # on Debian based systems
  • $service_ensure = 'running'
  • $service_name = 'gearman-job-server' # on Debian based systems
  • $service_enable = true
  • $service_hasstatus = false
  • $service_hasrestart = true