-
Notifications
You must be signed in to change notification settings - Fork 5
/
metadata.rb
52 lines (48 loc) · 1.88 KB
/
metadata.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name 'pg_bouncer'
maintainer 'Jeffrey Hulten'
maintainer_email '[email protected]'
license 'Apache v2.0'
description 'Installs/Configures pg_bouncer'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.2.0'
source_url 'https://github.com/jhulten/pg_bouncer-cookbook'
issues_url 'https://github.com/jhulten/pg_bouncer-cookbook/issues'
supports 'ubuntu', '>= 12.04'
recipe 'pg_bouncer::default', 'Install and configure pgbouncer'
recipe 'pg_bouncer::install', 'Install pgbouncer'
recipe 'pg_bouncer::configure', 'Configure pgbouncer'
attribute 'pg_bouncer/upgrade',
display_name: 'Auto-Upgrade',
description: 'Should the pgbouncer package be upgraded',
type: 'boolean',
recipes: ['pg_bouncer::install'],
default: true
attribute 'pg_bouncer/version',
display_name: 'PGBouncer Version',
description: 'Version of the pgbouncer package',
type: 'string',
recipes: ['pg_bouncer::install'],
default: nil
attribute 'pg_bouncer/user',
display_name: 'Username',
description: 'User for pgbouncer processes and files',
type: 'string',
recipes: ['pg_bouncer::install'],
default: 'pgbouncer'
attribute 'pg_bouncer/group',
display_name: 'Group Name',
description: 'Group for the pgbouncer user',
type: 'string',
recipes: ['pg_bouncer::install'],
default: true
attribute 'pg_bouncer/instance_defaults',
display_name: 'Instance Defaults',
description: 'Default settings for instances',
type: 'hash',
recipes: ['pg_bouncer::configure']
attribute 'pg_bouncer/instances',
display_name: 'Instances',
description: 'Hash of instance names and configuration',
type: 'hash',
recipes: ['pg_bouncer::configure'],
default: {}