ciborg 0.0.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ciborg might be problematic. Click here for more details.

Files changed (727) hide show
  1. data/.gitignore +9 -16
  2. data/.gitmodules +3 -0
  3. data/.pairs +17 -0
  4. data/.rspec +2 -0
  5. data/.rvmrc +1 -0
  6. data/.travis.yml +5 -0
  7. data/Gemfile +3 -1
  8. data/Guardfile +10 -0
  9. data/LICENSE.txt +17 -18
  10. data/README.md +152 -17
  11. data/Rakefile +16 -1
  12. data/Vagrantfile +18 -0
  13. data/bin/ciborg +5 -0
  14. data/chef/cookbooks/pivotal_ci/.gitignore +4 -0
  15. data/chef/cookbooks/pivotal_ci/Gemfile +3 -0
  16. data/chef/cookbooks/pivotal_ci/README.md +3 -0
  17. data/chef/cookbooks/pivotal_ci/attributes/git.rb +4 -0
  18. data/chef/cookbooks/pivotal_ci/attributes/jenkins.rb +3 -0
  19. data/chef/cookbooks/pivotal_ci/attributes/nginx.rb +1 -0
  20. data/chef/cookbooks/pivotal_ci/attributes/ssl.rb +5 -0
  21. data/chef/cookbooks/pivotal_ci/files/default/jenkins-ci.org.key +112 -0
  22. data/chef/cookbooks/pivotal_ci/files/default/tests/minitest/default_test.rb +75 -0
  23. data/chef/cookbooks/pivotal_ci/metadata.rb +32 -0
  24. data/chef/cookbooks/pivotal_ci/recipes/default.rb +6 -0
  25. data/chef/cookbooks/pivotal_ci/recipes/fonts.rb +5 -0
  26. data/chef/cookbooks/pivotal_ci/recipes/git_config.rb +17 -0
  27. data/chef/cookbooks/pivotal_ci/recipes/id_rsa.rb +32 -0
  28. data/chef/cookbooks/pivotal_ci/recipes/jenkins.rb +26 -0
  29. data/chef/cookbooks/pivotal_ci/recipes/jenkins_config.rb +48 -0
  30. data/chef/cookbooks/pivotal_ci/recipes/limited_travis_ci_environment.rb +39 -0
  31. data/chef/cookbooks/pivotal_ci/recipes/nginx.rb +19 -0
  32. data/chef/cookbooks/pivotal_ci/recipes/ssl_certificate.rb +44 -0
  33. data/chef/cookbooks/pivotal_ci/recipes/teamcity.rb +42 -0
  34. data/chef/cookbooks/pivotal_ci/templates/default/jenkins-job-config.xml.erb +79 -0
  35. data/chef/cookbooks/pivotal_ci/templates/default/nginx-conf.erb +58 -0
  36. data/chef/cookbooks/pivotal_ci/templates/default/nginx-htaccess.erb +3 -0
  37. data/chef/cookbooks/pivotal_ci/templates/default/org.jenkinsci.plugins.xvfb.XvfbBuildWrapper.xml.erb +11 -0
  38. data/chef/cookbooks/pivotal_ci/templates/default/teamcity-initd.erb +44 -0
  39. data/chef/cookbooks/pivotal_ci/test/kitchen/Kitchenfile +4 -0
  40. data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/attributes/default.rb +2 -0
  41. data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/metadata.rb +10 -0
  42. data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/recipes/bootstrap.rb +41 -0
  43. data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/recipes/default.rb +1 -0
  44. data/chef/travis-cookbooks/.gitignore +7 -0
  45. data/chef/travis-cookbooks/LICENSE +23 -0
  46. data/chef/travis-cookbooks/README.md +28 -0
  47. data/chef/travis-cookbooks/ci_environment/.gitignore +1 -0
  48. data/chef/travis-cookbooks/ci_environment/ant/README.md +51 -0
  49. data/chef/travis-cookbooks/ci_environment/ant/metadata.rb +14 -0
  50. data/chef/travis-cookbooks/ci_environment/ant/recipes/default.rb +41 -0
  51. data/chef/travis-cookbooks/ci_environment/apt/README.md +109 -0
  52. data/chef/travis-cookbooks/ci_environment/apt/attributes/default.rb +1 -0
  53. data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-cacher +9 -0
  54. data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-cacher.conf +144 -0
  55. data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-proxy-v2.conf +50 -0
  56. data/chef/travis-cookbooks/ci_environment/apt/metadata.json +34 -0
  57. data/chef/travis-cookbooks/ci_environment/apt/metadata.rb +13 -0
  58. data/chef/travis-cookbooks/ci_environment/apt/providers/repository.rb +73 -0
  59. data/chef/travis-cookbooks/ci_environment/apt/recipes/cacher-client.rb +37 -0
  60. data/chef/travis-cookbooks/ci_environment/apt/recipes/cacher.rb +45 -0
  61. data/chef/travis-cookbooks/ci_environment/apt/recipes/default.rb +55 -0
  62. data/chef/travis-cookbooks/ci_environment/apt/resources/repository.rb +31 -0
  63. data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-10.04/sources.list.erb +31 -0
  64. data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-11.04/sources.list.erb +31 -0
  65. data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-11.10/sources.list.erb +31 -0
  66. data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-12.04/sources.list.erb +54 -0
  67. data/chef/travis-cookbooks/ci_environment/bazaar/recipes/default.rb +26 -0
  68. data/chef/travis-cookbooks/ci_environment/bison/attributes/default.rb +7 -0
  69. data/chef/travis-cookbooks/ci_environment/bison/recipes/default.rb +48 -0
  70. data/chef/travis-cookbooks/ci_environment/build-essential/README.md +24 -0
  71. data/chef/travis-cookbooks/ci_environment/build-essential/metadata.rb +10 -0
  72. data/chef/travis-cookbooks/ci_environment/build-essential/recipes/default.rb +47 -0
  73. data/chef/travis-cookbooks/ci_environment/cassandra/attributes/default.rb +28 -0
  74. data/chef/travis-cookbooks/ci_environment/cassandra/recipes/datastax.rb +43 -0
  75. data/chef/travis-cookbooks/ci_environment/cassandra/recipes/package.rb +43 -0
  76. data/chef/travis-cookbooks/ci_environment/cassandra/recipes/tarball.rb +158 -0
  77. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-cli.erb +60 -0
  78. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-env.sh.erb +159 -0
  79. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-limits.conf.erb +2 -0
  80. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra.init.erb +158 -0
  81. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra.yaml.erb +567 -0
  82. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/log4j-server.properties.yml +43 -0
  83. data/chef/travis-cookbooks/ci_environment/chromium/recipes/default.rb +26 -0
  84. data/chef/travis-cookbooks/ci_environment/clang/attributes/tarball.rb +6 -0
  85. data/chef/travis-cookbooks/ci_environment/clang/metadata.rb +11 -0
  86. data/chef/travis-cookbooks/ci_environment/clang/recipes/default.rb +26 -0
  87. data/chef/travis-cookbooks/ci_environment/clang/recipes/tarball.rb +73 -0
  88. data/chef/travis-cookbooks/ci_environment/cmake/README.md +21 -0
  89. data/chef/travis-cookbooks/ci_environment/cmake/metadata.rb +10 -0
  90. data/chef/travis-cookbooks/ci_environment/cmake/recipes/default.rb +23 -0
  91. data/chef/travis-cookbooks/ci_environment/composer/recipes/default.rb +21 -0
  92. data/chef/travis-cookbooks/ci_environment/composer/templates/default/composer.erb +3 -0
  93. data/chef/travis-cookbooks/ci_environment/couchdb/recipes/default.rb +33 -0
  94. data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ppa.rb +37 -0
  95. data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu-12.04.rb +39 -0
  96. data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu1110_ppa.rb +27 -0
  97. data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu1204_ppa.rb +27 -0
  98. data/chef/travis-cookbooks/ci_environment/doxygen/recipes/default.rb +24 -0
  99. data/chef/travis-cookbooks/ci_environment/elasticsearch/attributes/default.rb +6 -0
  100. data/chef/travis-cookbooks/ci_environment/elasticsearch/recipes/default.rb +67 -0
  101. data/chef/travis-cookbooks/ci_environment/emacs/metadata.rb +11 -0
  102. data/chef/travis-cookbooks/ci_environment/emacs/recipes/default.rb +21 -0
  103. data/chef/travis-cookbooks/ci_environment/emacs/recipes/nox.rb +32 -0
  104. data/chef/travis-cookbooks/ci_environment/erlang/attributes/default.rb +1 -0
  105. data/chef/travis-cookbooks/ci_environment/erlang/metadata.rb +11 -0
  106. data/chef/travis-cookbooks/ci_environment/erlang/recipes/default.rb +27 -0
  107. data/chef/travis-cookbooks/ci_environment/firefox/recipes/default.rb +29 -0
  108. data/chef/travis-cookbooks/ci_environment/git/README.rdoc +37 -0
  109. data/chef/travis-cookbooks/ci_environment/git/files/default/git_1.7.5.4-1+github5_amd64.deb +0 -0
  110. data/chef/travis-cookbooks/ci_environment/git/files/default/git_1.7.5.4-1+github5_i386.deb +0 -0
  111. data/chef/travis-cookbooks/ci_environment/git/metadata.rb +15 -0
  112. data/chef/travis-cookbooks/ci_environment/git/recipes/custom.git +65 -0
  113. data/chef/travis-cookbooks/ci_environment/git/recipes/default.rb +23 -0
  114. data/chef/travis-cookbooks/ci_environment/git/recipes/ppa.rb +37 -0
  115. data/chef/travis-cookbooks/ci_environment/git/templates/default/sv-git-daemon-log-run.erb +2 -0
  116. data/chef/travis-cookbooks/ci_environment/git/templates/default/sv-git-daemon-run.erb +3 -0
  117. data/chef/travis-cookbooks/ci_environment/golang/README.md +35 -0
  118. data/chef/travis-cookbooks/ci_environment/golang/attributes/default.rb +11 -0
  119. data/chef/travis-cookbooks/ci_environment/golang/recipes/default.rb +20 -0
  120. data/chef/travis-cookbooks/ci_environment/golang/recipes/multi.rb +55 -0
  121. data/chef/travis-cookbooks/ci_environment/golang/recipes/ppa.rb +32 -0
  122. data/chef/travis-cookbooks/ci_environment/gradle/README.md +33 -0
  123. data/chef/travis-cookbooks/ci_environment/gradle/attributes/tarball.rb +9 -0
  124. data/chef/travis-cookbooks/ci_environment/gradle/files/default/etc/profile.d/gradle.sh +1 -0
  125. data/chef/travis-cookbooks/ci_environment/gradle/recipes/tarball.rb +65 -0
  126. data/chef/travis-cookbooks/ci_environment/gvm/files/ubuntu/gvm.sh +3 -0
  127. data/chef/travis-cookbooks/ci_environment/gvm/recipes/default.rb +44 -0
  128. data/chef/travis-cookbooks/ci_environment/haskell/attributes/ghc.rb +4 -0
  129. data/chef/travis-cookbooks/ci_environment/haskell/attributes/platform.rb +5 -0
  130. data/chef/travis-cookbooks/ci_environment/haskell/files/default/cabal.sh +3 -0
  131. data/chef/travis-cookbooks/ci_environment/haskell/recipes/default.rb +38 -0
  132. data/chef/travis-cookbooks/ci_environment/haskell/recipes/ghc_package.rb +28 -0
  133. data/chef/travis-cookbooks/ci_environment/haskell/recipes/ghc_source.rb +78 -0
  134. data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_package.rb +52 -0
  135. data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_ppa.rb +68 -0
  136. data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_source.rb +67 -0
  137. data/chef/travis-cookbooks/ci_environment/haskell/recipes/source.rb +25 -0
  138. data/chef/travis-cookbooks/ci_environment/hbase/recipes/cdh4.rb +49 -0
  139. data/chef/travis-cookbooks/ci_environment/htop/recipes/default.rb +4 -0
  140. data/chef/travis-cookbooks/ci_environment/imagemagick/README.rdoc +33 -0
  141. data/chef/travis-cookbooks/ci_environment/imagemagick/metadata.rb +12 -0
  142. data/chef/travis-cookbooks/ci_environment/imagemagick/recipes/default.rb +37 -0
  143. data/chef/travis-cookbooks/ci_environment/iptables/files/default/iptables_rules +13 -0
  144. data/chef/travis-cookbooks/ci_environment/iptables/metadata.rb +10 -0
  145. data/chef/travis-cookbooks/ci_environment/iptables/recipes/default.rb +48 -0
  146. data/chef/travis-cookbooks/ci_environment/iptables/templates/default/iptables_load.erb +3 -0
  147. data/chef/travis-cookbooks/ci_environment/java/README.md +102 -0
  148. data/chef/travis-cookbooks/ci_environment/java/attributes/default.rb +43 -0
  149. data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/java.seed +14 -0
  150. data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/load_jdk_switcher.sh +7 -0
  151. data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/oraclejdk7.jinfo +44 -0
  152. data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/oraclejdk8.jinfo +44 -0
  153. data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/startssl_root_ca_installer.sh +48 -0
  154. data/chef/travis-cookbooks/ci_environment/java/metadata.rb +16 -0
  155. data/chef/travis-cookbooks/ci_environment/java/recipes/default.rb +30 -0
  156. data/chef/travis-cookbooks/ci_environment/java/recipes/multi.rb +30 -0
  157. data/chef/travis-cookbooks/ci_environment/java/recipes/openjdk6.rb +27 -0
  158. data/chef/travis-cookbooks/ci_environment/java/recipes/openjdk7.rb +27 -0
  159. data/chef/travis-cookbooks/ci_environment/java/recipes/oraclejdk7.rb +83 -0
  160. data/chef/travis-cookbooks/ci_environment/java/recipes/oraclejdk8.rb +71 -0
  161. data/chef/travis-cookbooks/ci_environment/java/templates/ubuntu/etc/profile.d/java_home.sh.erb +3 -0
  162. data/chef/travis-cookbooks/ci_environment/jpackage/CHANGELOG.md +7 -0
  163. data/chef/travis-cookbooks/ci_environment/jpackage/CONTRIBUTING +29 -0
  164. data/chef/travis-cookbooks/ci_environment/jpackage/LICENSE +201 -0
  165. data/chef/travis-cookbooks/ci_environment/jpackage/README.md +52 -0
  166. data/chef/travis-cookbooks/ci_environment/jpackage/attributes/default.rb +20 -0
  167. data/chef/travis-cookbooks/ci_environment/jpackage/metadata.rb +14 -0
  168. data/chef/travis-cookbooks/ci_environment/jpackage/recipes/default.rb +58 -0
  169. data/chef/travis-cookbooks/ci_environment/jpackage/templates/default/jpackage.repo.erb +49 -0
  170. data/chef/travis-cookbooks/ci_environment/jpackage/templates/fedora/jpackage.repo.erb +49 -0
  171. data/chef/travis-cookbooks/ci_environment/kerl/README.md +3 -0
  172. data/chef/travis-cookbooks/ci_environment/kerl/attributes/default.rb +1 -0
  173. data/chef/travis-cookbooks/ci_environment/kerl/attributes/source.rb +2 -0
  174. data/chef/travis-cookbooks/ci_environment/kerl/files/default/erlang.cookie +1 -0
  175. data/chef/travis-cookbooks/ci_environment/kerl/metadata.rb +6 -0
  176. data/chef/travis-cookbooks/ci_environment/kerl/recipes/default.rb +19 -0
  177. data/chef/travis-cookbooks/ci_environment/kerl/recipes/source.rb +104 -0
  178. data/chef/travis-cookbooks/ci_environment/kestrel/attributes/tarball.rb +15 -0
  179. data/chef/travis-cookbooks/ci_environment/kestrel/files/default/config/development.scala +33 -0
  180. data/chef/travis-cookbooks/ci_environment/kestrel/recipes/tarball.rb +134 -0
  181. data/chef/travis-cookbooks/ci_environment/kestrel/templates/ubuntu/kestrel-limits.conf.erb +2 -0
  182. data/chef/travis-cookbooks/ci_environment/kestrel/templates/ubuntu/kestrel.init.erb +208 -0
  183. data/chef/travis-cookbooks/ci_environment/leiningen/README.rdoc +5 -0
  184. data/chef/travis-cookbooks/ci_environment/leiningen/attributes/default.rb +5 -0
  185. data/chef/travis-cookbooks/ci_environment/leiningen/files/default/profiles.clj +1 -0
  186. data/chef/travis-cookbooks/ci_environment/leiningen/metadata.json +32 -0
  187. data/chef/travis-cookbooks/ci_environment/leiningen/metadata.rb +8 -0
  188. data/chef/travis-cookbooks/ci_environment/leiningen/recipes/default.rb +23 -0
  189. data/chef/travis-cookbooks/ci_environment/leiningen/recipes/lein1x.rb +68 -0
  190. data/chef/travis-cookbooks/ci_environment/leiningen/recipes/lein2x.rb +82 -0
  191. data/chef/travis-cookbooks/ci_environment/libffi/recipes/default.rb +34 -0
  192. data/chef/travis-cookbooks/ci_environment/libgdbm/recipes/default.rb +27 -0
  193. data/chef/travis-cookbooks/ci_environment/libncurses/recipes/default.rb +31 -0
  194. data/chef/travis-cookbooks/ci_environment/libossp-uuid/recipes/default.rb +27 -0
  195. data/chef/travis-cookbooks/ci_environment/libqt4/recipes/default.rb +5 -0
  196. data/chef/travis-cookbooks/ci_environment/libreadline/recipes/default.rb +34 -0
  197. data/chef/travis-cookbooks/ci_environment/libssl/recipes/098.rb +28 -0
  198. data/chef/travis-cookbooks/ci_environment/libssl/recipes/default.rb +24 -0
  199. data/chef/travis-cookbooks/ci_environment/libxml/recipes/default.rb +30 -0
  200. data/chef/travis-cookbooks/ci_environment/libyaml/recipes/default.rb +6 -0
  201. data/chef/travis-cookbooks/ci_environment/lighttpd/attributes/default.rb +3 -0
  202. data/chef/travis-cookbooks/ci_environment/lighttpd/recipes/default.rb +39 -0
  203. data/chef/travis-cookbooks/ci_environment/lighttpd/templates/default/lighttpd.conf.erb +166 -0
  204. data/chef/travis-cookbooks/ci_environment/maven3/attributes/default.rb +3 -0
  205. data/chef/travis-cookbooks/ci_environment/maven3/files/default/settings.xml +136 -0
  206. data/chef/travis-cookbooks/ci_environment/maven3/recipes/default.rb +56 -0
  207. data/chef/travis-cookbooks/ci_environment/maven3/recipes/package.rb +27 -0
  208. data/chef/travis-cookbooks/ci_environment/maven3/recipes/ppa.rb +44 -0
  209. data/chef/travis-cookbooks/ci_environment/maven3/recipes/tarball.rb +37 -0
  210. data/chef/travis-cookbooks/ci_environment/maven3/templates/ubuntu-11.04/install_maven3.sh.erb +32 -0
  211. data/chef/travis-cookbooks/ci_environment/memcached/README.rdoc +52 -0
  212. data/chef/travis-cookbooks/ci_environment/memcached/attributes/default.rb +5 -0
  213. data/chef/travis-cookbooks/ci_environment/memcached/attributes/ppa.rb +3 -0
  214. data/chef/travis-cookbooks/ci_environment/memcached/definitions/memcached_instance.rb +32 -0
  215. data/chef/travis-cookbooks/ci_environment/memcached/metadata.rb +33 -0
  216. data/chef/travis-cookbooks/ci_environment/memcached/recipes/default.rb +60 -0
  217. data/chef/travis-cookbooks/ci_environment/memcached/recipes/ppa.rb +34 -0
  218. data/chef/travis-cookbooks/ci_environment/memcached/templates/default/memcached.conf.erb +54 -0
  219. data/chef/travis-cookbooks/ci_environment/memcached/templates/default/memcached.default.erb +2 -0
  220. data/chef/travis-cookbooks/ci_environment/memcached/templates/default/sv-memcached-log-run.erb +2 -0
  221. data/chef/travis-cookbooks/ci_environment/memcached/templates/default/sv-memcached-run.erb +3 -0
  222. data/chef/travis-cookbooks/ci_environment/mercurial/recipes/default.rb +26 -0
  223. data/chef/travis-cookbooks/ci_environment/mercurial/recipes/ppa.rb +36 -0
  224. data/chef/travis-cookbooks/ci_environment/mingw32/README.md +21 -0
  225. data/chef/travis-cookbooks/ci_environment/mingw32/metadata.rb +10 -0
  226. data/chef/travis-cookbooks/ci_environment/mingw32/recipes/default.rb +23 -0
  227. data/chef/travis-cookbooks/ci_environment/mongodb/.gitignore +1 -0
  228. data/chef/travis-cookbooks/ci_environment/mongodb/README.md +0 -0
  229. data/chef/travis-cookbooks/ci_environment/mongodb/attributes/mongodb.rb +67 -0
  230. data/chef/travis-cookbooks/ci_environment/mongodb/files/default/mongodb.list +1 -0
  231. data/chef/travis-cookbooks/ci_environment/mongodb/files/default/mongodb.sysvinit.sh +261 -0
  232. data/chef/travis-cookbooks/ci_environment/mongodb/metadata.rb +235 -0
  233. data/chef/travis-cookbooks/ci_environment/mongodb/recipes/apt.rb +65 -0
  234. data/chef/travis-cookbooks/ci_environment/mongodb/recipes/default.rb +23 -0
  235. data/chef/travis-cookbooks/ci_environment/mongodb/recipes/server.rb +44 -0
  236. data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongod.upstart.erb +16 -0
  237. data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.conf.erb +5 -0
  238. data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.init.10gen.erb +74 -0
  239. data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.init.erb +268 -0
  240. data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.list.erb +1 -0
  241. data/chef/travis-cookbooks/ci_environment/mysql/README.md +141 -0
  242. data/chef/travis-cookbooks/ci_environment/mysql/attributes/default.rb +1 -0
  243. data/chef/travis-cookbooks/ci_environment/mysql/attributes/server.rb +69 -0
  244. data/chef/travis-cookbooks/ci_environment/mysql/attributes/server_on_ramfs.rb +1 -0
  245. data/chef/travis-cookbooks/ci_environment/mysql/libraries/database.rb +19 -0
  246. data/chef/travis-cookbooks/ci_environment/mysql/libraries/helpers.rb +33 -0
  247. data/chef/travis-cookbooks/ci_environment/mysql/metadata.rb +77 -0
  248. data/chef/travis-cookbooks/ci_environment/mysql/providers/database.rb +81 -0
  249. data/chef/travis-cookbooks/ci_environment/mysql/recipes/client.rb +60 -0
  250. data/chef/travis-cookbooks/ci_environment/mysql/recipes/default.rb +20 -0
  251. data/chef/travis-cookbooks/ci_environment/mysql/recipes/server.rb +125 -0
  252. data/chef/travis-cookbooks/ci_environment/mysql/recipes/server_on_ramfs.rb +88 -0
  253. data/chef/travis-cookbooks/ci_environment/mysql/resources/database.rb +27 -0
  254. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/debian.cnf.erb +12 -0
  255. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/grants.sql.erb +33 -0
  256. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/init/mysql.conf.erb +49 -0
  257. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/my.cnf.erb +182 -0
  258. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/mysql-server.seed.erb +10 -0
  259. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/port_mysql.erb +3 -0
  260. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/ramfs/my.cnf.erb +175 -0
  261. data/chef/travis-cookbooks/ci_environment/neo4j-server/.gitignore +4 -0
  262. data/chef/travis-cookbooks/ci_environment/neo4j-server/README.md +47 -0
  263. data/chef/travis-cookbooks/ci_environment/neo4j-server/attributes/tarball.rb +43 -0
  264. data/chef/travis-cookbooks/ci_environment/neo4j-server/recipes/tarball.rb +164 -0
  265. data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-limits.conf.erb +2 -0
  266. data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-server.properties.erb +75 -0
  267. data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-wrapper.conf.erb +26 -0
  268. data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j.init.erb +55 -0
  269. data/chef/travis-cookbooks/ci_environment/networking_basic/recipes/default.rb +39 -0
  270. data/chef/travis-cookbooks/ci_environment/nodejs/attributes/multi.rb +3 -0
  271. data/chef/travis-cookbooks/ci_environment/nodejs/files/default/nvm.sh +281 -0
  272. data/chef/travis-cookbooks/ci_environment/nodejs/files/default/profile_entry.sh +3 -0
  273. data/chef/travis-cookbooks/ci_environment/nodejs/recipes/multi.rb +79 -0
  274. data/chef/travis-cookbooks/ci_environment/nodejs/templates/default/nvm.sh.erb +3 -0
  275. data/chef/travis-cookbooks/ci_environment/openssh/files/default/ssh_init.sh +181 -0
  276. data/chef/travis-cookbooks/ci_environment/openssh/files/default/sshd_config +54 -0
  277. data/chef/travis-cookbooks/ci_environment/openssh/recipes/default.rb +42 -0
  278. data/chef/travis-cookbooks/ci_environment/openssl/README.md +37 -0
  279. data/chef/travis-cookbooks/ci_environment/openssl/libraries/secure_password.rb +37 -0
  280. data/chef/travis-cookbooks/ci_environment/openssl/metadata.rb +8 -0
  281. data/chef/travis-cookbooks/ci_environment/openssl/recipes/default.rb +19 -0
  282. data/chef/travis-cookbooks/ci_environment/perlbrew/attributes/default.rb +0 -0
  283. data/chef/travis-cookbooks/ci_environment/perlbrew/attributes/multi.rb +8 -0
  284. data/chef/travis-cookbooks/ci_environment/perlbrew/files/default/perlbrew.sh +7 -0
  285. data/chef/travis-cookbooks/ci_environment/perlbrew/metadata.rb +11 -0
  286. data/chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb +26 -0
  287. data/chef/travis-cookbooks/ci_environment/perlbrew/recipes/multi.rb +41 -0
  288. data/chef/travis-cookbooks/ci_environment/phantomjs/attributes/default.rb +10 -0
  289. data/chef/travis-cookbooks/ci_environment/phantomjs/files/ubuntu/etc/profile.d/phantomjs.sh +1 -0
  290. data/chef/travis-cookbooks/ci_environment/phantomjs/metadata.rb +3 -0
  291. data/chef/travis-cookbooks/ci_environment/phantomjs/recipes/default.rb +26 -0
  292. data/chef/travis-cookbooks/ci_environment/phantomjs/recipes/tarball.rb +69 -0
  293. data/chef/travis-cookbooks/ci_environment/php/README.md +5 -0
  294. data/chef/travis-cookbooks/ci_environment/php/attributes/default.rb +47 -0
  295. data/chef/travis-cookbooks/ci_environment/php/metadata.rb +10 -0
  296. data/chef/travis-cookbooks/ci_environment/php/providers/pecl.rb +87 -0
  297. data/chef/travis-cookbooks/ci_environment/php/recipes/extensions.rb +26 -0
  298. data/chef/travis-cookbooks/ci_environment/php/recipes/multi.rb +26 -0
  299. data/chef/travis-cookbooks/ci_environment/php/resources/pecl.rb +11 -0
  300. data/chef/travis-cookbooks/ci_environment/phpbuild/attributes/default.rb +19 -0
  301. data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/after-install.d/phpunit.sh +58 -0
  302. data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/definitions/5.2.17 +18 -0
  303. data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/definitions/5.3.3 +6 -0
  304. data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/definitions/5.5.0beta1 +5 -0
  305. data/chef/travis-cookbooks/ci_environment/phpbuild/metadata.rb +5 -0
  306. data/chef/travis-cookbooks/ci_environment/phpbuild/providers/build.rb +56 -0
  307. data/chef/travis-cookbooks/ci_environment/phpbuild/recipes/default.rb +122 -0
  308. data/chef/travis-cookbooks/ci_environment/phpbuild/resources/build.rb +7 -0
  309. data/chef/travis-cookbooks/ci_environment/phpbuild/templates/default/default_configure_options.erb +42 -0
  310. data/chef/travis-cookbooks/ci_environment/phpbuild/templates/default/travis.ini.erb +9 -0
  311. data/chef/travis-cookbooks/ci_environment/phpenv/attributes/default.rb +6 -0
  312. data/chef/travis-cookbooks/ci_environment/phpenv/files/default/phpenv.sh +5 -0
  313. data/chef/travis-cookbooks/ci_environment/phpenv/metadata.rb +5 -0
  314. data/chef/travis-cookbooks/ci_environment/phpenv/recipes/default.rb +33 -0
  315. data/chef/travis-cookbooks/ci_environment/postgresql/README.rdoc +49 -0
  316. data/chef/travis-cookbooks/ci_environment/postgresql/attributes/default.rb +74 -0
  317. data/chef/travis-cookbooks/ci_environment/postgresql/metadata.rb +15 -0
  318. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/client.rb +28 -0
  319. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/default.rb +20 -0
  320. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server.rb +83 -0
  321. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_debian.rb +73 -0
  322. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_on_ramfs.rb +32 -0
  323. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_redhat.rb +84 -0
  324. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/30-shared-memory.conf.erb +2 -0
  325. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/debian.pg_hba.conf.erb +83 -0
  326. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/debian.postgresql.conf.erb +234 -0
  327. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/ramfs.init.erb +50 -0
  328. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/redhat.pg_hba.conf.erb +74 -0
  329. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/redhat.postgresql.conf.erb +502 -0
  330. data/chef/travis-cookbooks/ci_environment/pypy/attributes/default.rb +21 -0
  331. data/chef/travis-cookbooks/ci_environment/pypy/files/default/etc/profile.d/pypy.sh +1 -0
  332. data/chef/travis-cookbooks/ci_environment/pypy/recipes/ppa.rb +39 -0
  333. data/chef/travis-cookbooks/ci_environment/pypy/recipes/tarball.rb +54 -0
  334. data/chef/travis-cookbooks/ci_environment/python/README.md +162 -0
  335. data/chef/travis-cookbooks/ci_environment/python/attributes/default.rb +22 -0
  336. data/chef/travis-cookbooks/ci_environment/python/files/default/virtualenv_settings.sh +1 -0
  337. data/chef/travis-cookbooks/ci_environment/python/metadata.json +52 -0
  338. data/chef/travis-cookbooks/ci_environment/python/metadata.rb +17 -0
  339. data/chef/travis-cookbooks/ci_environment/python/providers/pip.rb +146 -0
  340. data/chef/travis-cookbooks/ci_environment/python/providers/virtualenv.rb +79 -0
  341. data/chef/travis-cookbooks/ci_environment/python/recipes/default.rb +21 -0
  342. data/chef/travis-cookbooks/ci_environment/python/recipes/devshm.rb +10 -0
  343. data/chef/travis-cookbooks/ci_environment/python/recipes/multi.rb +188 -0
  344. data/chef/travis-cookbooks/ci_environment/python/recipes/package.rb +36 -0
  345. data/chef/travis-cookbooks/ci_environment/python/recipes/pip.rb +38 -0
  346. data/chef/travis-cookbooks/ci_environment/python/recipes/virtualenv.rb +32 -0
  347. data/chef/travis-cookbooks/ci_environment/python/resources/pip.rb +26 -0
  348. data/chef/travis-cookbooks/ci_environment/python/resources/virtualenv.rb +28 -0
  349. data/chef/travis-cookbooks/ci_environment/rabbitmq/README.md +86 -0
  350. data/chef/travis-cookbooks/ci_environment/rabbitmq/attributes/default.rb +11 -0
  351. data/chef/travis-cookbooks/ci_environment/rabbitmq/metadata.rb +63 -0
  352. data/chef/travis-cookbooks/ci_environment/rabbitmq/providers/user.rb +66 -0
  353. data/chef/travis-cookbooks/ci_environment/rabbitmq/providers/vhost.rb +34 -0
  354. data/chef/travis-cookbooks/ci_environment/rabbitmq/recipes/default.rb +67 -0
  355. data/chef/travis-cookbooks/ci_environment/rabbitmq/recipes/with_management_plugin.rb +13 -0
  356. data/chef/travis-cookbooks/ci_environment/rabbitmq/resources/user.rb +25 -0
  357. data/chef/travis-cookbooks/ci_environment/rabbitmq/resources/vhost.rb +22 -0
  358. data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/doterlang.cookie.erb +1 -0
  359. data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq-env.conf.erb +10 -0
  360. data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq.config.erb +5 -0
  361. data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq_cluster.config.erb +5 -0
  362. data/chef/travis-cookbooks/ci_environment/ragel/recipes/custom.rb +56 -0
  363. data/chef/travis-cookbooks/ci_environment/ragel/recipes/default.rb +28 -0
  364. data/chef/travis-cookbooks/ci_environment/ramfs/attributes/default.rb +1 -0
  365. data/chef/travis-cookbooks/ci_environment/ramfs/recipes/default.rb +27 -0
  366. data/chef/travis-cookbooks/ci_environment/rebar/README.md +3 -0
  367. data/chef/travis-cookbooks/ci_environment/rebar/attributes/default.rb +2 -0
  368. data/chef/travis-cookbooks/ci_environment/rebar/metadata.rb +7 -0
  369. data/chef/travis-cookbooks/ci_environment/rebar/recipes/default.rb +26 -0
  370. data/chef/travis-cookbooks/ci_environment/redis/attributes/default.rb +10 -0
  371. data/chef/travis-cookbooks/ci_environment/redis/recipes/default.rb +68 -0
  372. data/chef/travis-cookbooks/ci_environment/redis/recipes/ppa.rb +42 -0
  373. data/chef/travis-cookbooks/ci_environment/riak/.gitignore +1 -0
  374. data/chef/travis-cookbooks/ci_environment/riak/README.md +161 -0
  375. data/chef/travis-cookbooks/ci_environment/riak/attributes/api.rb +21 -0
  376. data/chef/travis-cookbooks/ci_environment/riak/attributes/bitcask.rb +22 -0
  377. data/chef/travis-cookbooks/ci_environment/riak/attributes/control.rb +23 -0
  378. data/chef/travis-cookbooks/ci_environment/riak/attributes/core.rb +41 -0
  379. data/chef/travis-cookbooks/ci_environment/riak/attributes/default.rb +33 -0
  380. data/chef/travis-cookbooks/ci_environment/riak/attributes/dets.rb +20 -0
  381. data/chef/travis-cookbooks/ci_environment/riak/attributes/eleveldb.rb +6 -0
  382. data/chef/travis-cookbooks/ci_environment/riak/attributes/erlang.rb +30 -0
  383. data/chef/travis-cookbooks/ci_environment/riak/attributes/err.rb +21 -0
  384. data/chef/travis-cookbooks/ci_environment/riak/attributes/innostore.rb +28 -0
  385. data/chef/travis-cookbooks/ci_environment/riak/attributes/kernel.rb +22 -0
  386. data/chef/travis-cookbooks/ci_environment/riak/attributes/kv.rb +62 -0
  387. data/chef/travis-cookbooks/ci_environment/riak/attributes/lager.rb +31 -0
  388. data/chef/travis-cookbooks/ci_environment/riak/attributes/merge.rb +22 -0
  389. data/chef/travis-cookbooks/ci_environment/riak/attributes/netdev.rb +22 -0
  390. data/chef/travis-cookbooks/ci_environment/riak/attributes/package.rb +30 -0
  391. data/chef/travis-cookbooks/ci_environment/riak/attributes/sasl.rb +25 -0
  392. data/chef/travis-cookbooks/ci_environment/riak/attributes/search.rb +19 -0
  393. data/chef/travis-cookbooks/ci_environment/riak/attributes/service.rb +20 -0
  394. data/chef/travis-cookbooks/ci_environment/riak/attributes/sysmon.rb +25 -0
  395. data/chef/travis-cookbooks/ci_environment/riak/libraries/riak_template_helper.rb +180 -0
  396. data/chef/travis-cookbooks/ci_environment/riak/metadata.rb +32 -0
  397. data/chef/travis-cookbooks/ci_environment/riak/providers/cluster.rb +80 -0
  398. data/chef/travis-cookbooks/ci_environment/riak/recipes/autoconf.rb +47 -0
  399. data/chef/travis-cookbooks/ci_environment/riak/recipes/config.rb +70 -0
  400. data/chef/travis-cookbooks/ci_environment/riak/recipes/default.rb +160 -0
  401. data/chef/travis-cookbooks/ci_environment/riak/recipes/innostore.rb +74 -0
  402. data/chef/travis-cookbooks/ci_environment/riak/recipes/iptables.rb +25 -0
  403. data/chef/travis-cookbooks/ci_environment/riak/resources/cluster.rb +27 -0
  404. data/chef/travis-cookbooks/ci_environment/riak/templates/default/app.config.erb +2 -0
  405. data/chef/travis-cookbooks/ci_environment/riak/templates/default/iptables.erb +13 -0
  406. data/chef/travis-cookbooks/ci_environment/riak/templates/default/vm.args.erb +2 -0
  407. data/chef/travis-cookbooks/ci_environment/runit/CHANGELOG.md +3 -0
  408. data/chef/travis-cookbooks/ci_environment/runit/CONTRIBUTING +29 -0
  409. data/chef/travis-cookbooks/ci_environment/runit/LICENSE +201 -0
  410. data/chef/travis-cookbooks/ci_environment/runit/README.md +226 -0
  411. data/chef/travis-cookbooks/ci_environment/runit/attributes/default.rb +31 -0
  412. data/chef/travis-cookbooks/ci_environment/runit/definitions/runit_service.rb +164 -0
  413. data/chef/travis-cookbooks/ci_environment/runit/files/default/runit.seed +1 -0
  414. data/chef/travis-cookbooks/ci_environment/runit/files/default/runsvdir +0 -0
  415. data/chef/travis-cookbooks/ci_environment/runit/files/ubuntu-6.10/runsvdir +6 -0
  416. data/chef/travis-cookbooks/ci_environment/runit/files/ubuntu-7.04/runsvdir +7 -0
  417. data/chef/travis-cookbooks/ci_environment/runit/files/ubuntu-7.10/runsvdir +7 -0
  418. data/chef/travis-cookbooks/ci_environment/runit/files/ubuntu-8.04/runsvdir +7 -0
  419. data/chef/travis-cookbooks/ci_environment/runit/metadata.json +102 -0
  420. data/chef/travis-cookbooks/ci_environment/runit/metadata.rb +37 -0
  421. data/chef/travis-cookbooks/ci_environment/runit/recipes/default.rb +72 -0
  422. data/chef/travis-cookbooks/ci_environment/runit/templates/gentoo/runit-start.sh.erb +32 -0
  423. data/chef/travis-cookbooks/ci_environment/rvm/attributes/default.rb +1 -0
  424. data/chef/travis-cookbooks/ci_environment/rvm/attributes/multi.rb +6 -0
  425. data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/default.gems +1 -0
  426. data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/global.gems +2 -0
  427. data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/jruby/global.gems +4 -0
  428. data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/ruby/2.0.0/global.gems +2 -0
  429. data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/ruby/head/global.gems +2 -0
  430. data/chef/travis-cookbooks/ci_environment/rvm/files/default/rvm.sh +3 -0
  431. data/chef/travis-cookbooks/ci_environment/rvm/metadata.json +43 -0
  432. data/chef/travis-cookbooks/ci_environment/rvm/metadata.rb +25 -0
  433. data/chef/travis-cookbooks/ci_environment/rvm/recipes/default.rb +98 -0
  434. data/chef/travis-cookbooks/ci_environment/rvm/recipes/multi.rb +88 -0
  435. data/chef/travis-cookbooks/ci_environment/rvm/templates/default/bundler_config.yml.erb +2 -0
  436. data/chef/travis-cookbooks/ci_environment/rvm/templates/default/dot_rvmrc.sh.erb +3 -0
  437. data/chef/travis-cookbooks/ci_environment/sbt/CHANGELOG.md +20 -0
  438. data/chef/travis-cookbooks/ci_environment/sbt/LICENSE +201 -0
  439. data/chef/travis-cookbooks/ci_environment/sbt/README.md +79 -0
  440. data/chef/travis-cookbooks/ci_environment/sbt/attributes/default.rb +36 -0
  441. data/chef/travis-cookbooks/ci_environment/sbt/metadata.json +42 -0
  442. data/chef/travis-cookbooks/ci_environment/sbt/metadata.rb +15 -0
  443. data/chef/travis-cookbooks/ci_environment/sbt/recipes/default.rb +119 -0
  444. data/chef/travis-cookbooks/ci_environment/sbt/templates/default/jvmopts.erb +7 -0
  445. data/chef/travis-cookbooks/ci_environment/sbt/templates/default/sbtopts.erb +54 -0
  446. data/chef/travis-cookbooks/ci_environment/scons/recipes/default.rb +3 -0
  447. data/chef/travis-cookbooks/ci_environment/sphinx/README.md +0 -0
  448. data/chef/travis-cookbooks/ci_environment/sphinx/attributes/default.rb +8 -0
  449. data/chef/travis-cookbooks/ci_environment/sphinx/metadata.rb +17 -0
  450. data/chef/travis-cookbooks/ci_environment/sphinx/recipes/all.rb +64 -0
  451. data/chef/travis-cookbooks/ci_environment/sphinx/recipes/default.rb +24 -0
  452. data/chef/travis-cookbooks/ci_environment/sqlite/metadata.rb +11 -0
  453. data/chef/travis-cookbooks/ci_environment/sqlite/recipes/default.rb +30 -0
  454. data/chef/travis-cookbooks/ci_environment/sqlite/recipes/ppa.rb +34 -0
  455. data/chef/travis-cookbooks/ci_environment/subversion/recipes/default.rb +24 -0
  456. data/chef/travis-cookbooks/ci_environment/sweeper/recipes/default.rb +45 -0
  457. data/chef/travis-cookbooks/ci_environment/sysctl/attributes/default.rb +5 -0
  458. data/chef/travis-cookbooks/ci_environment/sysctl/recipes/default.rb +6 -0
  459. data/chef/travis-cookbooks/ci_environment/sysctl/templates/default/sysctl.conf.erb +2 -0
  460. data/chef/travis-cookbooks/ci_environment/timezone/attributes/default.rb +1 -0
  461. data/chef/travis-cookbooks/ci_environment/timezone/metadata.json +35 -0
  462. data/chef/travis-cookbooks/ci_environment/timezone/metadata.rb +9 -0
  463. data/chef/travis-cookbooks/ci_environment/timezone/recipes/._default.rb +0 -0
  464. data/chef/travis-cookbooks/ci_environment/timezone/recipes/default.rb +38 -0
  465. data/chef/travis-cookbooks/ci_environment/timezone/templates/default/timezone.conf.erb +1 -0
  466. data/chef/travis-cookbooks/ci_environment/travis_build_environment/attributes/default.rb +20 -0
  467. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/dot_erlang_dot_cookie +1 -0
  468. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/dot_gemrc.yml +1 -0
  469. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/known_hosts +1 -0
  470. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/travis_environment.sh +30 -0
  471. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/etc/default/locale.sh +1 -0
  472. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/etc/sudoers/env_keep +1 -0
  473. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/root/recover_eth0.sh +8 -0
  474. data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/ci_user.rb +113 -0
  475. data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/default.rb +134 -0
  476. data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/root.rb +44 -0
  477. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/ci_user/ci_environment_metadata.yml.erb +2 -0
  478. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/ci_user/dot_bashrc.sh.erb +111 -0
  479. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/apt/assumeyes.erb +1 -0
  480. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/apt/timeouts.erb +3 -0
  481. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/environment.sh.erb +11 -0
  482. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/hostname.erb +12 -0
  483. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/hosts.erb +30 -0
  484. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/security/limits.conf.erb +62 -0
  485. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/root/dot_bashrc.sh.erb +88 -0
  486. data/chef/travis-cookbooks/ci_environment/unarchivers/recipes/default.rb +29 -0
  487. data/chef/travis-cookbooks/ci_environment/util-linux/recipes/default.rb +5 -0
  488. data/chef/travis-cookbooks/ci_environment/vim/README.md +39 -0
  489. data/chef/travis-cookbooks/ci_environment/vim/attributes/default.rb +20 -0
  490. data/chef/travis-cookbooks/ci_environment/vim/metadata.rb +6 -0
  491. data/chef/travis-cookbooks/ci_environment/vim/recipes/default.rb +24 -0
  492. data/chef/travis-cookbooks/ci_environment/xserver/files/default/etc/init.d/xvfb.sh +24 -0
  493. data/chef/travis-cookbooks/ci_environment/xserver/metadata.rb +3 -0
  494. data/chef/travis-cookbooks/ci_environment/xserver/recipes/default.rb +37 -0
  495. data/chef/travis-cookbooks/ci_environment/zeromq/recipes/default.rb +27 -0
  496. data/chef/travis-cookbooks/ci_environment/zeromq/recipes/ppa.rb +33 -0
  497. data/chef/travis-cookbooks/ci_environment/zookeeper/recipes/cdh4.rb +51 -0
  498. data/chef/travis-cookbooks/worker_host/.gitignore +1 -0
  499. data/chef/travis-cookbooks/worker_host/ant/README.md +51 -0
  500. data/chef/travis-cookbooks/worker_host/ant/metadata.rb +12 -0
  501. data/chef/travis-cookbooks/worker_host/ant/recipes/default.rb +36 -0
  502. data/chef/travis-cookbooks/worker_host/apt/README.md +109 -0
  503. data/chef/travis-cookbooks/worker_host/apt/files/default/apt-cacher +9 -0
  504. data/chef/travis-cookbooks/worker_host/apt/files/default/apt-cacher.conf +144 -0
  505. data/chef/travis-cookbooks/worker_host/apt/files/default/apt-proxy-v2.conf +50 -0
  506. data/chef/travis-cookbooks/worker_host/apt/metadata.json +34 -0
  507. data/chef/travis-cookbooks/worker_host/apt/metadata.rb +13 -0
  508. data/chef/travis-cookbooks/worker_host/apt/providers/repository.rb +72 -0
  509. data/chef/travis-cookbooks/worker_host/apt/recipes/cacher-client.rb +37 -0
  510. data/chef/travis-cookbooks/worker_host/apt/recipes/cacher.rb +45 -0
  511. data/chef/travis-cookbooks/worker_host/apt/recipes/default.rb +33 -0
  512. data/chef/travis-cookbooks/worker_host/apt/resources/repository.rb +30 -0
  513. data/chef/travis-cookbooks/worker_host/build-essential/README.md +24 -0
  514. data/chef/travis-cookbooks/worker_host/build-essential/metadata.rb +10 -0
  515. data/chef/travis-cookbooks/worker_host/build-essential/recipes/default.rb +45 -0
  516. data/chef/travis-cookbooks/worker_host/chef-client/CHANGELOG.md +29 -0
  517. data/chef/travis-cookbooks/worker_host/chef-client/CONTRIBUTING +29 -0
  518. data/chef/travis-cookbooks/worker_host/chef-client/LICENSE +201 -0
  519. data/chef/travis-cookbooks/worker_host/chef-client/README.md +265 -0
  520. data/chef/travis-cookbooks/worker_host/chef-client/attributes/default.rb +70 -0
  521. data/chef/travis-cookbooks/worker_host/chef-client/metadata.json +44 -0
  522. data/chef/travis-cookbooks/worker_host/chef-client/metadata.rb +15 -0
  523. data/chef/travis-cookbooks/worker_host/chef-client/recipes/config.rb +53 -0
  524. data/chef/travis-cookbooks/worker_host/chef-client/recipes/cron.rb +83 -0
  525. data/chef/travis-cookbooks/worker_host/chef-client/recipes/default.rb +20 -0
  526. data/chef/travis-cookbooks/worker_host/chef-client/recipes/delete_validation.rb +26 -0
  527. data/chef/travis-cookbooks/worker_host/chef-client/recipes/service.rb +242 -0
  528. data/chef/travis-cookbooks/worker_host/chef-client/templates/arch/conf.d/chef-client.conf.erb +5 -0
  529. data/chef/travis-cookbooks/worker_host/chef-client/templates/arch/rc.d/chef-client.erb +76 -0
  530. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/chef-client.pill.erb +14 -0
  531. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/client.rb.erb +36 -0
  532. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/default/chef-client.erb +4 -0
  533. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/init.d/chef-client.erb +185 -0
  534. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/init/chef-client.conf.erb +17 -0
  535. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/redhat/init.d/chef-client.erb +110 -0
  536. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/redhat/sysconfig/chef-client.erb +15 -0
  537. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/solaris/chef-client.erb +78 -0
  538. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/solaris/manifest.xml.erb +103 -0
  539. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/sv-chef-client-log-run.erb +2 -0
  540. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/sv-chef-client-run.erb +4 -0
  541. data/chef/travis-cookbooks/worker_host/chef-client/templates/windows/chef-client.xml.erb +38 -0
  542. data/chef/travis-cookbooks/worker_host/chef_handler/CHANGELOG.md +12 -0
  543. data/chef/travis-cookbooks/worker_host/chef_handler/CONTRIBUTING +29 -0
  544. data/chef/travis-cookbooks/worker_host/chef_handler/LICENSE +201 -0
  545. data/chef/travis-cookbooks/worker_host/chef_handler/README.md +103 -0
  546. data/chef/travis-cookbooks/worker_host/chef_handler/attributes/default.rb +21 -0
  547. data/chef/travis-cookbooks/worker_host/chef_handler/files/default/handlers/README +1 -0
  548. data/chef/travis-cookbooks/worker_host/chef_handler/files/default/handlers/campfire_handler.rb +61 -0
  549. data/chef/travis-cookbooks/worker_host/chef_handler/metadata.json +29 -0
  550. data/chef/travis-cookbooks/worker_host/chef_handler/metadata.rb +6 -0
  551. data/chef/travis-cookbooks/worker_host/chef_handler/providers/default.rb +83 -0
  552. data/chef/travis-cookbooks/worker_host/chef_handler/recipes/campfire.rb +15 -0
  553. data/chef/travis-cookbooks/worker_host/chef_handler/recipes/default.rb +31 -0
  554. data/chef/travis-cookbooks/worker_host/chef_handler/recipes/json_file.rb +28 -0
  555. data/chef/travis-cookbooks/worker_host/chef_handler/resources/default.rb +34 -0
  556. data/chef/travis-cookbooks/worker_host/collectd-librato/.gitignore +1 -0
  557. data/chef/travis-cookbooks/worker_host/collectd-librato/README.md +22 -0
  558. data/chef/travis-cookbooks/worker_host/collectd-librato/attributes/collectd_librato.rb +4 -0
  559. data/chef/travis-cookbooks/worker_host/collectd-librato/metadata.rb +11 -0
  560. data/chef/travis-cookbooks/worker_host/collectd-librato/recipes/default.rb +41 -0
  561. data/chef/travis-cookbooks/worker_host/collectd/README.rdoc +85 -0
  562. data/chef/travis-cookbooks/worker_host/collectd/attributes/default.rb +33 -0
  563. data/chef/travis-cookbooks/worker_host/collectd/definitions/collectd_plugin.rb +52 -0
  564. data/chef/travis-cookbooks/worker_host/collectd/libraries/default.rb +47 -0
  565. data/chef/travis-cookbooks/worker_host/collectd/metadata.rb +15 -0
  566. data/chef/travis-cookbooks/worker_host/collectd/recipes/client.rb +33 -0
  567. data/chef/travis-cookbooks/worker_host/collectd/recipes/collectd_web.rb +49 -0
  568. data/chef/travis-cookbooks/worker_host/collectd/recipes/default.rb +90 -0
  569. data/chef/travis-cookbooks/worker_host/collectd/recipes/server.rb +24 -0
  570. data/chef/travis-cookbooks/worker_host/collectd/templates/default/collectd.conf.erb +23 -0
  571. data/chef/travis-cookbooks/worker_host/collectd/templates/default/collectd_web.conf.erb +32 -0
  572. data/chef/travis-cookbooks/worker_host/collectd/templates/default/collection.conf.erb +2 -0
  573. data/chef/travis-cookbooks/worker_host/collectd/templates/default/plugin.conf.erb +15 -0
  574. data/chef/travis-cookbooks/worker_host/collectd/templates/default/python_plugin.conf.erb +20 -0
  575. data/chef/travis-cookbooks/worker_host/collectd/templates/default/thresholds.conf.erb +37 -0
  576. data/chef/travis-cookbooks/worker_host/disks/attributes/default.rb +1 -0
  577. data/chef/travis-cookbooks/worker_host/disks/recipes/default.rb +15 -0
  578. data/chef/travis-cookbooks/worker_host/emacs/emacs/metadata.rb +11 -0
  579. data/chef/travis-cookbooks/worker_host/emacs/emacs/recipes/default.rb +21 -0
  580. data/chef/travis-cookbooks/worker_host/emacs/metadata.rb +11 -0
  581. data/chef/travis-cookbooks/worker_host/emacs/recipes/default.rb +21 -0
  582. data/chef/travis-cookbooks/worker_host/git/README.rdoc +37 -0
  583. data/chef/travis-cookbooks/worker_host/git/metadata.rb +11 -0
  584. data/chef/travis-cookbooks/worker_host/git/recipes/default.rb +24 -0
  585. data/chef/travis-cookbooks/worker_host/git/templates/default/sv-git-daemon-log-run.erb +2 -0
  586. data/chef/travis-cookbooks/worker_host/git/templates/default/sv-git-daemon-run.erb +3 -0
  587. data/chef/travis-cookbooks/worker_host/iptables/files/default/iptables_rules +13 -0
  588. data/chef/travis-cookbooks/worker_host/iptables/metadata.rb +10 -0
  589. data/chef/travis-cookbooks/worker_host/iptables/recipes/default.rb +48 -0
  590. data/chef/travis-cookbooks/worker_host/iptables/templates/default/iptables_load.erb +3 -0
  591. data/chef/travis-cookbooks/worker_host/java/README.md +102 -0
  592. data/chef/travis-cookbooks/worker_host/java/attributes/default.rb +29 -0
  593. data/chef/travis-cookbooks/worker_host/java/files/default/java.seed +11 -0
  594. data/chef/travis-cookbooks/worker_host/java/metadata.rb +16 -0
  595. data/chef/travis-cookbooks/worker_host/java/recipes/default.rb +61 -0
  596. data/chef/travis-cookbooks/worker_host/java/recipes/openjdk.rb +54 -0
  597. data/chef/travis-cookbooks/worker_host/java/recipes/sun.rb +49 -0
  598. data/chef/travis-cookbooks/worker_host/jruby/attributes/default.rb +5 -0
  599. data/chef/travis-cookbooks/worker_host/jruby/metadata.rb +8 -0
  600. data/chef/travis-cookbooks/worker_host/jruby/recipes/default.rb +24 -0
  601. data/chef/travis-cookbooks/worker_host/monit/attributes/default.rb +3 -0
  602. data/chef/travis-cookbooks/worker_host/monit/files/default/default.monit +1 -0
  603. data/chef/travis-cookbooks/worker_host/monit/recipes/default.rb +56 -0
  604. data/chef/travis-cookbooks/worker_host/monit/templates/default/alerts.erb +12 -0
  605. data/chef/travis-cookbooks/worker_host/monit/templates/default/filesystems.erb +6 -0
  606. data/chef/travis-cookbooks/worker_host/monit/templates/default/monitrc.erb +6 -0
  607. data/chef/travis-cookbooks/worker_host/monit/templates/default/system.erb +4 -0
  608. data/chef/travis-cookbooks/worker_host/networking_basic/README.rdoc +8 -0
  609. data/chef/travis-cookbooks/worker_host/networking_basic/metadata.json +35 -0
  610. data/chef/travis-cookbooks/worker_host/networking_basic/metadata.rb +10 -0
  611. data/chef/travis-cookbooks/worker_host/networking_basic/recipes/default.rb +32 -0
  612. data/chef/travis-cookbooks/worker_host/ntp/.gitignore +1 -0
  613. data/chef/travis-cookbooks/worker_host/ntp/.travis.yml +6 -0
  614. data/chef/travis-cookbooks/worker_host/ntp/CHANGELOG.md +35 -0
  615. data/chef/travis-cookbooks/worker_host/ntp/CONTRIBUTING +29 -0
  616. data/chef/travis-cookbooks/worker_host/ntp/LICENSE +201 -0
  617. data/chef/travis-cookbooks/worker_host/ntp/README.md +163 -0
  618. data/chef/travis-cookbooks/worker_host/ntp/Rakefile +19 -0
  619. data/chef/travis-cookbooks/worker_host/ntp/TESTING.md +213 -0
  620. data/chef/travis-cookbooks/worker_host/ntp/attributes/default.rb +54 -0
  621. data/chef/travis-cookbooks/worker_host/ntp/attributes/ntpdate.rb +21 -0
  622. data/chef/travis-cookbooks/worker_host/ntp/chefignore +19 -0
  623. data/chef/travis-cookbooks/worker_host/ntp/files/default/ntp.leapseconds +222 -0
  624. data/chef/travis-cookbooks/worker_host/ntp/metadata.json +117 -0
  625. data/chef/travis-cookbooks/worker_host/ntp/metadata.rb +45 -0
  626. data/chef/travis-cookbooks/worker_host/ntp/recipes/default.rb +50 -0
  627. data/chef/travis-cookbooks/worker_host/ntp/recipes/disable.rb +22 -0
  628. data/chef/travis-cookbooks/worker_host/ntp/recipes/ntpdate.rb +36 -0
  629. data/chef/travis-cookbooks/worker_host/ntp/recipes/undo.rb +36 -0
  630. data/chef/travis-cookbooks/worker_host/ntp/templates/default/ntp.conf.erb +55 -0
  631. data/chef/travis-cookbooks/worker_host/ntp/templates/default/ntpdate.erb +14 -0
  632. data/chef/travis-cookbooks/worker_host/runit/CHANGELOG.md +3 -0
  633. data/chef/travis-cookbooks/worker_host/runit/CONTRIBUTING +29 -0
  634. data/chef/travis-cookbooks/worker_host/runit/LICENSE +201 -0
  635. data/chef/travis-cookbooks/worker_host/runit/README.md +226 -0
  636. data/chef/travis-cookbooks/worker_host/runit/attributes/default.rb +31 -0
  637. data/chef/travis-cookbooks/worker_host/runit/definitions/runit_service.rb +164 -0
  638. data/chef/travis-cookbooks/worker_host/runit/files/default/runit.seed +1 -0
  639. data/chef/travis-cookbooks/worker_host/runit/files/default/runsvdir +0 -0
  640. data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-6.10/runsvdir +6 -0
  641. data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-7.04/runsvdir +7 -0
  642. data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-7.10/runsvdir +7 -0
  643. data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-8.04/runsvdir +7 -0
  644. data/chef/travis-cookbooks/worker_host/runit/metadata.json +102 -0
  645. data/chef/travis-cookbooks/worker_host/runit/metadata.rb +37 -0
  646. data/chef/travis-cookbooks/worker_host/runit/recipes/default.rb +72 -0
  647. data/chef/travis-cookbooks/worker_host/runit/templates/gentoo/runit-start.sh.erb +32 -0
  648. data/chef/travis-cookbooks/worker_host/rvm/attributes/default.rb +20 -0
  649. data/chef/travis-cookbooks/worker_host/rvm/attributes/install.rb +1 -0
  650. data/chef/travis-cookbooks/worker_host/rvm/attributes/ree.rb +1 -0
  651. data/chef/travis-cookbooks/worker_host/rvm/attributes/ruby_187.rb +2 -0
  652. data/chef/travis-cookbooks/worker_host/rvm/attributes/ruby_192.rb +2 -0
  653. data/chef/travis-cookbooks/worker_host/rvm/files/default/rvm.sh +1 -0
  654. data/chef/travis-cookbooks/worker_host/rvm/metadata.rb +27 -0
  655. data/chef/travis-cookbooks/worker_host/rvm/recipes/default.rb +27 -0
  656. data/chef/travis-cookbooks/worker_host/rvm/recipes/install.rb +36 -0
  657. data/chef/travis-cookbooks/worker_host/rvm/recipes/multi.rb +48 -0
  658. data/chef/travis-cookbooks/worker_host/rvm/recipes/ree.rb +6 -0
  659. data/chef/travis-cookbooks/worker_host/rvm/recipes/ruby_187.rb +7 -0
  660. data/chef/travis-cookbooks/worker_host/rvm/recipes/ruby_192.rb +7 -0
  661. data/chef/travis-cookbooks/worker_host/ssh/recipes/sshd.rb +12 -0
  662. data/chef/travis-cookbooks/worker_host/ssh/templates/default/sshd_config.erb +87 -0
  663. data/chef/travis-cookbooks/worker_host/sudo/attributes/sudoers.rb +2 -0
  664. data/chef/travis-cookbooks/worker_host/sudo/recipes/default.rb +14 -0
  665. data/chef/travis-cookbooks/worker_host/sudo/templates/default/sudoers.erb +19 -0
  666. data/chef/travis-cookbooks/worker_host/travis_worker/attributes/default.rb +20 -0
  667. data/chef/travis-cookbooks/worker_host/travis_worker/files/default/signal_wrapper.rb +22 -0
  668. data/chef/travis-cookbooks/worker_host/travis_worker/metadata.rb +6 -0
  669. data/chef/travis-cookbooks/worker_host/travis_worker/recipes/bluebox.rb +98 -0
  670. data/chef/travis-cookbooks/worker_host/travis_worker/recipes/default.rb +140 -0
  671. data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/sv-travis-worker-log-run.erb +2 -0
  672. data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/sv-travis-worker-run.erb +4 -0
  673. data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/travis-worker-bluebox.monitrc.erb +8 -0
  674. data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/travis-worker.monitrc.erb +3 -0
  675. data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/worker-bluebox.yml.erb +31 -0
  676. data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/worker.yml.erb +10 -0
  677. data/chef/travis-cookbooks/worker_host/travis_worker_collectd/metadata.rb +2 -0
  678. data/chef/travis-cookbooks/worker_host/travis_worker_collectd/recipes/bluebox.rb +15 -0
  679. data/chef/travis-cookbooks/worker_host/travis_worker_collectd/recipes/default.rb +12 -0
  680. data/chef/travis-cookbooks/worker_host/users/attributes/default.rb +2 -0
  681. data/chef/travis-cookbooks/worker_host/users/metadata.rb +9 -0
  682. data/chef/travis-cookbooks/worker_host/users/recipes/default.rb +88 -0
  683. data/chef/travis-cookbooks/worker_host/users/templates/default/authorized_keys.pub +4 -0
  684. data/chef/travis-cookbooks/worker_host/vim/README.md +39 -0
  685. data/chef/travis-cookbooks/worker_host/vim/attributes/default.rb +20 -0
  686. data/chef/travis-cookbooks/worker_host/vim/metadata.rb +6 -0
  687. data/chef/travis-cookbooks/worker_host/vim/recipes/default.rb +24 -0
  688. data/chef/travis-cookbooks/worker_host/virtualbox/attributes/default.rb +0 -0
  689. data/chef/travis-cookbooks/worker_host/virtualbox/metadata.rb +11 -0
  690. data/chef/travis-cookbooks/worker_host/virtualbox/recipes/default.rb +13 -0
  691. data/ciborg.gemspec +33 -19
  692. data/config/.gitkeep +0 -0
  693. data/cookbooks/.gitkeep +3 -0
  694. data/jenkins_plugin/.travis.yml +5 -0
  695. data/jenkins_plugin/README.md +8 -0
  696. data/jenkins_plugin/pom.xml +39 -0
  697. data/jenkins_plugin/src/main/java/com/pivotallabs/CiborgDecorator.java +22 -0
  698. data/jenkins_plugin/src/main/resources/com/pivotallabs/CiborgDecorator/header.jelly +3 -0
  699. data/jenkins_plugin/src/main/resources/index.jelly +6 -0
  700. data/jenkins_plugin/src/main/webapp/ciborg.css +5 -0
  701. data/jenkins_plugin/src/main/webapp/ciborg.png +0 -0
  702. data/lib/ciborg.rb +7 -4
  703. data/lib/ciborg/amazon.rb +105 -0
  704. data/lib/ciborg/cli.rb +172 -0
  705. data/lib/ciborg/config.rb +214 -0
  706. data/lib/ciborg/configuration_wizard.rb +122 -0
  707. data/lib/ciborg/keychain.rb +36 -0
  708. data/lib/ciborg/password.rb +13 -0
  709. data/lib/ciborg/sobo.rb +79 -0
  710. data/lib/ciborg/templates/default_rails_build_script.sh +13 -0
  711. data/lib/ciborg/version.rb +1 -1
  712. data/script/bootstrap_server.sh +35 -0
  713. data/script/ci_build.sh +13 -0
  714. data/spec/assets/test_cert.crt +15 -0
  715. data/spec/assets/test_cert.csr +12 -0
  716. data/spec/assets/test_cert.key +15 -0
  717. data/spec/fixtures/ssh_keys/vagrant_test_key +27 -0
  718. data/spec/fixtures/ssh_keys/vagrant_test_key.pub +1 -0
  719. data/spec/lib/ciborg/amazon_spec.rb +168 -0
  720. data/spec/lib/ciborg/cli_spec.rb +292 -0
  721. data/spec/lib/ciborg/config_spec.rb +299 -0
  722. data/spec/lib/ciborg/configuration_wizard_spec.rb +364 -0
  723. data/spec/lib/ciborg/keychain_spec.rb +33 -0
  724. data/spec/lib/ciborg/password_spec.rb +15 -0
  725. data/spec/spec_helper.rb +24 -0
  726. data/templates/Gemfile-remote +4 -0
  727. metadata +928 -20
@@ -0,0 +1,234 @@
1
+ # -----------------------------
2
+ # PostgreSQL configuration file
3
+ # -----------------------------
4
+ #
5
+ # This file consists of lines of the form:
6
+ #
7
+ # name = value
8
+ #
9
+ # (The "=" is optional.) Whitespace may be used. Comments are introduced with
10
+ # "#" anywhere on a line. The complete list of parameter names and allowed
11
+ # values can be found in the PostgreSQL documentation.
12
+ #
13
+ # The commented-out settings shown in this file represent the default values.
14
+ # Re-commenting a setting is NOT sufficient to revert it to the default value;
15
+ # you need to reload the server.
16
+ #
17
+ # This file is read on server startup and when the server receives a SIGHUP
18
+ # signal. If you edit the file on a running system, you have to SIGHUP the
19
+ # server for the changes to take effect, or use "pg_ctl reload". Some
20
+ # parameters, which are marked below, require a server shutdown and restart to
21
+ # take effect.
22
+ #
23
+ # Any parameter can also be given as a command-line option to the server, e.g.,
24
+ # "postgres -c log_connections=on". Some paramters can be changed at run time
25
+ # with the "SET" SQL command.
26
+ #
27
+ # Memory units: kB = kilobytes MB = megabytes GB = gigabytes
28
+ # Time units: ms = milliseconds s = seconds min = minutes h = hours d = days
29
+
30
+
31
+ #------------------------------------------------------------------------------
32
+ # FILE LOCATIONS
33
+ #------------------------------------------------------------------------------
34
+
35
+ # The default values of these variables are driven from the -D command-line
36
+ # option or PGDATA environment variable, represented here as ConfigDir.
37
+
38
+ data_directory = '<%= node.postgresql.data_dir -%>' # use data in another directory
39
+ hba_file = '/etc/postgresql/<%= node.postgresql.version -%>/main/pg_hba.conf' # host-based authentication file
40
+ ident_file = '/etc/postgresql/<%= node.postgresql.version -%>/main/pg_ident.conf' # ident configuration file
41
+
42
+ # If external_pid_file is not explicitly set, no extra PID file is written.
43
+ external_pid_file = '/var/run/postgresql/<%= node.postgresql.version -%>-main.pid' # write an extra PID file
44
+
45
+
46
+ #------------------------------------------------------------------------------
47
+ # CONNECTIONS AND AUTHENTICATION
48
+ #------------------------------------------------------------------------------
49
+
50
+ # - Connection Settings -
51
+
52
+ max_connections = <%= node.postgresql.max_connections %>
53
+ port = 5432
54
+ unix_socket_directory = '/var/run/postgresql'
55
+
56
+
57
+
58
+ # - Security and Authentication -
59
+
60
+ <% if node.postgresql.ssl -%>
61
+ ssl = true
62
+ <% else -%>
63
+ #ssl = off
64
+ <% end -%>
65
+ #ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH'
66
+
67
+
68
+ # fsync, full page writes
69
+ # turning these off for CI is reasonable
70
+ fsync = off
71
+ full_page_writes = off
72
+
73
+
74
+ #------------------------------------------------------------------------------
75
+ # RESOURCE USAGE (except WAL)
76
+ #------------------------------------------------------------------------------
77
+
78
+ # - Memory -
79
+
80
+ shared_buffers = 24MB # min 128kB or max_connections*16kB
81
+ # (change requires restart)
82
+ #temp_buffers = 8MB # min 800kB
83
+ #max_prepared_transactions = 5 # can be 0 or more
84
+ # (change requires restart)
85
+ # Note: Increasing max_prepared_transactions costs ~600 bytes of shared memory
86
+ # per transaction slot, plus lock space (see max_locks_per_transaction).
87
+ #work_mem = 1MB # min 64kB
88
+ #maintenance_work_mem = 16MB # min 1MB
89
+ #max_stack_depth = 2MB # min 100kB
90
+
91
+ # - Free Space Map -
92
+
93
+ <% if node.postgresql.version.to_f >= 8.4 %>
94
+ <% # max_fsm_pages doesn't exist on 8.4+ %>
95
+ #max_fsm_pages = 153600 # min max_fsm_relations*16, 6 bytes each
96
+ # (change requires restart)
97
+ <% else %>
98
+ max_fsm_pages = 153600 # min max_fsm_relations*16, 6 bytes each
99
+ # (change requires restart)
100
+ <% end %>
101
+
102
+
103
+ #------------------------------------------------------------------------------
104
+ # ERROR REPORTING AND LOGGING
105
+ #------------------------------------------------------------------------------
106
+
107
+ # - Where to Log -
108
+
109
+ #log_destination = 'stderr' # Valid values are combinations of
110
+ # stderr, csvlog, syslog and eventlog,
111
+ # depending on platform. csvlog
112
+ # requires logging_collector to be on.
113
+
114
+ # This is used when logging to stderr:
115
+ #logging_collector = off # Enable capturing of stderr and csvlog
116
+ # into log files. Required to be on for
117
+ # csvlogs.
118
+ # (change requires restart)
119
+
120
+ # These are only used if logging_collector is on:
121
+ #log_directory = 'pg_log' # directory where log files are written,
122
+ # can be absolute or relative to PGDATA
123
+ #log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
124
+ # can include strftime() escapes
125
+ #log_truncate_on_rotation = off # If on, an existing log file of the
126
+ # same name as the new log file will be
127
+ # truncated rather than appended to.
128
+ # But such truncation only occurs on
129
+ # time-driven rotation, not on restarts
130
+ # or size-driven rotation. Default is
131
+ # off, meaning append to existing files
132
+ # in all cases.
133
+ #log_rotation_age = 1d # Automatic rotation of logfiles will
134
+ # happen after that time. 0 to disable.
135
+ #log_rotation_size = 10MB # Automatic rotation of logfiles will
136
+ # happen after that much log output.
137
+ # 0 to disable.
138
+
139
+ # These are relevant when logging to syslog:
140
+ #syslog_facility = 'LOCAL0'
141
+ #syslog_ident = 'postgres'
142
+
143
+
144
+ # - When to Log -
145
+
146
+ client_min_messages = <%= node.postgresql.client_min_messages %>
147
+ # values in order of decreasing detail:
148
+ # debug5
149
+ # debug4
150
+ # debug3
151
+ # debug2
152
+ # debug1
153
+ # log
154
+ # notice
155
+ # warning
156
+ # error
157
+
158
+ #log_min_messages = notice # values in order of decreasing detail:
159
+ # debug5
160
+ # debug4
161
+ # debug3
162
+ # debug2
163
+ # debug1
164
+ # info
165
+ # notice
166
+ # warning
167
+ # error
168
+ # log
169
+ # fatal
170
+ # panic
171
+
172
+ #log_error_verbosity = default # terse, default, or verbose messages
173
+
174
+ #log_min_error_statement = error # values in order of decreasing detail:
175
+ # debug5
176
+ # debug4
177
+ # debug3
178
+ # debug2
179
+ # debug1
180
+ # info
181
+ # notice
182
+ # warning
183
+ # error
184
+ # log
185
+ # fatal
186
+ # panic (effectively off)
187
+
188
+ #log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
189
+ # and their durations, > 0 logs only
190
+ # statements running at least this time.
191
+
192
+ #silent_mode = off # DO NOT USE without syslog or
193
+ # logging_collector
194
+ # (change requires restart)
195
+
196
+ # - What to Log -
197
+
198
+ #debug_print_parse = off
199
+ #debug_print_rewritten = off
200
+ #debug_print_plan = off
201
+ #debug_pretty_print = off
202
+ #log_checkpoints = off
203
+ #log_connections = off
204
+ #log_disconnections = off
205
+ #log_duration = off
206
+ #log_hostname = off
207
+ log_line_prefix = '%t '
208
+
209
+
210
+
211
+ #------------------------------------------------------------------------------
212
+ # CLIENT CONNECTION DEFAULTS
213
+ #------------------------------------------------------------------------------
214
+
215
+
216
+ # - Locale and Formatting -
217
+
218
+ datestyle = 'iso, mdy'
219
+
220
+ # These settings are initialized by initdb, but they can be changed.
221
+ lc_messages = 'en_US.UTF-8' # locale for system error message
222
+ # strings
223
+ lc_monetary = 'en_US.UTF-8' # locale for monetary formatting
224
+ lc_numeric = 'en_US.UTF-8' # locale for number formatting
225
+ lc_time = 'en_US.UTF-8' # locale for time formatting
226
+
227
+ # default configuration for text search
228
+ default_text_search_config = 'pg_catalog.english'
229
+
230
+ # - Other Defaults -
231
+
232
+ #explain_pretty_print = on
233
+ #dynamic_library_path = '$libdir'
234
+ #local_preload_libraries = ''
@@ -0,0 +1,50 @@
1
+ #!/bin/sh
2
+ set -e
3
+
4
+ ### BEGIN INIT INFO
5
+ # Provides: postgresql
6
+ # Required-Start: $local_fs $remote_fs $network $time
7
+ # Required-Stop: $local_fs $remote_fs $network $time
8
+ # Should-Start: $syslog
9
+ # Should-Stop: $syslog
10
+ # Default-Start: 2 3 4 5
11
+ # Default-Stop: 0 1 6
12
+ # Short-Description: PostgreSQL RDBMS server
13
+ ### END INIT INFO
14
+
15
+ # Setting environment variables for the postmaster here does not work; please
16
+ # set them in /etc/postgresql/<version>/<cluster>/environment instead.
17
+
18
+ [ -r /usr/share/postgresql-common/init.d-functions ] || exit 0
19
+
20
+ . /usr/share/postgresql-common/init.d-functions
21
+
22
+ # versions can be specified explicitly
23
+ if [ -n "$2" ]; then
24
+ versions="$2 $3 $4 $5 $6 $7 $8 $9"
25
+ else
26
+ get_versions
27
+ fi
28
+
29
+ if [ ! -d <%= node.ramfs.dir %>/postgresql ]; then
30
+ cp -rp /var/lib/postgresql/<%= node.postgresql.version %>/main <%= node.ramfs.dir %>/postgresql
31
+ fi
32
+
33
+ case "$1" in
34
+ start|stop|restart|reload|status)
35
+ for v in $versions; do
36
+ $1 $v
37
+ done
38
+ ;;
39
+ force-reload)
40
+ for v in $versions; do
41
+ reload $v
42
+ done
43
+ ;;
44
+ *)
45
+ echo "Usage: $0 {start|stop|restart|reload|force-reload|status} [version ..]"
46
+ exit 1
47
+ ;;
48
+ esac
49
+
50
+ exit 0
@@ -0,0 +1,74 @@
1
+ # PostgreSQL Client Authentication Configuration File
2
+ # ===================================================
3
+ #
4
+ # Refer to the "Client Authentication" section in the
5
+ # PostgreSQL documentation for a complete description
6
+ # of this file. A short synopsis follows.
7
+ #
8
+ # This file controls: which hosts are allowed to connect, how clients
9
+ # are authenticated, which PostgreSQL user names they can use, which
10
+ # databases they can access. Records take one of these forms:
11
+ #
12
+ # local DATABASE USER METHOD [OPTIONS]
13
+ # host DATABASE USER CIDR-ADDRESS METHOD [OPTIONS]
14
+ # hostssl DATABASE USER CIDR-ADDRESS METHOD [OPTIONS]
15
+ # hostnossl DATABASE USER CIDR-ADDRESS METHOD [OPTIONS]
16
+ #
17
+ # (The uppercase items must be replaced by actual values.)
18
+ #
19
+ # The first field is the connection type: "local" is a Unix-domain socket,
20
+ # "host" is either a plain or SSL-encrypted TCP/IP socket, "hostssl" is an
21
+ # SSL-encrypted TCP/IP socket, and "hostnossl" is a plain TCP/IP socket.
22
+ #
23
+ # DATABASE can be "all", "sameuser", "samerole", a database name, or
24
+ # a comma-separated list thereof.
25
+ #
26
+ # USER can be "all", a user name, a group name prefixed with "+", or
27
+ # a comma-separated list thereof. In both the DATABASE and USER fields
28
+ # you can also write a file name prefixed with "@" to include names from
29
+ # a separate file.
30
+ #
31
+ # CIDR-ADDRESS specifies the set of hosts the record matches.
32
+ # It is made up of an IP address and a CIDR mask that is an integer
33
+ # (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that specifies
34
+ # the number of significant bits in the mask. Alternatively, you can write
35
+ # an IP address and netmask in separate columns to specify the set of hosts.
36
+ #
37
+ # METHOD can be "trust", "reject", "md5", "password", "gss", "sspi", "krb5",
38
+ # "ident", "pam", "ldap" or "cert". Note that "password" sends passwords
39
+ # in clear text; "md5" is preferred since it sends encrypted passwords.
40
+ #
41
+ # OPTIONS are a set of options for the authentication in the format
42
+ # NAME=VALUE. The available options depend on the different authentication
43
+ # methods - refer to the "Client Authentication" section in the documentation
44
+ # for a list of which options are available for which authentication methods.
45
+ #
46
+ # Database and user names containing spaces, commas, quotes and other special
47
+ # characters must be quoted. Quoting one of the keywords "all", "sameuser" or
48
+ # "samerole" makes the name lose its special character, and just match a
49
+ # database or username with that name.
50
+ #
51
+ # This file is read on server startup and when the postmaster receives
52
+ # a SIGHUP signal. If you edit the file on a running system, you have
53
+ # to SIGHUP the postmaster for the changes to take effect. You can use
54
+ # "pg_ctl reload" to do that.
55
+
56
+ # Put your actual configuration here
57
+ # ----------------------------------
58
+ #
59
+ # If you want to allow non-local connections, you need to add more
60
+ # "host" records. In that case you will also need to make PostgreSQL listen
61
+ # on a non-local interface via the listen_addresses configuration parameter,
62
+ # or via the -i or -h command line switches.
63
+ #
64
+
65
+
66
+
67
+ # TYPE DATABASE USER CIDR-ADDRESS METHOD
68
+
69
+ # "local" is for Unix domain socket connections only
70
+ local all all ident
71
+ # IPv4 local connections:
72
+ host all all 127.0.0.1/32 ident
73
+ # IPv6 local connections:
74
+ host all all ::1/128 ident
@@ -0,0 +1,502 @@
1
+ # -----------------------------
2
+ # PostgreSQL configuration file
3
+ # -----------------------------
4
+ #
5
+ # This file consists of lines of the form:
6
+ #
7
+ # name = value
8
+ #
9
+ # (The "=" is optional.) Whitespace may be used. Comments are introduced with
10
+ # "#" anywhere on a line. The complete list of parameter names and allowed
11
+ # values can be found in the PostgreSQL documentation.
12
+ #
13
+ # The commented-out settings shown in this file represent the default values.
14
+ # Re-commenting a setting is NOT sufficient to revert it to the default value;
15
+ # you need to reload the server.
16
+ #
17
+ # This file is read on server startup and when the server receives a SIGHUP
18
+ # signal. If you edit the file on a running system, you have to SIGHUP the
19
+ # server for the changes to take effect, or use "pg_ctl reload". Some
20
+ # parameters, which are marked below, require a server shutdown and restart to
21
+ # take effect.
22
+ #
23
+ # Any parameter can also be given as a command-line option to the server, e.g.,
24
+ # "postgres -c log_connections=on". Some parameters can be changed at run time
25
+ # with the "SET" SQL command.
26
+ #
27
+ # Memory units: kB = kilobytes Time units: ms = milliseconds
28
+ # MB = megabytes s = seconds
29
+ # GB = gigabytes min = minutes
30
+ # h = hours
31
+ # d = days
32
+
33
+
34
+ #------------------------------------------------------------------------------
35
+ # FILE LOCATIONS
36
+ #------------------------------------------------------------------------------
37
+
38
+ # The default values of these variables are driven from the -D command-line
39
+ # option or PGDATA environment variable, represented here as ConfigDir.
40
+
41
+ #data_directory = 'ConfigDir' # use data in another directory
42
+ # (change requires restart)
43
+ #hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file
44
+ # (change requires restart)
45
+ #ident_file = 'ConfigDir/pg_ident.conf' # ident configuration file
46
+ # (change requires restart)
47
+
48
+ # If external_pid_file is not explicitly set, no extra PID file is written.
49
+ #external_pid_file = '(none)' # write an extra PID file
50
+ # (change requires restart)
51
+
52
+
53
+ #------------------------------------------------------------------------------
54
+ # CONNECTIONS AND AUTHENTICATION
55
+ #------------------------------------------------------------------------------
56
+
57
+ # - Connection Settings -
58
+
59
+ #listen_addresses = 'localhost' # what IP address(es) to listen on;
60
+ # comma-separated list of addresses;
61
+ # defaults to 'localhost', '*' = all
62
+ # (change requires restart)
63
+ #port = 5432 # (change requires restart)
64
+ max_connections = 100 # (change requires restart)
65
+ # Note: Increasing max_connections costs ~400 bytes of shared memory per
66
+ # connection slot, plus lock space (see max_locks_per_transaction).
67
+ #superuser_reserved_connections = 3 # (change requires restart)
68
+ #unix_socket_directory = '' # (change requires restart)
69
+ #unix_socket_group = '' # (change requires restart)
70
+ #unix_socket_permissions = 0777 # begin with 0 to use octal notation
71
+ # (change requires restart)
72
+ #bonjour_name = '' # defaults to the computer name
73
+ # (change requires restart)
74
+
75
+ # - Security and Authentication -
76
+
77
+ #authentication_timeout = 1min # 1s-600s
78
+ #ssl = off # (change requires restart)
79
+ #ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH' # allowed SSL ciphers
80
+ # (change requires restart)
81
+ #ssl_renegotiation_limit = 512MB # amount of data between renegotiations
82
+ #password_encryption = on
83
+ #db_user_namespace = off
84
+
85
+ # Kerberos and GSSAPI
86
+ #krb_server_keyfile = ''
87
+ #krb_srvname = 'postgres' # (Kerberos only)
88
+ #krb_caseins_users = off
89
+
90
+ # - TCP Keepalives -
91
+ # see "man 7 tcp" for details
92
+
93
+ #tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
94
+ # 0 selects the system default
95
+ #tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;
96
+ # 0 selects the system default
97
+ #tcp_keepalives_count = 0 # TCP_KEEPCNT;
98
+ # 0 selects the system default
99
+
100
+
101
+ #------------------------------------------------------------------------------
102
+ # RESOURCE USAGE (except WAL)
103
+ #------------------------------------------------------------------------------
104
+
105
+ # - Memory -
106
+
107
+ shared_buffers = 32MB # min 128kB
108
+ # (change requires restart)
109
+ #temp_buffers = 8MB # min 800kB
110
+ #max_prepared_transactions = 0 # zero disables the feature
111
+ # (change requires restart)
112
+ # Note: Increasing max_prepared_transactions costs ~600 bytes of shared memory
113
+ # per transaction slot, plus lock space (see max_locks_per_transaction).
114
+ # It is not advisable to set max_prepared_transactions nonzero unless you
115
+ # actively intend to use prepared transactions.
116
+ #work_mem = 1MB # min 64kB
117
+ #maintenance_work_mem = 16MB # min 1MB
118
+ #max_stack_depth = 2MB # min 100kB
119
+
120
+ # - Kernel Resource Usage -
121
+
122
+ #max_files_per_process = 1000 # min 25
123
+ # (change requires restart)
124
+ #shared_preload_libraries = '' # (change requires restart)
125
+
126
+ # - Cost-Based Vacuum Delay -
127
+
128
+ #vacuum_cost_delay = 0ms # 0-100 milliseconds
129
+ #vacuum_cost_page_hit = 1 # 0-10000 credits
130
+ #vacuum_cost_page_miss = 10 # 0-10000 credits
131
+ #vacuum_cost_page_dirty = 20 # 0-10000 credits
132
+ #vacuum_cost_limit = 200 # 1-10000 credits
133
+
134
+ # - Background Writer -
135
+
136
+ #bgwriter_delay = 200ms # 10-10000ms between rounds
137
+ #bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
138
+ #bgwriter_lru_multiplier = 2.0 # 0-10.0 multipler on buffers scanned/round
139
+
140
+ # - Asynchronous Behavior -
141
+
142
+ #effective_io_concurrency = 1 # 1-1000. 0 disables prefetching
143
+
144
+
145
+ #------------------------------------------------------------------------------
146
+ # WRITE AHEAD LOG
147
+ #------------------------------------------------------------------------------
148
+
149
+ # - Settings -
150
+
151
+ #fsync = on # turns forced synchronization on or off
152
+ #synchronous_commit = on # immediate fsync at commit
153
+ #wal_sync_method = fsync # the default is the first option
154
+ # supported by the operating system:
155
+ # open_datasync
156
+ # fdatasync
157
+ # fsync
158
+ # fsync_writethrough
159
+ # open_sync
160
+ #full_page_writes = on # recover from partial page writes
161
+ #wal_buffers = 64kB # min 32kB
162
+ # (change requires restart)
163
+ #wal_writer_delay = 200ms # 1-10000 milliseconds
164
+
165
+ #commit_delay = 0 # range 0-100000, in microseconds
166
+ #commit_siblings = 5 # range 1-1000
167
+
168
+ # - Checkpoints -
169
+
170
+ #checkpoint_segments = 3 # in logfile segments, min 1, 16MB each
171
+ #checkpoint_timeout = 5min # range 30s-1h
172
+ #checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
173
+ #checkpoint_warning = 30s # 0 disables
174
+
175
+ # - Archiving -
176
+
177
+ #archive_mode = off # allows archiving to be done
178
+ # (change requires restart)
179
+ #archive_command = '' # command to use to archive a logfile segment
180
+ #archive_timeout = 0 # force a logfile segment switch after this
181
+ # number of seconds; 0 disables
182
+
183
+
184
+ #------------------------------------------------------------------------------
185
+ # QUERY TUNING
186
+ #------------------------------------------------------------------------------
187
+
188
+ # - Planner Method Configuration -
189
+
190
+ #enable_bitmapscan = on
191
+ #enable_hashagg = on
192
+ #enable_hashjoin = on
193
+ #enable_indexscan = on
194
+ #enable_mergejoin = on
195
+ #enable_nestloop = on
196
+ #enable_seqscan = on
197
+ #enable_sort = on
198
+ #enable_tidscan = on
199
+
200
+ # - Planner Cost Constants -
201
+
202
+ #seq_page_cost = 1.0 # measured on an arbitrary scale
203
+ #random_page_cost = 4.0 # same scale as above
204
+ #cpu_tuple_cost = 0.01 # same scale as above
205
+ #cpu_index_tuple_cost = 0.005 # same scale as above
206
+ #cpu_operator_cost = 0.0025 # same scale as above
207
+ #effective_cache_size = 128MB
208
+
209
+ # - Genetic Query Optimizer -
210
+
211
+ #geqo = on
212
+ #geqo_threshold = 12
213
+ #geqo_effort = 5 # range 1-10
214
+ #geqo_pool_size = 0 # selects default based on effort
215
+ #geqo_generations = 0 # selects default based on effort
216
+ #geqo_selection_bias = 2.0 # range 1.5-2.0
217
+
218
+ # - Other Planner Options -
219
+
220
+ #default_statistics_target = 100 # range 1-10000
221
+ #constraint_exclusion = partition # on, off, or partition
222
+ #cursor_tuple_fraction = 0.1 # range 0.0-1.0
223
+ #from_collapse_limit = 8
224
+ #join_collapse_limit = 8 # 1 disables collapsing of explicit
225
+ # JOIN clauses
226
+
227
+
228
+ #------------------------------------------------------------------------------
229
+ # ERROR REPORTING AND LOGGING
230
+ #------------------------------------------------------------------------------
231
+
232
+ # - Where to Log -
233
+
234
+ #log_destination = 'stderr' # Valid values are combinations of
235
+ # stderr, csvlog, syslog and eventlog,
236
+ # depending on platform. csvlog
237
+ # requires logging_collector to be on.
238
+
239
+ # This is used when logging to stderr:
240
+ logging_collector = on # Enable capturing of stderr and csvlog
241
+ # into log files. Required to be on for
242
+ # csvlogs.
243
+ # (change requires restart)
244
+
245
+ # These are only used if logging_collector is on:
246
+ log_directory = 'pg_log' # directory where log files are written,
247
+ # can be absolute or relative to PGDATA
248
+ log_filename = 'postgresql-%a.log' # log file name pattern,
249
+ # can include strftime() escapes
250
+ log_truncate_on_rotation = on # If on, an existing log file of the
251
+ # same name as the new log file will be
252
+ # truncated rather than appended to.
253
+ # But such truncation only occurs on
254
+ # time-driven rotation, not on restarts
255
+ # or size-driven rotation. Default is
256
+ # off, meaning append to existing files
257
+ # in all cases.
258
+ log_rotation_age = 1d # Automatic rotation of logfiles will
259
+ # happen after that time. 0 disables.
260
+ log_rotation_size = 0 # Automatic rotation of logfiles will
261
+ # happen after that much log output.
262
+ # 0 disables.
263
+
264
+ # These are relevant when logging to syslog:
265
+ #syslog_facility = 'LOCAL0'
266
+ #syslog_ident = 'postgres'
267
+
268
+ #silent_mode = off # Run server silently.
269
+ # DO NOT USE without syslog or
270
+ # logging_collector
271
+ # (change requires restart)
272
+
273
+
274
+ # - When to Log -
275
+
276
+ client_min_messages = <%= node.postgresql.client_min_messages %>
277
+ # values in order of decreasing detail:
278
+ # debug5
279
+ # debug4
280
+ # debug3
281
+ # debug2
282
+ # debug1
283
+ # log
284
+ # notice
285
+ # warning
286
+ # error
287
+
288
+ #log_min_messages = warning # values in order of decreasing detail:
289
+ # debug5
290
+ # debug4
291
+ # debug3
292
+ # debug2
293
+ # debug1
294
+ # info
295
+ # notice
296
+ # warning
297
+ # error
298
+ # log
299
+ # fatal
300
+ # panic
301
+
302
+ #log_error_verbosity = default # terse, default, or verbose messages
303
+
304
+ #log_min_error_statement = error # values in order of decreasing detail:
305
+ # debug5
306
+ # debug4
307
+ # debug3
308
+ # debug2
309
+ # debug1
310
+ # info
311
+ # notice
312
+ # warning
313
+ # error
314
+ # log
315
+ # fatal
316
+ # panic (effectively off)
317
+
318
+ #log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
319
+ # and their durations, > 0 logs only
320
+ # statements running at least this number
321
+ # of milliseconds
322
+
323
+
324
+ # - What to Log -
325
+
326
+ #debug_print_parse = off
327
+ #debug_print_rewritten = off
328
+ #debug_print_plan = off
329
+ #debug_pretty_print = on
330
+ #log_checkpoints = off
331
+ #log_connections = off
332
+ #log_disconnections = off
333
+ #log_duration = off
334
+ #log_hostname = off
335
+ #log_line_prefix = '' # special values:
336
+ # %u = user name
337
+ # %d = database name
338
+ # %r = remote host and port
339
+ # %h = remote host
340
+ # %p = process ID
341
+ # %t = timestamp without milliseconds
342
+ # %m = timestamp with milliseconds
343
+ # %i = command tag
344
+ # %c = session ID
345
+ # %l = session line number
346
+ # %s = session start timestamp
347
+ # %v = virtual transaction ID
348
+ # %x = transaction ID (0 if none)
349
+ # %q = stop here in non-session
350
+ # processes
351
+ # %% = '%'
352
+ # e.g. '<%u%%%d> '
353
+ #log_lock_waits = off # log lock waits >= deadlock_timeout
354
+ #log_statement = 'none' # none, ddl, mod, all
355
+ #log_temp_files = -1 # log temporary files equal or larger
356
+ # than the specified size in kilobytes;
357
+ # -1 disables, 0 logs all temp files
358
+ #log_timezone = unknown # actually, defaults to TZ environment
359
+ # setting
360
+
361
+
362
+ #------------------------------------------------------------------------------
363
+ # RUNTIME STATISTICS
364
+ #------------------------------------------------------------------------------
365
+
366
+ # - Query/Index Statistics Collector -
367
+
368
+ #track_activities = on
369
+ #track_counts = on
370
+ #track_functions = none # none, pl, all
371
+ #track_activity_query_size = 1024
372
+ #update_process_title = on
373
+ #stats_temp_directory = 'pg_stat_tmp'
374
+
375
+
376
+ # - Statistics Monitoring -
377
+
378
+ #log_parser_stats = off
379
+ #log_planner_stats = off
380
+ #log_executor_stats = off
381
+ #log_statement_stats = off
382
+
383
+
384
+ #------------------------------------------------------------------------------
385
+ # AUTOVACUUM PARAMETERS
386
+ #------------------------------------------------------------------------------
387
+
388
+ #autovacuum = on # Enable autovacuum subprocess? 'on'
389
+ # requires track_counts to also be on.
390
+ #log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and
391
+ # their durations, > 0 logs only
392
+ # actions running at least this number
393
+ # of milliseconds.
394
+ #autovacuum_max_workers = 3 # max number of autovacuum subprocesses
395
+ #autovacuum_naptime = 1min # time between autovacuum runs
396
+ #autovacuum_vacuum_threshold = 50 # min number of row updates before
397
+ # vacuum
398
+ #autovacuum_analyze_threshold = 50 # min number of row updates before
399
+ # analyze
400
+ #autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum
401
+ #autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
402
+ #autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
403
+ # (change requires restart)
404
+ #autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
405
+ # autovacuum, in milliseconds;
406
+ # -1 means use vacuum_cost_delay
407
+ #autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
408
+ # autovacuum, -1 means use
409
+ # vacuum_cost_limit
410
+
411
+
412
+ #------------------------------------------------------------------------------
413
+ # CLIENT CONNECTION DEFAULTS
414
+ #------------------------------------------------------------------------------
415
+
416
+ # - Statement Behavior -
417
+
418
+ #search_path = '"$user",public' # schema names
419
+ #default_tablespace = '' # a tablespace name, '' uses the default
420
+ #temp_tablespaces = '' # a list of tablespace names, '' uses
421
+ # only default tablespace
422
+ #check_function_bodies = on
423
+ #default_transaction_isolation = 'read committed'
424
+ #default_transaction_read_only = off
425
+ #session_replication_role = 'origin'
426
+ #statement_timeout = 0 # in milliseconds, 0 is disabled
427
+ #vacuum_freeze_min_age = 50000000
428
+ #vacuum_freeze_table_age = 150000000
429
+ #xmlbinary = 'base64'
430
+ #xmloption = 'content'
431
+
432
+ # - Locale and Formatting -
433
+
434
+ datestyle = 'iso, mdy'
435
+ #intervalstyle = 'postgres'
436
+ #timezone = unknown # actually, defaults to TZ environment
437
+ # setting
438
+ #timezone_abbreviations = 'Default' # Select the set of available time zone
439
+ # abbreviations. Currently, there are
440
+ # Default
441
+ # Australia
442
+ # India
443
+ # You can create your own file in
444
+ # share/timezonesets/.
445
+ #extra_float_digits = 0 # min -15, max 2
446
+ #client_encoding = sql_ascii # actually, defaults to database
447
+ # encoding
448
+
449
+ # These settings are initialized by initdb, but they can be changed.
450
+ lc_messages = 'en_US.UTF-8' # locale for system error message
451
+ # strings
452
+ lc_monetary = 'en_US.UTF-8' # locale for monetary formatting
453
+ lc_numeric = 'en_US.UTF-8' # locale for number formatting
454
+ lc_time = 'en_US.UTF-8' # locale for time formatting
455
+
456
+ # default configuration for text search
457
+ default_text_search_config = 'pg_catalog.english'
458
+
459
+ # - Other Defaults -
460
+
461
+ #dynamic_library_path = '$libdir'
462
+ #local_preload_libraries = ''
463
+
464
+
465
+ #------------------------------------------------------------------------------
466
+ # LOCK MANAGEMENT
467
+ #------------------------------------------------------------------------------
468
+
469
+ #deadlock_timeout = 1s
470
+ #max_locks_per_transaction = 64 # min 10
471
+ # (change requires restart)
472
+ # Note: Each lock table slot uses ~270 bytes of shared memory, and there are
473
+ # max_locks_per_transaction * (max_connections + max_prepared_transactions)
474
+ # lock table slots.
475
+
476
+
477
+ #------------------------------------------------------------------------------
478
+ # VERSION/PLATFORM COMPATIBILITY
479
+ #------------------------------------------------------------------------------
480
+
481
+ # - Previous PostgreSQL Versions -
482
+
483
+ #add_missing_from = off
484
+ #array_nulls = on
485
+ #backslash_quote = safe_encoding # on, off, or safe_encoding
486
+ #default_with_oids = off
487
+ #escape_string_warning = on
488
+ #regex_flavor = advanced # advanced, extended, or basic
489
+ #sql_inheritance = on
490
+ #standard_conforming_strings = off
491
+ #synchronize_seqscans = on
492
+
493
+ # - Other Platforms and Clients -
494
+
495
+ #transform_null_equals = off
496
+
497
+
498
+ #------------------------------------------------------------------------------
499
+ # CUSTOMIZED OPTIONS
500
+ #------------------------------------------------------------------------------
501
+
502
+ #custom_variable_classes = '' # list of custom variable class names