server_maint 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. data/.gitmodules +21 -0
  2. data/lib/cookbooks/aws/CHANGELOG.md +11 -0
  3. data/lib/cookbooks/aws/CONTRIBUTING +29 -0
  4. data/lib/cookbooks/aws/LICENSE +201 -0
  5. data/lib/cookbooks/aws/README.md +271 -0
  6. data/lib/cookbooks/aws/attributes/default.rb +20 -0
  7. data/lib/cookbooks/aws/libraries/ec2.rb +58 -0
  8. data/lib/cookbooks/aws/metadata.rb +7 -0
  9. data/lib/cookbooks/aws/providers/ebs_volume.rb +236 -0
  10. data/lib/cookbooks/aws/providers/elastic_ip.rb +90 -0
  11. data/lib/cookbooks/aws/providers/elastic_lb.rb +24 -0
  12. data/lib/cookbooks/aws/providers/resource_tag.rb +93 -0
  13. data/lib/cookbooks/aws/recipes/default.rb +25 -0
  14. data/lib/cookbooks/aws/resources/ebs_volume.rb +17 -0
  15. data/lib/cookbooks/aws/resources/elastic_ip.rb +11 -0
  16. data/lib/cookbooks/aws/resources/elastic_lb.rb +10 -0
  17. data/lib/cookbooks/aws/resources/resource_tag.rb +11 -0
  18. data/lib/cookbooks/database/.gitignore +1 -0
  19. data/lib/cookbooks/database/CHANGELOG.md +51 -0
  20. data/lib/cookbooks/database/CONTRIBUTING +29 -0
  21. data/lib/cookbooks/database/LICENSE +201 -0
  22. data/lib/cookbooks/database/README.md +468 -0
  23. data/lib/cookbooks/database/libraries/provider_database_mysql.rb +103 -0
  24. data/lib/cookbooks/database/libraries/provider_database_mysql_user.rb +76 -0
  25. data/lib/cookbooks/database/libraries/provider_database_postgresql.rb +131 -0
  26. data/lib/cookbooks/database/libraries/provider_database_postgresql_user.rb +83 -0
  27. data/lib/cookbooks/database/libraries/provider_database_sql_server.rb +109 -0
  28. data/lib/cookbooks/database/libraries/provider_database_sql_server_user.rb +106 -0
  29. data/lib/cookbooks/database/libraries/resource_database.rb +119 -0
  30. data/lib/cookbooks/database/libraries/resource_database_user.rb +90 -0
  31. data/lib/cookbooks/database/libraries/resource_mysql_database.rb +34 -0
  32. data/lib/cookbooks/database/libraries/resource_mysql_database_user.rb +34 -0
  33. data/lib/cookbooks/database/libraries/resource_postgresql_database.rb +35 -0
  34. data/lib/cookbooks/database/libraries/resource_postgresql_database_user.rb +35 -0
  35. data/lib/cookbooks/database/libraries/resource_sql_server_database.rb +34 -0
  36. data/lib/cookbooks/database/libraries/resource_sql_server_database_user.rb +34 -0
  37. data/lib/cookbooks/database/metadata.rb +22 -0
  38. data/lib/cookbooks/database/recipes/default.rb +20 -0
  39. data/lib/cookbooks/database/recipes/ebs_backup.rb +89 -0
  40. data/lib/cookbooks/database/recipes/ebs_volume.rb +204 -0
  41. data/lib/cookbooks/database/recipes/master.rb +78 -0
  42. data/lib/cookbooks/database/recipes/mysql.rb +20 -0
  43. data/lib/cookbooks/database/recipes/postgresql.rb +20 -0
  44. data/lib/cookbooks/database/recipes/snapshot.rb +62 -0
  45. data/lib/cookbooks/database/templates/default/app_grants.sql.erb +8 -0
  46. data/lib/cookbooks/database/templates/default/aws_config.erb +3 -0
  47. data/lib/cookbooks/database/templates/default/chef-solo-database-snapshot.cron.erb +6 -0
  48. data/lib/cookbooks/database/templates/default/chef-solo-database-snapshot.json.erb +1 -0
  49. data/lib/cookbooks/database/templates/default/chef-solo-database-snapshot.rb.erb +6 -0
  50. data/lib/cookbooks/database/templates/default/ebs-backup-cron.erb +2 -0
  51. data/lib/cookbooks/database/templates/default/ebs-db-backup.sh.erb +8 -0
  52. data/lib/cookbooks/database/templates/default/ebs-db-restore.sh.erb +10 -0
  53. data/lib/cookbooks/database/templates/default/s3cfg.erb +27 -0
  54. data/lib/cookbooks/mysql/.gitignore +5 -0
  55. data/lib/cookbooks/mysql/CHANGELOG.md +86 -0
  56. data/lib/cookbooks/mysql/CONTRIBUTING +29 -0
  57. data/lib/cookbooks/mysql/Gemfile +8 -0
  58. data/lib/cookbooks/mysql/LICENSE +201 -0
  59. data/lib/cookbooks/mysql/README.md +227 -0
  60. data/lib/cookbooks/mysql/attributes/client.rb +50 -0
  61. data/lib/cookbooks/mysql/attributes/server.rb +153 -0
  62. data/lib/cookbooks/mysql/files/default/tests/minitest/server_test.rb +36 -0
  63. data/lib/cookbooks/mysql/files/default/tests/minitest/support/helpers.rb +11 -0
  64. data/lib/cookbooks/mysql/libraries/helpers.rb +33 -0
  65. data/lib/cookbooks/mysql/metadata.rb +140 -0
  66. data/lib/cookbooks/mysql/recipes/client.rb +59 -0
  67. data/lib/cookbooks/mysql/recipes/default.rb +20 -0
  68. data/lib/cookbooks/mysql/recipes/ruby.rb +36 -0
  69. data/lib/cookbooks/mysql/recipes/server.rb +216 -0
  70. data/lib/cookbooks/mysql/recipes/server_ec2.rb +51 -0
  71. data/lib/cookbooks/mysql/templates/default/debian.cnf.erb +12 -0
  72. data/lib/cookbooks/mysql/templates/default/grants.sql.erb +15 -0
  73. data/lib/cookbooks/mysql/templates/default/my.cnf.erb +211 -0
  74. data/lib/cookbooks/mysql/templates/default/mysql-server.seed.erb +10 -0
  75. data/lib/cookbooks/mysql/templates/default/port_mysql.erb +3 -0
  76. data/lib/cookbooks/mysql/templates/windows/my.cnf.erb +61 -0
  77. data/lib/cookbooks/mysql/test/features/query_database.feature +26 -0
  78. data/lib/cookbooks/mysql/test/features/step_definitions/mysql_steps.rb +47 -0
  79. data/lib/cookbooks/mysql/test/features/support/env.rb +3 -0
  80. data/lib/cookbooks/mysql/test/features/support/mysql_helpers.rb +51 -0
  81. data/lib/cookbooks/mysql/test/kitchen/Kitchenfile +5 -0
  82. data/lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/.gitignore +1 -0
  83. data/lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/README.md +63 -0
  84. data/lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/attributes/default.rb +27 -0
  85. data/lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/metadata.rb +10 -0
  86. data/lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/recipes/client.rb +20 -0
  87. data/lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/recipes/server.rb +72 -0
  88. data/lib/cookbooks/openssl/CHANGELOG.md +0 -0
  89. data/lib/cookbooks/openssl/CONTRIBUTING +29 -0
  90. data/lib/cookbooks/openssl/LICENSE +201 -0
  91. data/lib/cookbooks/openssl/README.md +37 -0
  92. data/lib/cookbooks/openssl/libraries/secure_password.rb +37 -0
  93. data/lib/cookbooks/openssl/metadata.rb +8 -0
  94. data/lib/cookbooks/openssl/recipes/default.rb +19 -0
  95. data/lib/cookbooks/postgresql/CHANGELOG.md +35 -0
  96. data/lib/cookbooks/postgresql/CONTRIBUTING +29 -0
  97. data/lib/cookbooks/postgresql/LICENSE +201 -0
  98. data/lib/cookbooks/postgresql/README.md +148 -0
  99. data/lib/cookbooks/postgresql/attributes/default.rb +103 -0
  100. data/lib/cookbooks/postgresql/metadata.rb +21 -0
  101. data/lib/cookbooks/postgresql/recipes/client.rb +26 -0
  102. data/lib/cookbooks/postgresql/recipes/default.rb +20 -0
  103. data/lib/cookbooks/postgresql/recipes/ruby.rb +40 -0
  104. data/lib/cookbooks/postgresql/recipes/server.rb +64 -0
  105. data/lib/cookbooks/postgresql/recipes/server_debian.rb +64 -0
  106. data/lib/cookbooks/postgresql/recipes/server_redhat.rb +77 -0
  107. data/lib/cookbooks/postgresql/templates/default/debian.postgresql.conf.erb +499 -0
  108. data/lib/cookbooks/postgresql/templates/default/pg_hba.conf.erb +83 -0
  109. data/lib/cookbooks/postgresql/templates/default/redhat.postgresql.conf.erb +501 -0
  110. data/lib/cookbooks/sqlite/.gitignore +4 -0
  111. data/lib/cookbooks/sqlite/CHANGELOG.md +3 -0
  112. data/lib/cookbooks/sqlite/CONTRIBUTING +29 -0
  113. data/lib/cookbooks/sqlite/Gemfile +2 -0
  114. data/lib/cookbooks/sqlite/LICENSE +201 -0
  115. data/lib/cookbooks/sqlite/README.md +36 -0
  116. data/lib/cookbooks/sqlite/metadata.rb +12 -0
  117. data/lib/cookbooks/sqlite/recipes/default.rb +30 -0
  118. data/lib/cookbooks/sqlite/test/kitchen/Kitchenfile +1 -0
  119. data/lib/cookbooks/xfs/CHANGELOG.md +0 -0
  120. data/lib/cookbooks/xfs/CONTRIBUTING +29 -0
  121. data/lib/cookbooks/xfs/LICENSE +201 -0
  122. data/lib/cookbooks/xfs/README.md +30 -0
  123. data/lib/cookbooks/xfs/metadata.rb +12 -0
  124. data/lib/cookbooks/xfs/recipes/default.rb +26 -0
  125. data/lib/server_maint/version.rb +1 -1
  126. metadata +127 -4
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server_maint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-13 00:00:00.000000000 Z
12
+ date: 2013-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -75,6 +75,22 @@ files:
75
75
  - lib/cookbooks/apt/resources/preference.rb
76
76
  - lib/cookbooks/apt/resources/repository.rb
77
77
  - lib/cookbooks/apt/test/kitchen/Kitchenfile
78
+ - lib/cookbooks/aws/CHANGELOG.md
79
+ - lib/cookbooks/aws/CONTRIBUTING
80
+ - lib/cookbooks/aws/LICENSE
81
+ - lib/cookbooks/aws/README.md
82
+ - lib/cookbooks/aws/attributes/default.rb
83
+ - lib/cookbooks/aws/libraries/ec2.rb
84
+ - lib/cookbooks/aws/metadata.rb
85
+ - lib/cookbooks/aws/providers/ebs_volume.rb
86
+ - lib/cookbooks/aws/providers/elastic_ip.rb
87
+ - lib/cookbooks/aws/providers/elastic_lb.rb
88
+ - lib/cookbooks/aws/providers/resource_tag.rb
89
+ - lib/cookbooks/aws/recipes/default.rb
90
+ - lib/cookbooks/aws/resources/ebs_volume.rb
91
+ - lib/cookbooks/aws/resources/elastic_ip.rb
92
+ - lib/cookbooks/aws/resources/elastic_lb.rb
93
+ - lib/cookbooks/aws/resources/resource_tag.rb
78
94
  - lib/cookbooks/bluepill/.gitignore
79
95
  - lib/cookbooks/bluepill/CHANGELOG.md
80
96
  - lib/cookbooks/bluepill/CONTRIBUTING
@@ -104,6 +120,76 @@ files:
104
120
  - lib/cookbooks/build-essential/attributes/default.rb
105
121
  - lib/cookbooks/build-essential/metadata.rb
106
122
  - lib/cookbooks/build-essential/recipes/default.rb
123
+ - lib/cookbooks/database/.gitignore
124
+ - lib/cookbooks/database/CHANGELOG.md
125
+ - lib/cookbooks/database/CONTRIBUTING
126
+ - lib/cookbooks/database/LICENSE
127
+ - lib/cookbooks/database/README.md
128
+ - lib/cookbooks/database/libraries/provider_database_mysql.rb
129
+ - lib/cookbooks/database/libraries/provider_database_mysql_user.rb
130
+ - lib/cookbooks/database/libraries/provider_database_postgresql.rb
131
+ - lib/cookbooks/database/libraries/provider_database_postgresql_user.rb
132
+ - lib/cookbooks/database/libraries/provider_database_sql_server.rb
133
+ - lib/cookbooks/database/libraries/provider_database_sql_server_user.rb
134
+ - lib/cookbooks/database/libraries/resource_database.rb
135
+ - lib/cookbooks/database/libraries/resource_database_user.rb
136
+ - lib/cookbooks/database/libraries/resource_mysql_database.rb
137
+ - lib/cookbooks/database/libraries/resource_mysql_database_user.rb
138
+ - lib/cookbooks/database/libraries/resource_postgresql_database.rb
139
+ - lib/cookbooks/database/libraries/resource_postgresql_database_user.rb
140
+ - lib/cookbooks/database/libraries/resource_sql_server_database.rb
141
+ - lib/cookbooks/database/libraries/resource_sql_server_database_user.rb
142
+ - lib/cookbooks/database/metadata.rb
143
+ - lib/cookbooks/database/recipes/default.rb
144
+ - lib/cookbooks/database/recipes/ebs_backup.rb
145
+ - lib/cookbooks/database/recipes/ebs_volume.rb
146
+ - lib/cookbooks/database/recipes/master.rb
147
+ - lib/cookbooks/database/recipes/mysql.rb
148
+ - lib/cookbooks/database/recipes/postgresql.rb
149
+ - lib/cookbooks/database/recipes/snapshot.rb
150
+ - lib/cookbooks/database/templates/default/app_grants.sql.erb
151
+ - lib/cookbooks/database/templates/default/aws_config.erb
152
+ - lib/cookbooks/database/templates/default/chef-solo-database-snapshot.cron.erb
153
+ - lib/cookbooks/database/templates/default/chef-solo-database-snapshot.json.erb
154
+ - lib/cookbooks/database/templates/default/chef-solo-database-snapshot.rb.erb
155
+ - lib/cookbooks/database/templates/default/ebs-backup-cron.erb
156
+ - lib/cookbooks/database/templates/default/ebs-db-backup.sh.erb
157
+ - lib/cookbooks/database/templates/default/ebs-db-restore.sh.erb
158
+ - lib/cookbooks/database/templates/default/s3cfg.erb
159
+ - lib/cookbooks/mysql/.gitignore
160
+ - lib/cookbooks/mysql/CHANGELOG.md
161
+ - lib/cookbooks/mysql/CONTRIBUTING
162
+ - lib/cookbooks/mysql/Gemfile
163
+ - lib/cookbooks/mysql/LICENSE
164
+ - lib/cookbooks/mysql/README.md
165
+ - lib/cookbooks/mysql/attributes/client.rb
166
+ - lib/cookbooks/mysql/attributes/server.rb
167
+ - lib/cookbooks/mysql/files/default/tests/minitest/server_test.rb
168
+ - lib/cookbooks/mysql/files/default/tests/minitest/support/helpers.rb
169
+ - lib/cookbooks/mysql/libraries/helpers.rb
170
+ - lib/cookbooks/mysql/metadata.rb
171
+ - lib/cookbooks/mysql/recipes/client.rb
172
+ - lib/cookbooks/mysql/recipes/default.rb
173
+ - lib/cookbooks/mysql/recipes/ruby.rb
174
+ - lib/cookbooks/mysql/recipes/server.rb
175
+ - lib/cookbooks/mysql/recipes/server_ec2.rb
176
+ - lib/cookbooks/mysql/templates/default/debian.cnf.erb
177
+ - lib/cookbooks/mysql/templates/default/grants.sql.erb
178
+ - lib/cookbooks/mysql/templates/default/my.cnf.erb
179
+ - lib/cookbooks/mysql/templates/default/mysql-server.seed.erb
180
+ - lib/cookbooks/mysql/templates/default/port_mysql.erb
181
+ - lib/cookbooks/mysql/templates/windows/my.cnf.erb
182
+ - lib/cookbooks/mysql/test/features/query_database.feature
183
+ - lib/cookbooks/mysql/test/features/step_definitions/mysql_steps.rb
184
+ - lib/cookbooks/mysql/test/features/support/env.rb
185
+ - lib/cookbooks/mysql/test/features/support/mysql_helpers.rb
186
+ - lib/cookbooks/mysql/test/kitchen/Kitchenfile
187
+ - lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/.gitignore
188
+ - lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/README.md
189
+ - lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/attributes/default.rb
190
+ - lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/metadata.rb
191
+ - lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/recipes/client.rb
192
+ - lib/cookbooks/mysql/test/kitchen/cookbooks/mysql_test/recipes/server.rb
107
193
  - lib/cookbooks/nginx/.gitignore
108
194
  - lib/cookbooks/nginx/CHANGELOG.md
109
195
  - lib/cookbooks/nginx/CONTRIBUTING
@@ -167,6 +253,13 @@ files:
167
253
  - lib/cookbooks/ohai/files/default/plugins/README
168
254
  - lib/cookbooks/ohai/metadata.rb
169
255
  - lib/cookbooks/ohai/recipes/default.rb
256
+ - lib/cookbooks/openssl/CHANGELOG.md
257
+ - lib/cookbooks/openssl/CONTRIBUTING
258
+ - lib/cookbooks/openssl/LICENSE
259
+ - lib/cookbooks/openssl/README.md
260
+ - lib/cookbooks/openssl/libraries/secure_password.rb
261
+ - lib/cookbooks/openssl/metadata.rb
262
+ - lib/cookbooks/openssl/recipes/default.rb
170
263
  - lib/cookbooks/php/.gitignore
171
264
  - lib/cookbooks/php/CHANGELOG.md
172
265
  - lib/cookbooks/php/CONTRIBUTING
@@ -203,6 +296,21 @@ files:
203
296
  - lib/cookbooks/php-fpm/README.md
204
297
  - lib/cookbooks/php-fpm/metadata.rb
205
298
  - lib/cookbooks/php-fpm/recipes/default.rb
299
+ - lib/cookbooks/postgresql/CHANGELOG.md
300
+ - lib/cookbooks/postgresql/CONTRIBUTING
301
+ - lib/cookbooks/postgresql/LICENSE
302
+ - lib/cookbooks/postgresql/README.md
303
+ - lib/cookbooks/postgresql/attributes/default.rb
304
+ - lib/cookbooks/postgresql/metadata.rb
305
+ - lib/cookbooks/postgresql/recipes/client.rb
306
+ - lib/cookbooks/postgresql/recipes/default.rb
307
+ - lib/cookbooks/postgresql/recipes/ruby.rb
308
+ - lib/cookbooks/postgresql/recipes/server.rb
309
+ - lib/cookbooks/postgresql/recipes/server_debian.rb
310
+ - lib/cookbooks/postgresql/recipes/server_redhat.rb
311
+ - lib/cookbooks/postgresql/templates/default/debian.postgresql.conf.erb
312
+ - lib/cookbooks/postgresql/templates/default/pg_hba.conf.erb
313
+ - lib/cookbooks/postgresql/templates/default/redhat.postgresql.conf.erb
206
314
  - lib/cookbooks/runit/CHANGELOG.md
207
315
  - lib/cookbooks/runit/CONTRIBUTING
208
316
  - lib/cookbooks/runit/LICENSE
@@ -226,6 +334,21 @@ files:
226
334
  - lib/cookbooks/sanitize/metadata.rb
227
335
  - lib/cookbooks/sanitize/recipes/default.rb
228
336
  - lib/cookbooks/sanitize/templates/default/port_ssh.erb
337
+ - lib/cookbooks/sqlite/.gitignore
338
+ - lib/cookbooks/sqlite/CHANGELOG.md
339
+ - lib/cookbooks/sqlite/CONTRIBUTING
340
+ - lib/cookbooks/sqlite/Gemfile
341
+ - lib/cookbooks/sqlite/LICENSE
342
+ - lib/cookbooks/sqlite/README.md
343
+ - lib/cookbooks/sqlite/metadata.rb
344
+ - lib/cookbooks/sqlite/recipes/default.rb
345
+ - lib/cookbooks/sqlite/test/kitchen/Kitchenfile
346
+ - lib/cookbooks/xfs/CHANGELOG.md
347
+ - lib/cookbooks/xfs/CONTRIBUTING
348
+ - lib/cookbooks/xfs/LICENSE
349
+ - lib/cookbooks/xfs/README.md
350
+ - lib/cookbooks/xfs/metadata.rb
351
+ - lib/cookbooks/xfs/recipes/default.rb
229
352
  - lib/cookbooks/yum/.gitignore
230
353
  - lib/cookbooks/yum/CHANGELOG.md
231
354
  - lib/cookbooks/yum/CONTRIBUTING
@@ -261,7 +384,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
261
384
  version: '0'
262
385
  segments:
263
386
  - 0
264
- hash: 858145946203900851
387
+ hash: 1419622192236361235
265
388
  required_rubygems_version: !ruby/object:Gem::Requirement
266
389
  none: false
267
390
  requirements:
@@ -270,7 +393,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
393
  version: '0'
271
394
  segments:
272
395
  - 0
273
- hash: 858145946203900851
396
+ hash: 1419622192236361235
274
397
  requirements: []
275
398
  rubyforge_project:
276
399
  rubygems_version: 1.8.24