from-scratch 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/Berksfile.lock +11 -0
  4. data/chefignore +1 -0
  5. data/cookbooks/apt/CHANGELOG.md +248 -0
  6. data/cookbooks/apt/README.md +294 -0
  7. data/cookbooks/apt/attributes/default.rb +51 -0
  8. data/cookbooks/apt/files/default/15update-stamp +1 -0
  9. data/cookbooks/apt/files/default/apt-proxy-v2.conf +50 -0
  10. data/cookbooks/apt/libraries/helpers.rb +61 -0
  11. data/cookbooks/apt/libraries/matchers.rb +17 -0
  12. data/cookbooks/apt/libraries/network.rb +31 -0
  13. data/cookbooks/apt/metadata.json +1 -0
  14. data/cookbooks/apt/providers/preference.rb +84 -0
  15. data/cookbooks/apt/providers/repository.rb +246 -0
  16. data/cookbooks/apt/recipes/cacher-client.rb +83 -0
  17. data/cookbooks/apt/recipes/cacher-ng.rb +43 -0
  18. data/cookbooks/apt/recipes/default.rb +112 -0
  19. data/cookbooks/apt/recipes/unattended-upgrades.rb +47 -0
  20. data/cookbooks/apt/resources/preference.rb +37 -0
  21. data/cookbooks/apt/resources/repository.rb +60 -0
  22. data/cookbooks/apt/templates/debian-6.0/acng.conf.erb +173 -0
  23. data/cookbooks/apt/templates/default/01proxy.erb +9 -0
  24. data/cookbooks/apt/templates/default/10recommends.erb +3 -0
  25. data/cookbooks/apt/templates/default/20auto-upgrades.erb +2 -0
  26. data/cookbooks/apt/templates/default/50unattended-upgrades.erb +68 -0
  27. data/cookbooks/apt/templates/default/acng.conf.erb +275 -0
  28. data/cookbooks/apt/templates/default/unattended-upgrades.seed.erb +1 -0
  29. data/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +269 -0
  30. data/cookbooks/build-essential/CHANGELOG.md +136 -0
  31. data/cookbooks/build-essential/README.md +108 -0
  32. data/cookbooks/build-essential/attributes/default.rb +20 -0
  33. data/cookbooks/build-essential/libraries/matchers.rb +5 -0
  34. data/cookbooks/build-essential/libraries/timing.rb +124 -0
  35. data/cookbooks/build-essential/libraries/xcode_command_line_tools.rb +210 -0
  36. data/cookbooks/build-essential/metadata.json +1 -0
  37. data/cookbooks/build-essential/recipes/_debian.rb +28 -0
  38. data/cookbooks/build-essential/recipes/_fedora.rb +32 -0
  39. data/cookbooks/build-essential/recipes/_freebsd.rb +24 -0
  40. data/cookbooks/build-essential/recipes/_mac_os_x.rb +22 -0
  41. data/cookbooks/build-essential/recipes/_omnios.rb +33 -0
  42. data/cookbooks/build-essential/recipes/_rhel.rb +36 -0
  43. data/cookbooks/build-essential/recipes/_smartos.rb +27 -0
  44. data/cookbooks/build-essential/recipes/_solaris2.rb +48 -0
  45. data/cookbooks/build-essential/recipes/_suse.rb +29 -0
  46. data/cookbooks/build-essential/recipes/default.rb +29 -0
  47. data/cookbooks/chef-sugar/CHANGELOG.md +159 -0
  48. data/cookbooks/chef-sugar/README.md +464 -0
  49. data/cookbooks/chef-sugar/metadata.json +1 -0
  50. data/cookbooks/chef-sugar/recipes/default.rb +34 -0
  51. data/cookbooks/openssl/CHANGELOG.md +30 -0
  52. data/cookbooks/openssl/README.md +115 -0
  53. data/cookbooks/openssl/attributes/default.rb +21 -0
  54. data/cookbooks/openssl/libraries/secure_password.rb +37 -0
  55. data/cookbooks/openssl/metadata.json +31 -0
  56. data/cookbooks/openssl/providers/x509.rb +94 -0
  57. data/cookbooks/openssl/recipes/default.rb +18 -0
  58. data/cookbooks/openssl/recipes/upgrade.rb +39 -0
  59. data/cookbooks/openssl/resources/x509.rb +16 -0
  60. data/cookbooks/postgresql/CHANGELOG.md +220 -0
  61. data/cookbooks/postgresql/README.md +464 -0
  62. data/cookbooks/postgresql/attributes/default.rb +549 -0
  63. data/cookbooks/postgresql/files/default/tests/minitest/apt_pgdg_postgresql_test.rb +39 -0
  64. data/cookbooks/postgresql/files/default/tests/minitest/default_test.rb +27 -0
  65. data/cookbooks/postgresql/files/default/tests/minitest/ruby_test.rb +28 -0
  66. data/cookbooks/postgresql/files/default/tests/minitest/server_test.rb +43 -0
  67. data/cookbooks/postgresql/files/default/tests/minitest/support/helpers.rb +29 -0
  68. data/cookbooks/postgresql/libraries/default.rb +377 -0
  69. data/cookbooks/postgresql/metadata.json +56 -0
  70. data/cookbooks/postgresql/recipes/apt_pgdg_postgresql.rb +18 -0
  71. data/cookbooks/postgresql/recipes/client.rb +32 -0
  72. data/cookbooks/postgresql/recipes/config_initdb.rb +148 -0
  73. data/cookbooks/postgresql/recipes/config_pgtune.rb +284 -0
  74. data/cookbooks/postgresql/recipes/contrib.rb +44 -0
  75. data/cookbooks/postgresql/recipes/default.rb +18 -0
  76. data/cookbooks/postgresql/recipes/ruby.rb +117 -0
  77. data/cookbooks/postgresql/recipes/server.rb +89 -0
  78. data/cookbooks/postgresql/recipes/server_conf.rb +34 -0
  79. data/cookbooks/postgresql/recipes/server_debian.rb +38 -0
  80. data/cookbooks/postgresql/recipes/server_redhat.rb +100 -0
  81. data/cookbooks/postgresql/recipes/yum_pgdg_postgresql.rb +45 -0
  82. data/cookbooks/postgresql/templates/default/pg_hba.conf.erb +35 -0
  83. data/cookbooks/postgresql/templates/default/pgsql.sysconfig.erb +4 -0
  84. data/cookbooks/postgresql/templates/default/postgresql.conf.erb +21 -0
  85. data/cookbooks/scratchify/.chef/knife.rb +2 -5
  86. data/cookbooks/scratchify/Berksfile +2 -1
  87. data/cookbooks/scratchify/Berksfile.lock +11 -0
  88. data/cookbooks/scratchify/README.md +34 -17
  89. data/cookbooks/scratchify/bin/scratchify +1 -1
  90. data/cookbooks/scratchify/chefignore +1 -0
  91. data/cookbooks/scratchify/from-scratch.gemspec +2 -5
  92. data/cookbooks/scratchify/lib/from-scratch.rb +25 -0
  93. data/cookbooks/scratchify/lib/{from/scratch → from-scratch}/version.rb +1 -1
  94. data/cookbooks/scratchify/metadata.json +2 -1
  95. data/cookbooks/scratchify/templates/node.json.erb +34 -0
  96. data/cookbooks/scratchify/templates/user.json.erb +6 -0
  97. data/lib/from-scratch.rb +2 -2
  98. data/lib/from-scratch/version.rb +1 -1
  99. data/templates/node.json.erb +6 -3
  100. metadata +85 -10
  101. data/cookbooks/scratchify/bin/console +0 -14
  102. data/cookbooks/scratchify/bin/setup +0 -7
  103. data/cookbooks/scratchify/data_bags/users/deploy.json +0 -6
  104. data/cookbooks/scratchify/environments/.gitkeep +0 -0
  105. data/cookbooks/scratchify/lib/from/scratch.rb +0 -31
  106. data/cookbooks/scratchify/lib/from/scratch/interviewer.rb +0 -35
  107. data/cookbooks/scratchify/nodes/normfood.ru.json +0 -75
  108. data/cookbooks/scratchify/roles/.gitkeep +0 -0
@@ -0,0 +1,549 @@
1
+ #
2
+ # Cookbook Name:: postgresql
3
+ # Attributes:: postgresql
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+
18
+ default['postgresql']['enable_pgdg_apt'] = false
19
+ default['postgresql']['server']['config_change_notify'] = :restart
20
+ default['postgresql']['assign_postgres_password'] = true
21
+
22
+ # Establish default database name
23
+ default['postgresql']['database_name'] = 'template1'
24
+
25
+ case node['platform']
26
+ when "debian"
27
+
28
+ case
29
+ when node['platform_version'].to_f < 6.0 # All 5.X
30
+ default['postgresql']['version'] = "8.3"
31
+ when node['platform_version'].to_f < 7.0 # All 6.X
32
+ default['postgresql']['version'] = "8.4"
33
+ when node['platform_version'].to_f < 8.0 # All 7.X
34
+ default['postgresql']['version'] = "9.1"
35
+ else
36
+ default['postgresql']['version'] = "9.4"
37
+ end
38
+
39
+ default['postgresql']['dir'] = "/etc/postgresql/#{node['postgresql']['version']}/main"
40
+ case
41
+ when node['platform_version'].to_f < 6.0 # All 5.X
42
+ default['postgresql']['server']['service_name'] = "postgresql-#{node['postgresql']['version']}"
43
+ else
44
+ default['postgresql']['server']['service_name'] = "postgresql"
45
+ end
46
+
47
+ default['postgresql']['client']['packages'] = ["postgresql-client-#{node['postgresql']['version']}","libpq-dev"]
48
+ default['postgresql']['server']['packages'] = ["postgresql-#{node['postgresql']['version']}"]
49
+ default['postgresql']['contrib']['packages'] = ["postgresql-contrib-#{node['postgresql']['version']}"]
50
+
51
+ when "ubuntu"
52
+
53
+ case
54
+ when node['platform_version'].to_f <= 9.04
55
+ default['postgresql']['version'] = "8.3"
56
+ when node['platform_version'].to_f <= 11.04
57
+ default['postgresql']['version'] = "8.4"
58
+ when node['platform_version'].to_f <= 13.10
59
+ default['postgresql']['version'] = "9.1"
60
+ else
61
+ default['postgresql']['version'] = "9.3"
62
+ end
63
+
64
+ default['postgresql']['dir'] = "/etc/postgresql/#{node['postgresql']['version']}/main"
65
+ case
66
+ when (node['platform_version'].to_f <= 10.04) && (! node['postgresql']['enable_pgdg_apt'])
67
+ default['postgresql']['server']['service_name'] = "postgresql-#{node['postgresql']['version']}"
68
+ else
69
+ default['postgresql']['server']['service_name'] = "postgresql"
70
+ end
71
+
72
+ default['postgresql']['client']['packages'] = ["postgresql-client-#{node['postgresql']['version']}","libpq-dev"]
73
+ default['postgresql']['server']['packages'] = ["postgresql-#{node['postgresql']['version']}"]
74
+ default['postgresql']['contrib']['packages'] = ["postgresql-contrib-#{node['postgresql']['version']}"]
75
+
76
+ when "fedora"
77
+
78
+ if node['platform_version'].to_f <= 12
79
+ default['postgresql']['version'] = "8.3"
80
+ else
81
+ default['postgresql']['version'] = "8.4"
82
+ end
83
+
84
+ default['postgresql']['dir'] = "/var/lib/pgsql/data"
85
+ default['postgresql']['client']['packages'] = %w{postgresql-devel}
86
+ default['postgresql']['server']['packages'] = %w{postgresql-server}
87
+ default['postgresql']['contrib']['packages'] = %w{postgresql-contrib}
88
+ default['postgresql']['server']['service_name'] = "postgresql"
89
+
90
+ when "amazon"
91
+
92
+ if node['platform_version'].to_f >= 2012.03
93
+ default['postgresql']['version'] = "9.0"
94
+ default['postgresql']['dir'] = "/var/lib/pgsql9/data"
95
+ else
96
+ default['postgresql']['version'] = "8.4"
97
+ default['postgresql']['dir'] = "/var/lib/pgsql/data"
98
+ end
99
+
100
+ default['postgresql']['client']['packages'] = %w{postgresql-devel}
101
+ default['postgresql']['server']['packages'] = %w{postgresql-server}
102
+ default['postgresql']['contrib']['packages'] = %w{postgresql-contrib}
103
+ default['postgresql']['server']['service_name'] = "postgresql"
104
+
105
+ when "redhat", "centos", "scientific", "oracle"
106
+
107
+ default['postgresql']['version'] = "8.4"
108
+ default['postgresql']['dir'] = "/var/lib/pgsql/data"
109
+
110
+ if node['platform_version'].to_f >= 6.0 && node['postgresql']['version'] == '8.4'
111
+ default['postgresql']['client']['packages'] = %w{postgresql-devel}
112
+ default['postgresql']['server']['packages'] = %w{postgresql-server}
113
+ default['postgresql']['contrib']['packages'] = %w{postgresql-contrib}
114
+ else
115
+ default['postgresql']['client']['packages'] = ["postgresql#{node['postgresql']['version'].split('.').join}-devel"]
116
+ default['postgresql']['server']['packages'] = ["postgresql#{node['postgresql']['version'].split('.').join}-server"]
117
+ default['postgresql']['contrib']['packages'] = ["postgresql#{node['postgresql']['version'].split('.').join}-contrib"]
118
+ end
119
+
120
+ if node['platform_version'].to_f >= 6.0 && node['postgresql']['version'] != '8.4'
121
+ default['postgresql']['dir'] = "/var/lib/pgsql/#{node['postgresql']['version']}/data"
122
+ default['postgresql']['server']['service_name'] = "postgresql-#{node['postgresql']['version']}"
123
+ else
124
+ default['postgresql']['dir'] = "/var/lib/pgsql/data"
125
+ default['postgresql']['server']['service_name'] = "postgresql"
126
+ end
127
+
128
+ when "suse"
129
+
130
+ if node['platform_version'].to_f <= 11.1
131
+ default['postgresql']['version'] = "8.3"
132
+ default['postgresql']['client']['packages'] = ['postgresql', 'rubygem-pg']
133
+ default['postgresql']['server']['packages'] = ['postgresql-server']
134
+ default['postgresql']['contrib']['packages'] = ['postgresql-contrib']
135
+ else
136
+ default['postgresql']['version'] = "9.1"
137
+ default['postgresql']['client']['packages'] = ['postgresql91', 'rubygem-pg']
138
+ default['postgresql']['server']['packages'] = ['postgresql91-server']
139
+ default['postgresql']['contrib']['packages'] = ['postgresql91-contrib']
140
+ end
141
+
142
+ default['postgresql']['dir'] = "/var/lib/pgsql/data"
143
+ default['postgresql']['server']['service_name'] = "postgresql"
144
+
145
+ else
146
+ default['postgresql']['version'] = "8.4"
147
+ default['postgresql']['dir'] = "/etc/postgresql/#{node['postgresql']['version']}/main"
148
+ default['postgresql']['client']['packages'] = ["postgresql"]
149
+ default['postgresql']['server']['packages'] = ["postgresql"]
150
+ default['postgresql']['contrib']['packages'] = ["postgresql"]
151
+ default['postgresql']['server']['service_name'] = "postgresql"
152
+ end
153
+
154
+ # These defaults have disparity between which postgresql configuration
155
+ # settings are used because they were extracted from the original
156
+ # configuration files that are now removed in favor of dynamic
157
+ # generation.
158
+ #
159
+ # While the configuration ends up being the same as the default
160
+ # in previous versions of the cookbook, the content of the rendered
161
+ # template will change, and this will result in service notification
162
+ # if you upgrade the cookbook on existing systems.
163
+ #
164
+ # The ssl config attribute is generated in the recipe to avoid awkward
165
+ # merge/precedence order during the Chef run.
166
+ case node['platform_family']
167
+ when 'debian'
168
+ default['postgresql']['config']['data_directory'] = "/var/lib/postgresql/#{node['postgresql']['version']}/main"
169
+ default['postgresql']['config']['hba_file'] = "/etc/postgresql/#{node['postgresql']['version']}/main/pg_hba.conf"
170
+ default['postgresql']['config']['ident_file'] = "/etc/postgresql/#{node['postgresql']['version']}/main/pg_ident.conf"
171
+ default['postgresql']['config']['external_pid_file'] = "/var/run/postgresql/#{node['postgresql']['version']}-main.pid"
172
+ default['postgresql']['config']['listen_addresses'] = 'localhost'
173
+ default['postgresql']['config']['port'] = 5432
174
+ default['postgresql']['config']['max_connections'] = 100
175
+ default['postgresql']['config']['unix_socket_directory'] = '/var/run/postgresql' if node['postgresql']['version'].to_f < 9.3
176
+ default['postgresql']['config']['unix_socket_directories'] = '/var/run/postgresql' if node['postgresql']['version'].to_f >= 9.3
177
+ default['postgresql']['config']['shared_buffers'] = '24MB'
178
+ default['postgresql']['config']['max_fsm_pages'] = 153600 if node['postgresql']['version'].to_f < 8.4
179
+ default['postgresql']['config']['log_line_prefix'] = '%t '
180
+ default['postgresql']['config']['datestyle'] = 'iso, mdy'
181
+ default['postgresql']['config']['default_text_search_config'] = 'pg_catalog.english'
182
+ default['postgresql']['config']['ssl'] = true
183
+ default['postgresql']['config']['ssl_cert_file'] = '/etc/ssl/certs/ssl-cert-snakeoil.pem' if node['postgresql']['version'].to_f >= 9.2
184
+ default['postgresql']['config']['ssl_key_file'] = '/etc/ssl/private/ssl-cert-snakeoil.key'if node['postgresql']['version'].to_f >= 9.2
185
+ when 'rhel', 'fedora', 'suse'
186
+ default['postgresql']['config']['data_directory'] = node['postgresql']['dir']
187
+ default['postgresql']['config']['listen_addresses'] = 'localhost'
188
+ default['postgresql']['config']['port'] = 5432
189
+ default['postgresql']['config']['max_connections'] = 100
190
+ default['postgresql']['config']['shared_buffers'] = '32MB'
191
+ default['postgresql']['config']['logging_collector'] = true
192
+ default['postgresql']['config']['log_directory'] = 'pg_log'
193
+ default['postgresql']['config']['log_filename'] = 'postgresql-%a.log'
194
+ default['postgresql']['config']['log_truncate_on_rotation'] = true
195
+ default['postgresql']['config']['log_rotation_age'] = '1d'
196
+ default['postgresql']['config']['log_rotation_size'] = 0
197
+ default['postgresql']['config']['datestyle'] = 'iso, mdy'
198
+ default['postgresql']['config']['lc_messages'] = 'en_US.UTF-8'
199
+ default['postgresql']['config']['lc_monetary'] = 'en_US.UTF-8'
200
+ default['postgresql']['config']['lc_numeric'] = 'en_US.UTF-8'
201
+ default['postgresql']['config']['lc_time'] = 'en_US.UTF-8'
202
+ default['postgresql']['config']['default_text_search_config'] = 'pg_catalog.english'
203
+ end
204
+
205
+ default['postgresql']['pg_hba'] = [
206
+ {:type => 'local', :db => 'all', :user => 'postgres', :addr => nil, :method => 'ident'},
207
+ {:type => 'local', :db => 'all', :user => 'all', :addr => nil, :method => 'ident'},
208
+ {:type => 'host', :db => 'all', :user => 'all', :addr => '127.0.0.1/32', :method => 'md5'},
209
+ {:type => 'host', :db => 'all', :user => 'all', :addr => '::1/128', :method => 'md5'}
210
+ ]
211
+
212
+ default['postgresql']['password'] = Hash.new
213
+
214
+ case node['platform_family']
215
+ when 'debian'
216
+ default['postgresql']['pgdg']['release_apt_codename'] = node['lsb']['codename']
217
+ end
218
+
219
+ default['postgresql']['enable_pgdg_yum'] = false
220
+
221
+ default['postgresql']['initdb_locale'] = nil
222
+
223
+ # The PostgreSQL RPM Building Project built repository RPMs for easy
224
+ # access to the PGDG yum repositories. Links to RPMs for installation
225
+ # on the supported version/platform combinations are listed at
226
+ # http://yum.postgresql.org/repopackages.php, and the links for
227
+ # PostgreSQL 8.4, 9.0, 9.1, 9.2 and 9.3 are captured below.
228
+ #
229
+ # The correct RPM for installing /etc/yum.repos.d is based on:
230
+ # * the attribute configuring the desired Postgres Software:
231
+ # node['postgresql']['version'] e.g., "9.1"
232
+ # * the chef ohai description of the target Operating System:
233
+ # node['platform'] e.g., "centos"
234
+ # node['platform_version'] e.g., "5.7", truncated as "5"
235
+ # node['kernel']['machine'] e.g., "i386" or "x86_64"
236
+ default['postgresql']['pgdg']['repo_rpm_url'] = {
237
+ "9.4" => {
238
+ "redhat" => {
239
+ "7" => {
240
+ "x86_64" => "http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-redhat94-9.4-1.noarch.rpm"
241
+ }
242
+ }
243
+ },
244
+ "9.3" => {
245
+ "amazon" => {
246
+ "2015" => {
247
+ "i386" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/pgdg-redhat93-9.3-1.noarch.rpm",
248
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm"
249
+ },
250
+ "2014" => {
251
+ "i386" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/pgdg-redhat93-9.3-1.noarch.rpm",
252
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm"
253
+ },
254
+ "2013" => {
255
+ "i386" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/pgdg-redhat93-9.3-1.noarch.rpm",
256
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm"
257
+ }
258
+ },
259
+ "centos" => {
260
+ "7" => {
261
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-7-x86_64/pgdg-centos93-9.3-1.noarch.rpm"
262
+ },
263
+ "6" => {
264
+ "i386" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/pgdg-centos93-9.3-1.noarch.rpm",
265
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm"
266
+ },
267
+ "5" => {
268
+ "i386" => "http://yum.postgresql.org/9.3/redhat/rhel-5-i386/pgdg-centos93-9.3-1.noarch.rpm",
269
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-5-x86_64/pgdg-centos93-9.3-1.noarch.rpm"
270
+ }
271
+ },
272
+ "redhat" => {
273
+ "7" => {
274
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-7-x86_64/pgdg-redhat93-9.3-1.noarch.rpm"
275
+ },
276
+ "6" => {
277
+ "i386" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/pgdg-redhat93-9.3-1.noarch.rpm",
278
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm"
279
+ },
280
+ "5" => {
281
+ "i386" => "http://yum.postgresql.org/9.3/redhat/rhel-5-i386/pgdg-redhat93-9.3-1.noarch.rpm",
282
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-5-x86_64/pgdg-redhat93-9.3-1.noarch.rpm"
283
+ }
284
+ },
285
+ "oracle" => {
286
+ "6" => {
287
+ "i386" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/pgdg-redhat93-9.3-1.noarch.rpm",
288
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm"
289
+ },
290
+ "5" => {
291
+ "i386" => "http://yum.postgresql.org/9.3/redhat/rhel-5-i386/pgdg-redhat93-9.3-1.noarch.rpm",
292
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-5-x86_64/pgdg-redhat93-9.3-1.noarch.rpm"
293
+ }
294
+ },
295
+ "scientific" => {
296
+ "6" => {
297
+ "i386" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/pgdg-sl93-9.3-1.noarch.rpm",
298
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-sl93-9.3-1.noarch.rpm"
299
+ },
300
+ "5" => {
301
+ "i386" => "http://yum.postgresql.org/9.3/redhat/rhel-5-i386/pgdg-sl93-9.3-1.noarch.rpm",
302
+ "x86_64" => "http://yum.postgresql.org/9.3/redhat/rhel-5-x86_64/pgdg-sl93-9.3-1.noarch.rpm"
303
+ }
304
+ },
305
+ "fedora" => {
306
+ "20" => {
307
+ "x86_64" => "http://yum.postgresql.org/9.3/fedora/fedora-20-x86_64/pgdg-fedora93-9.3-1.noarch.rpm"
308
+ },
309
+ "19" => {
310
+ "x86_64" => "http://yum.postgresql.org/9.3/fedora/fedora-19-x86_64/pgdg-fedora93-9.3-1.noarch.rpm"
311
+ },
312
+ "18" => {
313
+ "i386" => "http://yum.postgresql.org/9.3/fedora/fedora-18-i386/pgdg-fedora93-9.3-1.noarch.rpm",
314
+ "x86_64" => "http://yum.postgresql.org/9.3/fedora/fedora-18-x86_64/pgdg-fedora93-9.3-1.noarch.rpm"
315
+ },
316
+ "17" => {
317
+ "i386" => "http://yum.postgresql.org/9.3/fedora/fedora-17-i386/pgdg-fedora93-9.3-1.noarch.rpm",
318
+ "x86_64" => "http://yum.postgresql.org/9.3/fedora/fedora-17-x86_64/pgdg-fedora93-9.3-1.noarch.rpm"
319
+ }
320
+ }
321
+ },
322
+ "9.2" => {
323
+ "centos" => {
324
+ "6" => {
325
+ "i386" => "http://yum.postgresql.org/9.2/redhat/rhel-6-i386/pgdg-centos92-9.2-6.noarch.rpm",
326
+ "x86_64" => "http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-centos92-9.2-6.noarch.rpm"
327
+ },
328
+ "5" => {
329
+ "i386" => "http://yum.postgresql.org/9.2/redhat/rhel-5-i386/pgdg-centos92-9.2-6.noarch.rpm",
330
+ "x86_64" => "http://yum.postgresql.org/9.2/redhat/rhel-5-x86_64/pgdg-centos92-9.2-6.noarch.rpm"
331
+ }
332
+ },
333
+ "redhat" => {
334
+ "6" => {
335
+ "i386" => "http://yum.postgresql.org/9.2/redhat/rhel-6-i386/pgdg-redhat92-9.2-7.noarch.rpm",
336
+ "x86_64" => "http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-redhat92-9.2-7.noarch.rpm"
337
+ },
338
+ "5" => {
339
+ "i386" => "http://yum.postgresql.org/9.2/redhat/rhel-5-i386/pgdg-redhat92-9.2-7.noarch.rpm",
340
+ "x86_64" => "http://yum.postgresql.org/9.2/redhat/rhel-5-x86_64/pgdg-redhat92-9.2-7.noarch.rpm"
341
+ }
342
+ },
343
+ "oracle" => {
344
+ "6" => {
345
+ "i386" => "http://yum.postgresql.org/9.2/redhat/rhel-6-i386/pgdg-redhat92-9.2-7.noarch.rpm",
346
+ "x86_64" => "http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-redhat92-9.2-7.noarch.rpm"
347
+ },
348
+ "5" => {
349
+ "i386" => "http://yum.postgresql.org/9.2/redhat/rhel-5-i386/pgdg-redhat92-9.2-7.noarch.rpm",
350
+ "x86_64" => "http://yum.postgresql.org/9.2/redhat/rhel-5-x86_64/pgdg-redhat92-9.2-7.noarch.rpm"
351
+ }
352
+ },
353
+ "scientific" => {
354
+ "6" => {
355
+ "i386" => "http://yum.postgresql.org/9.2/redhat/rhel-6-i386/pgdg-sl92-9.2-8.noarch.rpm",
356
+ "x86_64" => "http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-sl92-9.2-8.noarch.rpm"
357
+ },
358
+ "5" => {
359
+ "i386" => "http://yum.postgresql.org/9.2/redhat/rhel-5-i386/pgdg-sl92-9.2-8.noarch.rpm",
360
+ "x86_64" => "http://yum.postgresql.org/9.2/redhat/rhel-5-x86_64/pgdg-sl92-9.2-8.noarch.rpm"
361
+ }
362
+ },
363
+ "fedora" => {
364
+ "19" => {
365
+ "i386" => "http://yum.postgresql.org/9.2/fedora/fedora-19-i386/pgdg-fedora92-9.2-6.noarch.rpm",
366
+ "x86_64" => "http://yum.postgresql.org/9.2/fedora/fedora-19-x86_64/pgdg-fedora92-9.2-6.noarch.rpm"
367
+ },
368
+ "18" => {
369
+ "i386" => "http://yum.postgresql.org/9.2/fedora/fedora-18-i386/pgdg-fedora92-9.2-6.noarch.rpm",
370
+ "x86_64" => "http://yum.postgresql.org/9.2/fedora/fedora-18-x86_64/pgdg-fedora92-9.2-6.noarch.rpm"
371
+ },
372
+ "17" => {
373
+ "i386" => "http://yum.postgresql.org/9.2/fedora/fedora-17-i386/pgdg-fedora92-9.2-6.noarch.rpm",
374
+ "x86_64" => "http://yum.postgresql.org/9.2/fedora/fedora-17-x86_64/pgdg-fedora92-9.2-5.noarch.rpm"
375
+ },
376
+ "16" => {
377
+ "i386" => "http://yum.postgresql.org/9.2/fedora/fedora-16-i386/pgdg-fedora92-9.2-5.noarch.rpm",
378
+ "x86_64" => "http://yum.postgresql.org/9.2/fedora/fedora-16-x86_64/pgdg-fedora92-9.2-5.noarch.rpm"
379
+ }
380
+ }
381
+ },
382
+ "9.1" => {
383
+ "centos" => {
384
+ "6" => {
385
+ "i386" => "http://yum.postgresql.org/9.1/redhat/rhel-6-i386/pgdg-centos91-9.1-4.noarch.rpm",
386
+ "x86_64" => "http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-centos91-9.1-4.noarch.rpm"
387
+ },
388
+ "5" => {
389
+ "i386" => "http://yum.postgresql.org/9.1/redhat/rhel-5-i386/pgdg-centos91-9.1-4.noarch.rpm",
390
+ "x86_64" => "http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-centos91-9.1-4.noarch.rpm"
391
+ },
392
+ "4" => {
393
+ "i386" => "http://yum.postgresql.org/9.1/redhat/rhel-4-i386/pgdg-centos91-9.1-4.noarch.rpm",
394
+ "x86_64" => "http://yum.postgresql.org/9.1/redhat/rhel-4-x86_64/pgdg-centos91-9.1-4.noarch.rpm"
395
+ }
396
+ },
397
+ "redhat" => {
398
+ "6" => {
399
+ "i386" => "http://yum.postgresql.org/9.1/redhat/rhel-6-i386/pgdg-redhat91-9.1-5.noarch.rpm",
400
+ "x86_64" => "http://yum.postgresql.org/9.1/redhat/rhel-6-x86_64/pgdg-redhat91-9.1-5.noarch.rpm"
401
+ },
402
+ "5" => {
403
+ "i386" => "http://yum.postgresql.org/9.1/redhat/rhel-5-i386/pgdg-redhat91-9.1-5.noarch.rpm",
404
+ "x86_64" => "http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-redhat91-9.1-5.noarch.rpm"
405
+ },
406
+ "4" => {
407
+ "i386" => "http://yum.postgresql.org/9.1/redhat/rhel-4-i386/pgdg-redhat-9.1-4.noarch.rpm",
408
+ "x86_64" => "http://yum.postgresql.org/9.1/redhat/rhel-4-x86_64/pgdg-redhat-9.1-4.noarch.rpm"
409
+ }
410
+ },
411
+ "scientific" => {
412
+ "6" => {
413
+ "i386" => "http://yum.postgresql.org/9.1/redhat/rhel-6-i386/pgdg-sl91-9.1-6.noarch.rpm",
414
+ "x86_64" => "http://yum.postgresql.org/9.1/redhat/rhel-6-x86_64/pgdg-sl91-9.1-6.noarch.rpm"
415
+ },
416
+ "5" => {
417
+ "i386" => "http://yum.postgresql.org/9.1/redhat/rhel-5-i386/pgdg-sl91-9.1-6.noarch.rpm",
418
+ "x86_64" => "http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-sl91-9.1-6.noarch.rpm"
419
+ }
420
+ },
421
+ "fedora" => {
422
+ "16" => {
423
+ "i386" => "http://yum.postgresql.org/9.1/fedora/fedora-16-i386/pgdg-fedora91-9.1-4.noarch.rpm",
424
+ "x86_64" => "http://yum.postgresql.org/9.1/fedora/fedora-16-x86_64/pgdg-fedora91-9.1-4.noarch.rpm"
425
+ },
426
+ "15" => {
427
+ "i386" => "http://yum.postgresql.org/9.1/fedora/fedora-15-i386/pgdg-fedora91-9.1-4.noarch.rpm",
428
+ "x86_64" => "http://yum.postgresql.org/9.1/fedora/fedora-15-x86_64/pgdg-fedora91-9.1-4.noarch.rpm"
429
+ },
430
+ "14" => {
431
+ "i386" => "http://yum.postgresql.org/9.1/fedora/fedora-14-i386/pgdg-fedora91-9.1-4.noarch.rpm",
432
+ "x86_64" => "http://yum.postgresql.org/9.1/fedora/fedora-14-x86_64/pgdg-fedora-9.1-2.noarch.rpm"
433
+ }
434
+ }
435
+ },
436
+ "9.0" => {
437
+ "centos" => {
438
+ "6" => {
439
+ "i386" => "http://yum.postgresql.org/9.0/redhat/rhel-6-i386/pgdg-centos90-9.0-5.noarch.rpm",
440
+ "x86_64" => "http://yum.postgresql.org/9.0/redhat/rhel-6-x86_64/pgdg-centos90-9.0-5.noarch.rpm"
441
+ },
442
+ "5" => {
443
+ "i386" => "http://yum.postgresql.org/9.0/redhat/rhel-5-i386/pgdg-centos90-9.0-5.noarch.rpm",
444
+ "x86_64" => "http://yum.postgresql.org/9.0/redhat/rhel-5-x86_64/pgdg-centos90-9.0-5.noarch.rpm"
445
+ },
446
+ "4" => {
447
+ "i386" => "http://yum.postgresql.org/9.0/redhat/rhel-4-i386/pgdg-centos90-9.0-5.noarch.rpm",
448
+ "x86_64" => "http://yum.postgresql.org/9.0/redhat/rhel-4-x86_64/pgdg-centos90-9.0-5.noarch.rpm"
449
+ }
450
+ },
451
+ "redhat" => {
452
+ "6" => {
453
+ "i386" => "http://yum.postgresql.org/9.0/redhat/rhel-6-i386/pgdg-redhat90-9.0-5.noarch.rpm",
454
+ "x86_64" => "http://yum.postgresql.org/9.0/redhat/rhel-6-x86_64/pgdg-redhat90-9.0-5.noarch.rpm"
455
+ },
456
+ "5" => {
457
+ "i386" => "http://yum.postgresql.org/9.0/redhat/rhel-5-i386/pgdg-redhat90-9.0-5.noarch.rpm",
458
+ "x86_64" => "http://yum.postgresql.org/9.0/redhat/rhel-5-x86_64/pgdg-redhat90-9.0-5.noarch.rpm"
459
+ },
460
+ "4" => {
461
+ "i386" => "http://yum.postgresql.org/9.0/redhat/rhel-4-i386/pgdg-redhat90-9.0-5.noarch.rpm",
462
+ "x86_64" => "http://yum.postgresql.org/9.0/redhat/rhel-4-x86_64/pgdg-redhat90-9.0-5.noarch.rpm"
463
+ }
464
+ },
465
+ "scientific" => {
466
+ "6" => {
467
+ "i386" => "http://yum.postgresql.org/9.0/redhat/rhel-6-i386/pgdg-sl90-9.0-6.noarch.rpm",
468
+ "x86_64" => "http://yum.postgresql.org/9.0/redhat/rhel-6-x86_64/pgdg-sl90-9.0-6.noarch.rpm"
469
+ },
470
+ "5" => {
471
+ "i386" => "http://yum.postgresql.org/9.0/redhat/rhel-5-i386/pgdg-sl90-9.0-6.noarch.rpm",
472
+ "x86_64" => "http://yum.postgresql.org/9.0/redhat/rhel-5-x86_64/pgdg-sl90-9.0-6.noarch.rpm"
473
+ }
474
+ },
475
+ "fedora" => {
476
+ "15" => {
477
+ "i386" => "http://yum.postgresql.org/9.0/fedora/fedora-15-i386/pgdg-fedora90-9.0-5.noarch.rpm",
478
+ "x86_64" => "http://yum.postgresql.org/9.0/fedora/fedora-15-x86_64/pgdg-fedora90-9.0-5.noarch.rpm"
479
+ },
480
+ "14" => {
481
+ "i386" => "http://yum.postgresql.org/9.0/fedora/fedora-14-i386/pgdg-fedora90-9.0-5.noarch.rpm",
482
+ "x86_64" => "http://yum.postgresql.org/9.0/fedora/fedora-14-x86_64/pgdg-fedora90-9.0-5.noarch.rpm"
483
+ }
484
+ }
485
+ },
486
+ "8.4" => {
487
+ "centos" => {
488
+ "6" => {
489
+ "i386" => "http://yum.postgresql.org/8.4/redhat/rhel-6-i386/pgdg-centos-8.4-3.noarch.rpm",
490
+ "x86_64" => "http://yum.postgresql.org/8.4/redhat/rhel-6-x86_64/pgdg-centos-8.4-3.noarch.rpm"
491
+ },
492
+ "5" => {
493
+ "i386" => "http://yum.postgresql.org/8.4/redhat/rhel-5-i386/pgdg-centos-8.4-3.noarch.rpm",
494
+ "x86_64" => "http://yum.postgresql.org/8.4/redhat/rhel-5-x86_64/pgdg-centos-8.4-3.noarch.rpm"
495
+ },
496
+ "4" => {
497
+ "i386" => "http://yum.postgresql.org/8.4/redhat/rhel-4-i386/pgdg-centos-8.4-3.noarch.rpm",
498
+ "x86_64" => "http://yum.postgresql.org/8.4/redhat/rhel-4-x86_64/pgdg-centos-8.4-3.noarch.rpm"
499
+ }
500
+ },
501
+ "redhat" => {
502
+ "6" => {
503
+ "i386" => "http://yum.postgresql.org/8.4/redhat/rhel-6-i386/pgdg-redhat-8.4-3.noarch.rpm",
504
+ "x86_64" => "http://yum.postgresql.org/8.4/redhat/rhel-6-x86_64/pgdg-redhat-8.4-3.noarch.rpm"
505
+ },
506
+ "5" => {
507
+ "i386" => "http://yum.postgresql.org/8.4/redhat/rhel-5-i386/pgdg-redhat-8.4-3.noarch.rpm",
508
+ "x86_64" => "http://yum.postgresql.org/8.4/redhat/rhel-5-x86_64/pgdg-redhat-8.4-3.noarch.rpm"
509
+ },
510
+ "4" => {
511
+ "i386" => "http://yum.postgresql.org/8.4/redhat/rhel-4-i386/pgdg-redhat-8.4-3.noarch.rpm",
512
+ "x86_64" => "http://yum.postgresql.org/8.4/redhat/rhel-4-x86_64/pgdg-redhat-8.4-3.noarch.rpm"
513
+ }
514
+ },
515
+ "scientific" => {
516
+ "6" => {
517
+ "i386" => "http://yum.postgresql.org/8.4/redhat/rhel-6-i386/pgdg-sl84-8.4-4.noarch.rpm",
518
+ "x86_64" => "http://yum.postgresql.org/8.4/redhat/rhel-6-x86_64/pgdg-sl84-8.4-4.noarch.rpm"
519
+ },
520
+ "5" => {
521
+ "i386" => "http://yum.postgresql.org/8.4/redhat/rhel-5-i386/pgdg-sl-8.4-4.noarch.rpm",
522
+ "x86_64" => "http://yum.postgresql.org/8.4/redhat/rhel-5-x86_64/pgdg-sl-8.4-4.noarch.rpm"
523
+ }
524
+ },
525
+ "fedora" => {
526
+ "14" => {
527
+ "i386" => "http://yum.postgresql.org/8.4/fedora/fedora-14-i386/",
528
+ "x86_64" => "http://yum.postgresql.org/8.4/fedora/fedora-14-x86_64/"
529
+ },
530
+ "13" => {
531
+ "i386" => "http://yum.postgresql.org/8.4/fedora/fedora-13-i386/",
532
+ "x86_64" => "http://yum.postgresql.org/8.4/fedora/fedora-13-x86_64/"
533
+ },
534
+ "12" => {
535
+ "i386" => "http://yum.postgresql.org/8.4/fedora/fedora-12-i386/",
536
+ "x86_64" => "http://yum.postgresql.org/8.4/fedora/fedora-12-x86_64/"
537
+ },
538
+ "8" => {
539
+ "i386" => "http://yum.postgresql.org/8.4/fedora/fedora-8-i386/",
540
+ "x86_64" => "http://yum.postgresql.org/8.4/fedora/fedora-8-x86_64/"
541
+ },
542
+ "7" => {
543
+ "i386" => "http://yum.postgresql.org/8.4/fedora/fedora-7-i386/",
544
+ "x86_64" => "http://yum.postgresql.org/8.4/fedora/fedora-7-x86_64/"
545
+ }
546
+ }
547
+ },
548
+ };
549
+