lobot 2.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (687) hide show
  1. data/bin/lobot +3 -2
  2. data/lib/lobot.rb +0 -7
  3. metadata +15 -916
  4. data/.gitignore +0 -8
  5. data/.gitmodules +0 -3
  6. data/.pairs +0 -15
  7. data/.rspec +0 -2
  8. data/.rvmrc +0 -1
  9. data/.travis.yml +0 -5
  10. data/Gemfile +0 -6
  11. data/Guardfile +0 -10
  12. data/LICENSE.txt +0 -21
  13. data/README.md +0 -164
  14. data/Rakefile +0 -16
  15. data/Vagrantfile +0 -18
  16. data/chef/cookbooks/pivotal_ci/.gitignore +0 -4
  17. data/chef/cookbooks/pivotal_ci/Gemfile +0 -3
  18. data/chef/cookbooks/pivotal_ci/README.md +0 -3
  19. data/chef/cookbooks/pivotal_ci/attributes/git.rb +0 -4
  20. data/chef/cookbooks/pivotal_ci/attributes/jenkins.rb +0 -3
  21. data/chef/cookbooks/pivotal_ci/attributes/nginx.rb +0 -1
  22. data/chef/cookbooks/pivotal_ci/attributes/ssl.rb +0 -5
  23. data/chef/cookbooks/pivotal_ci/files/default/jenkins-ci.org.key +0 -112
  24. data/chef/cookbooks/pivotal_ci/files/default/tests/minitest/default_test.rb +0 -75
  25. data/chef/cookbooks/pivotal_ci/metadata.rb +0 -10
  26. data/chef/cookbooks/pivotal_ci/recipes/default.rb +0 -6
  27. data/chef/cookbooks/pivotal_ci/recipes/fonts.rb +0 -5
  28. data/chef/cookbooks/pivotal_ci/recipes/git_config.rb +0 -17
  29. data/chef/cookbooks/pivotal_ci/recipes/id_rsa.rb +0 -32
  30. data/chef/cookbooks/pivotal_ci/recipes/jenkins.rb +0 -26
  31. data/chef/cookbooks/pivotal_ci/recipes/jenkins_config.rb +0 -48
  32. data/chef/cookbooks/pivotal_ci/recipes/limited_travis_ci_environment.rb +0 -39
  33. data/chef/cookbooks/pivotal_ci/recipes/nginx.rb +0 -19
  34. data/chef/cookbooks/pivotal_ci/recipes/ssl_certificate.rb +0 -44
  35. data/chef/cookbooks/pivotal_ci/recipes/teamcity.rb +0 -42
  36. data/chef/cookbooks/pivotal_ci/templates/default/jenkins-job-config.xml.erb +0 -79
  37. data/chef/cookbooks/pivotal_ci/templates/default/nginx-conf.erb +0 -58
  38. data/chef/cookbooks/pivotal_ci/templates/default/nginx-htaccess.erb +0 -3
  39. data/chef/cookbooks/pivotal_ci/templates/default/org.jenkinsci.plugins.xvfb.XvfbBuildWrapper.xml.erb +0 -11
  40. data/chef/cookbooks/pivotal_ci/templates/default/teamcity-initd.erb +0 -44
  41. data/chef/cookbooks/pivotal_ci/test/kitchen/Kitchenfile +0 -4
  42. data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/attributes/default.rb +0 -2
  43. data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/metadata.rb +0 -10
  44. data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/recipes/bootstrap.rb +0 -41
  45. data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/recipes/default.rb +0 -1
  46. data/chef/travis-cookbooks/.gitignore +0 -7
  47. data/chef/travis-cookbooks/LICENSE +0 -23
  48. data/chef/travis-cookbooks/README.md +0 -28
  49. data/chef/travis-cookbooks/ci_environment/.gitignore +0 -1
  50. data/chef/travis-cookbooks/ci_environment/ant/README.md +0 -51
  51. data/chef/travis-cookbooks/ci_environment/ant/metadata.rb +0 -14
  52. data/chef/travis-cookbooks/ci_environment/ant/recipes/default.rb +0 -41
  53. data/chef/travis-cookbooks/ci_environment/apt/README.md +0 -109
  54. data/chef/travis-cookbooks/ci_environment/apt/attributes/default.rb +0 -1
  55. data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-cacher +0 -9
  56. data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-cacher.conf +0 -144
  57. data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-proxy-v2.conf +0 -50
  58. data/chef/travis-cookbooks/ci_environment/apt/metadata.json +0 -34
  59. data/chef/travis-cookbooks/ci_environment/apt/metadata.rb +0 -13
  60. data/chef/travis-cookbooks/ci_environment/apt/providers/repository.rb +0 -73
  61. data/chef/travis-cookbooks/ci_environment/apt/recipes/cacher-client.rb +0 -37
  62. data/chef/travis-cookbooks/ci_environment/apt/recipes/cacher.rb +0 -45
  63. data/chef/travis-cookbooks/ci_environment/apt/recipes/default.rb +0 -55
  64. data/chef/travis-cookbooks/ci_environment/apt/resources/repository.rb +0 -31
  65. data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-10.04/sources.list.erb +0 -31
  66. data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-11.04/sources.list.erb +0 -31
  67. data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-11.10/sources.list.erb +0 -31
  68. data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-12.04/sources.list.erb +0 -31
  69. data/chef/travis-cookbooks/ci_environment/bazaar/recipes/default.rb +0 -26
  70. data/chef/travis-cookbooks/ci_environment/bison/attributes/default.rb +0 -7
  71. data/chef/travis-cookbooks/ci_environment/bison/recipes/default.rb +0 -48
  72. data/chef/travis-cookbooks/ci_environment/build-essential/README.md +0 -24
  73. data/chef/travis-cookbooks/ci_environment/build-essential/metadata.rb +0 -10
  74. data/chef/travis-cookbooks/ci_environment/build-essential/recipes/default.rb +0 -47
  75. data/chef/travis-cookbooks/ci_environment/cassandra/attributes/default.rb +0 -28
  76. data/chef/travis-cookbooks/ci_environment/cassandra/recipes/datastax.rb +0 -43
  77. data/chef/travis-cookbooks/ci_environment/cassandra/recipes/package.rb +0 -43
  78. data/chef/travis-cookbooks/ci_environment/cassandra/recipes/tarball.rb +0 -158
  79. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-cli.erb +0 -60
  80. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-env.sh.erb +0 -159
  81. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-limits.conf.erb +0 -2
  82. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra.init.erb +0 -158
  83. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra.yaml.erb +0 -567
  84. data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/log4j-server.properties.yml +0 -43
  85. data/chef/travis-cookbooks/ci_environment/chromium/recipes/default.rb +0 -26
  86. data/chef/travis-cookbooks/ci_environment/clang/attributes/tarball.rb +0 -6
  87. data/chef/travis-cookbooks/ci_environment/clang/metadata.rb +0 -11
  88. data/chef/travis-cookbooks/ci_environment/clang/recipes/default.rb +0 -26
  89. data/chef/travis-cookbooks/ci_environment/clang/recipes/tarball.rb +0 -73
  90. data/chef/travis-cookbooks/ci_environment/cmake/README.md +0 -21
  91. data/chef/travis-cookbooks/ci_environment/cmake/metadata.rb +0 -10
  92. data/chef/travis-cookbooks/ci_environment/cmake/recipes/default.rb +0 -23
  93. data/chef/travis-cookbooks/ci_environment/composer/recipes/default.rb +0 -21
  94. data/chef/travis-cookbooks/ci_environment/composer/templates/default/composer.erb +0 -3
  95. data/chef/travis-cookbooks/ci_environment/couchdb/recipes/default.rb +0 -33
  96. data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ppa.rb +0 -37
  97. data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu-12.04.rb +0 -39
  98. data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu1110_ppa.rb +0 -27
  99. data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu1204_ppa.rb +0 -27
  100. data/chef/travis-cookbooks/ci_environment/doxygen/recipes/default.rb +0 -24
  101. data/chef/travis-cookbooks/ci_environment/elasticsearch/attributes/default.rb +0 -6
  102. data/chef/travis-cookbooks/ci_environment/elasticsearch/recipes/default.rb +0 -67
  103. data/chef/travis-cookbooks/ci_environment/emacs/metadata.rb +0 -11
  104. data/chef/travis-cookbooks/ci_environment/emacs/recipes/default.rb +0 -21
  105. data/chef/travis-cookbooks/ci_environment/emacs/recipes/nox.rb +0 -32
  106. data/chef/travis-cookbooks/ci_environment/erlang/attributes/default.rb +0 -1
  107. data/chef/travis-cookbooks/ci_environment/erlang/metadata.rb +0 -11
  108. data/chef/travis-cookbooks/ci_environment/erlang/recipes/default.rb +0 -27
  109. data/chef/travis-cookbooks/ci_environment/firefox/recipes/default.rb +0 -29
  110. data/chef/travis-cookbooks/ci_environment/git/README.rdoc +0 -37
  111. data/chef/travis-cookbooks/ci_environment/git/files/default/git_1.7.5.4-1+github5_amd64.deb +0 -0
  112. data/chef/travis-cookbooks/ci_environment/git/files/default/git_1.7.5.4-1+github5_i386.deb +0 -0
  113. data/chef/travis-cookbooks/ci_environment/git/metadata.rb +0 -15
  114. data/chef/travis-cookbooks/ci_environment/git/recipes/custom.git +0 -65
  115. data/chef/travis-cookbooks/ci_environment/git/recipes/default.rb +0 -23
  116. data/chef/travis-cookbooks/ci_environment/git/recipes/ppa.rb +0 -37
  117. data/chef/travis-cookbooks/ci_environment/git/templates/default/sv-git-daemon-log-run.erb +0 -2
  118. data/chef/travis-cookbooks/ci_environment/git/templates/default/sv-git-daemon-run.erb +0 -3
  119. data/chef/travis-cookbooks/ci_environment/golang/README.md +0 -35
  120. data/chef/travis-cookbooks/ci_environment/golang/attributes/default.rb +0 -11
  121. data/chef/travis-cookbooks/ci_environment/golang/recipes/default.rb +0 -20
  122. data/chef/travis-cookbooks/ci_environment/golang/recipes/multi.rb +0 -55
  123. data/chef/travis-cookbooks/ci_environment/golang/recipes/ppa.rb +0 -32
  124. data/chef/travis-cookbooks/ci_environment/gradle/README.md +0 -33
  125. data/chef/travis-cookbooks/ci_environment/gradle/attributes/tarball.rb +0 -9
  126. data/chef/travis-cookbooks/ci_environment/gradle/files/default/etc/profile.d/gradle.sh +0 -1
  127. data/chef/travis-cookbooks/ci_environment/gradle/recipes/tarball.rb +0 -65
  128. data/chef/travis-cookbooks/ci_environment/gvm/files/ubuntu/gvm.sh +0 -3
  129. data/chef/travis-cookbooks/ci_environment/gvm/recipes/default.rb +0 -44
  130. data/chef/travis-cookbooks/ci_environment/haskell/attributes/ghc.rb +0 -4
  131. data/chef/travis-cookbooks/ci_environment/haskell/attributes/platform.rb +0 -5
  132. data/chef/travis-cookbooks/ci_environment/haskell/files/default/cabal.sh +0 -3
  133. data/chef/travis-cookbooks/ci_environment/haskell/recipes/default.rb +0 -38
  134. data/chef/travis-cookbooks/ci_environment/haskell/recipes/ghc_package.rb +0 -28
  135. data/chef/travis-cookbooks/ci_environment/haskell/recipes/ghc_source.rb +0 -78
  136. data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_package.rb +0 -52
  137. data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_ppa.rb +0 -68
  138. data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_source.rb +0 -67
  139. data/chef/travis-cookbooks/ci_environment/haskell/recipes/source.rb +0 -25
  140. data/chef/travis-cookbooks/ci_environment/hbase/recipes/cdh4.rb +0 -49
  141. data/chef/travis-cookbooks/ci_environment/htop/recipes/default.rb +0 -4
  142. data/chef/travis-cookbooks/ci_environment/imagemagick/README.rdoc +0 -33
  143. data/chef/travis-cookbooks/ci_environment/imagemagick/metadata.rb +0 -12
  144. data/chef/travis-cookbooks/ci_environment/imagemagick/recipes/default.rb +0 -37
  145. data/chef/travis-cookbooks/ci_environment/iptables/files/default/iptables_rules +0 -13
  146. data/chef/travis-cookbooks/ci_environment/iptables/metadata.rb +0 -10
  147. data/chef/travis-cookbooks/ci_environment/iptables/recipes/default.rb +0 -48
  148. data/chef/travis-cookbooks/ci_environment/iptables/templates/default/iptables_load.erb +0 -3
  149. data/chef/travis-cookbooks/ci_environment/java/README.md +0 -102
  150. data/chef/travis-cookbooks/ci_environment/java/attributes/default.rb +0 -43
  151. data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/java.seed +0 -14
  152. data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/load_jdk_switcher.sh +0 -7
  153. data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/oraclejdk7.jinfo +0 -44
  154. data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/oraclejdk8.jinfo +0 -44
  155. data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/startssl_root_ca_installer.sh +0 -48
  156. data/chef/travis-cookbooks/ci_environment/java/metadata.rb +0 -16
  157. data/chef/travis-cookbooks/ci_environment/java/recipes/default.rb +0 -30
  158. data/chef/travis-cookbooks/ci_environment/java/recipes/multi.rb +0 -30
  159. data/chef/travis-cookbooks/ci_environment/java/recipes/openjdk6.rb +0 -27
  160. data/chef/travis-cookbooks/ci_environment/java/recipes/openjdk7.rb +0 -27
  161. data/chef/travis-cookbooks/ci_environment/java/recipes/oraclejdk7.rb +0 -83
  162. data/chef/travis-cookbooks/ci_environment/java/recipes/oraclejdk8.rb +0 -71
  163. data/chef/travis-cookbooks/ci_environment/java/templates/ubuntu/etc/profile.d/java_home.sh.erb +0 -3
  164. data/chef/travis-cookbooks/ci_environment/kerl/README.md +0 -3
  165. data/chef/travis-cookbooks/ci_environment/kerl/attributes/default.rb +0 -1
  166. data/chef/travis-cookbooks/ci_environment/kerl/attributes/source.rb +0 -2
  167. data/chef/travis-cookbooks/ci_environment/kerl/files/default/erlang.cookie +0 -1
  168. data/chef/travis-cookbooks/ci_environment/kerl/metadata.rb +0 -6
  169. data/chef/travis-cookbooks/ci_environment/kerl/recipes/default.rb +0 -19
  170. data/chef/travis-cookbooks/ci_environment/kerl/recipes/source.rb +0 -104
  171. data/chef/travis-cookbooks/ci_environment/kestrel/attributes/tarball.rb +0 -15
  172. data/chef/travis-cookbooks/ci_environment/kestrel/files/default/config/development.scala +0 -33
  173. data/chef/travis-cookbooks/ci_environment/kestrel/recipes/tarball.rb +0 -134
  174. data/chef/travis-cookbooks/ci_environment/kestrel/templates/ubuntu/kestrel-limits.conf.erb +0 -2
  175. data/chef/travis-cookbooks/ci_environment/kestrel/templates/ubuntu/kestrel.init.erb +0 -208
  176. data/chef/travis-cookbooks/ci_environment/leiningen/README.rdoc +0 -5
  177. data/chef/travis-cookbooks/ci_environment/leiningen/attributes/default.rb +0 -5
  178. data/chef/travis-cookbooks/ci_environment/leiningen/files/default/profiles.clj +0 -1
  179. data/chef/travis-cookbooks/ci_environment/leiningen/metadata.json +0 -32
  180. data/chef/travis-cookbooks/ci_environment/leiningen/metadata.rb +0 -8
  181. data/chef/travis-cookbooks/ci_environment/leiningen/recipes/default.rb +0 -23
  182. data/chef/travis-cookbooks/ci_environment/leiningen/recipes/lein1x.rb +0 -68
  183. data/chef/travis-cookbooks/ci_environment/leiningen/recipes/lein2x.rb +0 -82
  184. data/chef/travis-cookbooks/ci_environment/libffi/recipes/default.rb +0 -34
  185. data/chef/travis-cookbooks/ci_environment/libgdbm/recipes/default.rb +0 -27
  186. data/chef/travis-cookbooks/ci_environment/libncurses/recipes/default.rb +0 -31
  187. data/chef/travis-cookbooks/ci_environment/libossp-uuid/recipes/default.rb +0 -27
  188. data/chef/travis-cookbooks/ci_environment/libqt4/recipes/default.rb +0 -5
  189. data/chef/travis-cookbooks/ci_environment/libreadline/recipes/default.rb +0 -34
  190. data/chef/travis-cookbooks/ci_environment/libssl/recipes/098.rb +0 -28
  191. data/chef/travis-cookbooks/ci_environment/libssl/recipes/default.rb +0 -24
  192. data/chef/travis-cookbooks/ci_environment/libxml/recipes/default.rb +0 -30
  193. data/chef/travis-cookbooks/ci_environment/libyaml/recipes/default.rb +0 -6
  194. data/chef/travis-cookbooks/ci_environment/lighttpd/attributes/default.rb +0 -3
  195. data/chef/travis-cookbooks/ci_environment/lighttpd/recipes/default.rb +0 -39
  196. data/chef/travis-cookbooks/ci_environment/lighttpd/templates/default/lighttpd.conf.erb +0 -166
  197. data/chef/travis-cookbooks/ci_environment/maven3/attributes/default.rb +0 -3
  198. data/chef/travis-cookbooks/ci_environment/maven3/files/default/settings.xml +0 -136
  199. data/chef/travis-cookbooks/ci_environment/maven3/recipes/default.rb +0 -56
  200. data/chef/travis-cookbooks/ci_environment/maven3/recipes/package.rb +0 -27
  201. data/chef/travis-cookbooks/ci_environment/maven3/recipes/ppa.rb +0 -44
  202. data/chef/travis-cookbooks/ci_environment/maven3/recipes/tarball.rb +0 -37
  203. data/chef/travis-cookbooks/ci_environment/maven3/templates/ubuntu-11.04/install_maven3.sh.erb +0 -32
  204. data/chef/travis-cookbooks/ci_environment/memcached/README.rdoc +0 -52
  205. data/chef/travis-cookbooks/ci_environment/memcached/attributes/default.rb +0 -5
  206. data/chef/travis-cookbooks/ci_environment/memcached/attributes/ppa.rb +0 -3
  207. data/chef/travis-cookbooks/ci_environment/memcached/definitions/memcached_instance.rb +0 -32
  208. data/chef/travis-cookbooks/ci_environment/memcached/metadata.rb +0 -33
  209. data/chef/travis-cookbooks/ci_environment/memcached/recipes/default.rb +0 -60
  210. data/chef/travis-cookbooks/ci_environment/memcached/recipes/ppa.rb +0 -34
  211. data/chef/travis-cookbooks/ci_environment/memcached/templates/default/memcached.conf.erb +0 -54
  212. data/chef/travis-cookbooks/ci_environment/memcached/templates/default/memcached.default.erb +0 -2
  213. data/chef/travis-cookbooks/ci_environment/memcached/templates/default/sv-memcached-log-run.erb +0 -2
  214. data/chef/travis-cookbooks/ci_environment/memcached/templates/default/sv-memcached-run.erb +0 -3
  215. data/chef/travis-cookbooks/ci_environment/mercurial/recipes/default.rb +0 -26
  216. data/chef/travis-cookbooks/ci_environment/mercurial/recipes/ppa.rb +0 -36
  217. data/chef/travis-cookbooks/ci_environment/mingw32/README.md +0 -21
  218. data/chef/travis-cookbooks/ci_environment/mingw32/metadata.rb +0 -10
  219. data/chef/travis-cookbooks/ci_environment/mingw32/recipes/default.rb +0 -23
  220. data/chef/travis-cookbooks/ci_environment/mongodb/.gitignore +0 -1
  221. data/chef/travis-cookbooks/ci_environment/mongodb/README.md +0 -0
  222. data/chef/travis-cookbooks/ci_environment/mongodb/attributes/mongodb.rb +0 -67
  223. data/chef/travis-cookbooks/ci_environment/mongodb/files/default/mongodb.list +0 -1
  224. data/chef/travis-cookbooks/ci_environment/mongodb/files/default/mongodb.sysvinit.sh +0 -261
  225. data/chef/travis-cookbooks/ci_environment/mongodb/metadata.rb +0 -235
  226. data/chef/travis-cookbooks/ci_environment/mongodb/recipes/apt.rb +0 -65
  227. data/chef/travis-cookbooks/ci_environment/mongodb/recipes/default.rb +0 -23
  228. data/chef/travis-cookbooks/ci_environment/mongodb/recipes/server.rb +0 -46
  229. data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongod.upstart.erb +0 -16
  230. data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.conf.erb +0 -5
  231. data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.init.10gen.erb +0 -74
  232. data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.init.erb +0 -268
  233. data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.list.erb +0 -1
  234. data/chef/travis-cookbooks/ci_environment/mysql/README.md +0 -141
  235. data/chef/travis-cookbooks/ci_environment/mysql/attributes/default.rb +0 -1
  236. data/chef/travis-cookbooks/ci_environment/mysql/attributes/server.rb +0 -69
  237. data/chef/travis-cookbooks/ci_environment/mysql/attributes/server_on_ramfs.rb +0 -1
  238. data/chef/travis-cookbooks/ci_environment/mysql/libraries/database.rb +0 -19
  239. data/chef/travis-cookbooks/ci_environment/mysql/libraries/helpers.rb +0 -33
  240. data/chef/travis-cookbooks/ci_environment/mysql/metadata.rb +0 -76
  241. data/chef/travis-cookbooks/ci_environment/mysql/providers/database.rb +0 -81
  242. data/chef/travis-cookbooks/ci_environment/mysql/recipes/client.rb +0 -60
  243. data/chef/travis-cookbooks/ci_environment/mysql/recipes/default.rb +0 -20
  244. data/chef/travis-cookbooks/ci_environment/mysql/recipes/server.rb +0 -125
  245. data/chef/travis-cookbooks/ci_environment/mysql/recipes/server_on_ramfs.rb +0 -88
  246. data/chef/travis-cookbooks/ci_environment/mysql/resources/database.rb +0 -27
  247. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/debian.cnf.erb +0 -12
  248. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/grants.sql.erb +0 -33
  249. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/init/mysql.conf.erb +0 -49
  250. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/my.cnf.erb +0 -182
  251. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/mysql-server.seed.erb +0 -10
  252. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/port_mysql.erb +0 -3
  253. data/chef/travis-cookbooks/ci_environment/mysql/templates/default/ramfs/my.cnf.erb +0 -175
  254. data/chef/travis-cookbooks/ci_environment/neo4j-server/.gitignore +0 -4
  255. data/chef/travis-cookbooks/ci_environment/neo4j-server/README.md +0 -47
  256. data/chef/travis-cookbooks/ci_environment/neo4j-server/attributes/tarball.rb +0 -43
  257. data/chef/travis-cookbooks/ci_environment/neo4j-server/recipes/tarball.rb +0 -164
  258. data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-limits.conf.erb +0 -2
  259. data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-server.properties.erb +0 -75
  260. data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-wrapper.conf.erb +0 -26
  261. data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j.init.erb +0 -55
  262. data/chef/travis-cookbooks/ci_environment/networking_basic/recipes/default.rb +0 -39
  263. data/chef/travis-cookbooks/ci_environment/nodejs/attributes/multi.rb +0 -3
  264. data/chef/travis-cookbooks/ci_environment/nodejs/files/default/nvm.sh +0 -281
  265. data/chef/travis-cookbooks/ci_environment/nodejs/files/default/profile_entry.sh +0 -3
  266. data/chef/travis-cookbooks/ci_environment/nodejs/recipes/multi.rb +0 -79
  267. data/chef/travis-cookbooks/ci_environment/nodejs/templates/default/nvm.sh.erb +0 -3
  268. data/chef/travis-cookbooks/ci_environment/openssh/files/default/ssh_init.sh +0 -181
  269. data/chef/travis-cookbooks/ci_environment/openssh/files/default/sshd_config +0 -56
  270. data/chef/travis-cookbooks/ci_environment/openssh/recipes/default.rb +0 -42
  271. data/chef/travis-cookbooks/ci_environment/openssl/README.md +0 -37
  272. data/chef/travis-cookbooks/ci_environment/openssl/libraries/secure_password.rb +0 -37
  273. data/chef/travis-cookbooks/ci_environment/openssl/metadata.rb +0 -8
  274. data/chef/travis-cookbooks/ci_environment/openssl/recipes/default.rb +0 -19
  275. data/chef/travis-cookbooks/ci_environment/perlbrew/attributes/default.rb +0 -0
  276. data/chef/travis-cookbooks/ci_environment/perlbrew/attributes/multi.rb +0 -7
  277. data/chef/travis-cookbooks/ci_environment/perlbrew/files/default/perlbrew.sh +0 -7
  278. data/chef/travis-cookbooks/ci_environment/perlbrew/metadata.rb +0 -11
  279. data/chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb +0 -26
  280. data/chef/travis-cookbooks/ci_environment/perlbrew/recipes/multi.rb +0 -41
  281. data/chef/travis-cookbooks/ci_environment/phantomjs/attributes/default.rb +0 -10
  282. data/chef/travis-cookbooks/ci_environment/phantomjs/files/ubuntu/etc/profile.d/phantomjs.sh +0 -1
  283. data/chef/travis-cookbooks/ci_environment/phantomjs/metadata.rb +0 -3
  284. data/chef/travis-cookbooks/ci_environment/phantomjs/recipes/default.rb +0 -26
  285. data/chef/travis-cookbooks/ci_environment/phantomjs/recipes/tarball.rb +0 -69
  286. data/chef/travis-cookbooks/ci_environment/php/README.md +0 -5
  287. data/chef/travis-cookbooks/ci_environment/php/attributes/default.rb +0 -40
  288. data/chef/travis-cookbooks/ci_environment/php/metadata.rb +0 -10
  289. data/chef/travis-cookbooks/ci_environment/php/providers/pecl.rb +0 -73
  290. data/chef/travis-cookbooks/ci_environment/php/recipes/extensions.rb +0 -25
  291. data/chef/travis-cookbooks/ci_environment/php/recipes/multi.rb +0 -26
  292. data/chef/travis-cookbooks/ci_environment/php/resources/pecl.rb +0 -10
  293. data/chef/travis-cookbooks/ci_environment/phpbuild/attributes/default.rb +0 -19
  294. data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/after-install.d/phpunit.sh +0 -58
  295. data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/definitions/5.2.17 +0 -18
  296. data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/definitions/5.3.3 +0 -6
  297. data/chef/travis-cookbooks/ci_environment/phpbuild/metadata.rb +0 -5
  298. data/chef/travis-cookbooks/ci_environment/phpbuild/providers/build.rb +0 -56
  299. data/chef/travis-cookbooks/ci_environment/phpbuild/recipes/default.rb +0 -122
  300. data/chef/travis-cookbooks/ci_environment/phpbuild/resources/build.rb +0 -7
  301. data/chef/travis-cookbooks/ci_environment/phpbuild/templates/default/default_configure_options.erb +0 -42
  302. data/chef/travis-cookbooks/ci_environment/phpbuild/templates/default/travis.ini.erb +0 -9
  303. data/chef/travis-cookbooks/ci_environment/phpenv/attributes/default.rb +0 -6
  304. data/chef/travis-cookbooks/ci_environment/phpenv/files/default/phpenv.sh +0 -5
  305. data/chef/travis-cookbooks/ci_environment/phpenv/metadata.rb +0 -5
  306. data/chef/travis-cookbooks/ci_environment/phpenv/recipes/default.rb +0 -33
  307. data/chef/travis-cookbooks/ci_environment/postgresql/README.rdoc +0 -49
  308. data/chef/travis-cookbooks/ci_environment/postgresql/attributes/default.rb +0 -74
  309. data/chef/travis-cookbooks/ci_environment/postgresql/metadata.rb +0 -13
  310. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/client.rb +0 -28
  311. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/default.rb +0 -20
  312. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server.rb +0 -83
  313. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_debian.rb +0 -73
  314. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_on_ramfs.rb +0 -32
  315. data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_redhat.rb +0 -84
  316. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/30-shared-memory.conf.erb +0 -2
  317. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/debian.pg_hba.conf.erb +0 -83
  318. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/debian.postgresql.conf.erb +0 -234
  319. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/ramfs.init.erb +0 -50
  320. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/redhat.pg_hba.conf.erb +0 -74
  321. data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/redhat.postgresql.conf.erb +0 -502
  322. data/chef/travis-cookbooks/ci_environment/pypy/attributes/default.rb +0 -21
  323. data/chef/travis-cookbooks/ci_environment/pypy/files/default/etc/profile.d/pypy.sh +0 -1
  324. data/chef/travis-cookbooks/ci_environment/pypy/recipes/ppa.rb +0 -39
  325. data/chef/travis-cookbooks/ci_environment/pypy/recipes/tarball.rb +0 -54
  326. data/chef/travis-cookbooks/ci_environment/python/README.md +0 -162
  327. data/chef/travis-cookbooks/ci_environment/python/attributes/default.rb +0 -22
  328. data/chef/travis-cookbooks/ci_environment/python/files/default/virtualenv_settings.sh +0 -1
  329. data/chef/travis-cookbooks/ci_environment/python/metadata.json +0 -52
  330. data/chef/travis-cookbooks/ci_environment/python/metadata.rb +0 -17
  331. data/chef/travis-cookbooks/ci_environment/python/providers/pip.rb +0 -146
  332. data/chef/travis-cookbooks/ci_environment/python/providers/virtualenv.rb +0 -79
  333. data/chef/travis-cookbooks/ci_environment/python/recipes/default.rb +0 -21
  334. data/chef/travis-cookbooks/ci_environment/python/recipes/multi.rb +0 -157
  335. data/chef/travis-cookbooks/ci_environment/python/recipes/package.rb +0 -36
  336. data/chef/travis-cookbooks/ci_environment/python/recipes/pip.rb +0 -38
  337. data/chef/travis-cookbooks/ci_environment/python/recipes/virtualenv.rb +0 -32
  338. data/chef/travis-cookbooks/ci_environment/python/resources/pip.rb +0 -26
  339. data/chef/travis-cookbooks/ci_environment/python/resources/virtualenv.rb +0 -28
  340. data/chef/travis-cookbooks/ci_environment/rabbitmq/README.md +0 -86
  341. data/chef/travis-cookbooks/ci_environment/rabbitmq/attributes/default.rb +0 -11
  342. data/chef/travis-cookbooks/ci_environment/rabbitmq/metadata.rb +0 -63
  343. data/chef/travis-cookbooks/ci_environment/rabbitmq/providers/user.rb +0 -66
  344. data/chef/travis-cookbooks/ci_environment/rabbitmq/providers/vhost.rb +0 -34
  345. data/chef/travis-cookbooks/ci_environment/rabbitmq/recipes/default.rb +0 -67
  346. data/chef/travis-cookbooks/ci_environment/rabbitmq/recipes/with_management_plugin.rb +0 -15
  347. data/chef/travis-cookbooks/ci_environment/rabbitmq/resources/user.rb +0 -25
  348. data/chef/travis-cookbooks/ci_environment/rabbitmq/resources/vhost.rb +0 -22
  349. data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/doterlang.cookie.erb +0 -1
  350. data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq-env.conf.erb +0 -10
  351. data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq.config.erb +0 -5
  352. data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq_cluster.config.erb +0 -5
  353. data/chef/travis-cookbooks/ci_environment/ragel/recipes/custom.rb +0 -56
  354. data/chef/travis-cookbooks/ci_environment/ragel/recipes/default.rb +0 -28
  355. data/chef/travis-cookbooks/ci_environment/ramfs/attributes/default.rb +0 -1
  356. data/chef/travis-cookbooks/ci_environment/ramfs/recipes/default.rb +0 -27
  357. data/chef/travis-cookbooks/ci_environment/rebar/README.md +0 -3
  358. data/chef/travis-cookbooks/ci_environment/rebar/attributes/default.rb +0 -2
  359. data/chef/travis-cookbooks/ci_environment/rebar/metadata.rb +0 -7
  360. data/chef/travis-cookbooks/ci_environment/rebar/recipes/default.rb +0 -26
  361. data/chef/travis-cookbooks/ci_environment/redis/attributes/default.rb +0 -10
  362. data/chef/travis-cookbooks/ci_environment/redis/recipes/default.rb +0 -68
  363. data/chef/travis-cookbooks/ci_environment/redis/recipes/ppa.rb +0 -42
  364. data/chef/travis-cookbooks/ci_environment/riak/.gitignore +0 -1
  365. data/chef/travis-cookbooks/ci_environment/riak/README.md +0 -161
  366. data/chef/travis-cookbooks/ci_environment/riak/attributes/api.rb +0 -21
  367. data/chef/travis-cookbooks/ci_environment/riak/attributes/bitcask.rb +0 -22
  368. data/chef/travis-cookbooks/ci_environment/riak/attributes/control.rb +0 -23
  369. data/chef/travis-cookbooks/ci_environment/riak/attributes/core.rb +0 -41
  370. data/chef/travis-cookbooks/ci_environment/riak/attributes/default.rb +0 -33
  371. data/chef/travis-cookbooks/ci_environment/riak/attributes/dets.rb +0 -20
  372. data/chef/travis-cookbooks/ci_environment/riak/attributes/eleveldb.rb +0 -6
  373. data/chef/travis-cookbooks/ci_environment/riak/attributes/erlang.rb +0 -30
  374. data/chef/travis-cookbooks/ci_environment/riak/attributes/err.rb +0 -21
  375. data/chef/travis-cookbooks/ci_environment/riak/attributes/innostore.rb +0 -28
  376. data/chef/travis-cookbooks/ci_environment/riak/attributes/kernel.rb +0 -22
  377. data/chef/travis-cookbooks/ci_environment/riak/attributes/kv.rb +0 -62
  378. data/chef/travis-cookbooks/ci_environment/riak/attributes/lager.rb +0 -31
  379. data/chef/travis-cookbooks/ci_environment/riak/attributes/merge.rb +0 -22
  380. data/chef/travis-cookbooks/ci_environment/riak/attributes/netdev.rb +0 -22
  381. data/chef/travis-cookbooks/ci_environment/riak/attributes/package.rb +0 -30
  382. data/chef/travis-cookbooks/ci_environment/riak/attributes/sasl.rb +0 -25
  383. data/chef/travis-cookbooks/ci_environment/riak/attributes/search.rb +0 -19
  384. data/chef/travis-cookbooks/ci_environment/riak/attributes/service.rb +0 -20
  385. data/chef/travis-cookbooks/ci_environment/riak/attributes/sysmon.rb +0 -25
  386. data/chef/travis-cookbooks/ci_environment/riak/libraries/riak_template_helper.rb +0 -180
  387. data/chef/travis-cookbooks/ci_environment/riak/metadata.rb +0 -32
  388. data/chef/travis-cookbooks/ci_environment/riak/providers/cluster.rb +0 -80
  389. data/chef/travis-cookbooks/ci_environment/riak/recipes/autoconf.rb +0 -47
  390. data/chef/travis-cookbooks/ci_environment/riak/recipes/config.rb +0 -70
  391. data/chef/travis-cookbooks/ci_environment/riak/recipes/default.rb +0 -162
  392. data/chef/travis-cookbooks/ci_environment/riak/recipes/innostore.rb +0 -74
  393. data/chef/travis-cookbooks/ci_environment/riak/recipes/iptables.rb +0 -25
  394. data/chef/travis-cookbooks/ci_environment/riak/resources/cluster.rb +0 -27
  395. data/chef/travis-cookbooks/ci_environment/riak/templates/default/app.config.erb +0 -2
  396. data/chef/travis-cookbooks/ci_environment/riak/templates/default/iptables.erb +0 -13
  397. data/chef/travis-cookbooks/ci_environment/riak/templates/default/vm.args.erb +0 -2
  398. data/chef/travis-cookbooks/ci_environment/rvm/attributes/default.rb +0 -1
  399. data/chef/travis-cookbooks/ci_environment/rvm/attributes/multi.rb +0 -6
  400. data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/default.gems +0 -1
  401. data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/global.gems +0 -2
  402. data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/jruby/global.gems +0 -4
  403. data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/ruby/2.0.0/global.gems +0 -2
  404. data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/ruby/head/global.gems +0 -2
  405. data/chef/travis-cookbooks/ci_environment/rvm/files/default/rvm.sh +0 -3
  406. data/chef/travis-cookbooks/ci_environment/rvm/metadata.json +0 -43
  407. data/chef/travis-cookbooks/ci_environment/rvm/metadata.rb +0 -25
  408. data/chef/travis-cookbooks/ci_environment/rvm/recipes/default.rb +0 -98
  409. data/chef/travis-cookbooks/ci_environment/rvm/recipes/multi.rb +0 -83
  410. data/chef/travis-cookbooks/ci_environment/rvm/templates/default/bundler_config.yml.erb +0 -2
  411. data/chef/travis-cookbooks/ci_environment/rvm/templates/default/dot_rvmrc.sh.erb +0 -3
  412. data/chef/travis-cookbooks/ci_environment/sbt/CHANGELOG.md +0 -20
  413. data/chef/travis-cookbooks/ci_environment/sbt/LICENSE +0 -201
  414. data/chef/travis-cookbooks/ci_environment/sbt/README.md +0 -79
  415. data/chef/travis-cookbooks/ci_environment/sbt/attributes/default.rb +0 -36
  416. data/chef/travis-cookbooks/ci_environment/sbt/metadata.json +0 -42
  417. data/chef/travis-cookbooks/ci_environment/sbt/metadata.rb +0 -15
  418. data/chef/travis-cookbooks/ci_environment/sbt/recipes/default.rb +0 -119
  419. data/chef/travis-cookbooks/ci_environment/sbt/templates/default/jvmopts.erb +0 -7
  420. data/chef/travis-cookbooks/ci_environment/sbt/templates/default/sbtopts.erb +0 -54
  421. data/chef/travis-cookbooks/ci_environment/scons/recipes/default.rb +0 -3
  422. data/chef/travis-cookbooks/ci_environment/sphinx/README.md +0 -0
  423. data/chef/travis-cookbooks/ci_environment/sphinx/attributes/default.rb +0 -8
  424. data/chef/travis-cookbooks/ci_environment/sphinx/metadata.rb +0 -17
  425. data/chef/travis-cookbooks/ci_environment/sphinx/recipes/all.rb +0 -64
  426. data/chef/travis-cookbooks/ci_environment/sphinx/recipes/default.rb +0 -24
  427. data/chef/travis-cookbooks/ci_environment/sqlite/metadata.rb +0 -11
  428. data/chef/travis-cookbooks/ci_environment/sqlite/recipes/default.rb +0 -30
  429. data/chef/travis-cookbooks/ci_environment/sqlite/recipes/ppa.rb +0 -34
  430. data/chef/travis-cookbooks/ci_environment/subversion/recipes/default.rb +0 -24
  431. data/chef/travis-cookbooks/ci_environment/sweeper/recipes/default.rb +0 -45
  432. data/chef/travis-cookbooks/ci_environment/sysctl/attributes/default.rb +0 -5
  433. data/chef/travis-cookbooks/ci_environment/sysctl/recipes/default.rb +0 -6
  434. data/chef/travis-cookbooks/ci_environment/sysctl/templates/default/sysctl.conf.erb +0 -2
  435. data/chef/travis-cookbooks/ci_environment/timezone/attributes/default.rb +0 -1
  436. data/chef/travis-cookbooks/ci_environment/timezone/metadata.json +0 -35
  437. data/chef/travis-cookbooks/ci_environment/timezone/metadata.rb +0 -9
  438. data/chef/travis-cookbooks/ci_environment/timezone/recipes/._default.rb +0 -0
  439. data/chef/travis-cookbooks/ci_environment/timezone/recipes/default.rb +0 -38
  440. data/chef/travis-cookbooks/ci_environment/timezone/templates/default/timezone.conf.erb +0 -1
  441. data/chef/travis-cookbooks/ci_environment/travis_build_environment/attributes/default.rb +0 -20
  442. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/dot_gemrc.yml +0 -1
  443. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/known_hosts +0 -1
  444. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/travis_environment.sh +0 -27
  445. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/etc/default/locale.sh +0 -1
  446. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/etc/sudoers/env_keep +0 -1
  447. data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/root/recover_eth0.sh +0 -8
  448. data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/ci_user.rb +0 -104
  449. data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/default.rb +0 -134
  450. data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/root.rb +0 -48
  451. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/ci_user/ci_environment_metadata.yml.erb +0 -2
  452. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/ci_user/dot_bashrc.sh.erb +0 -111
  453. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/apt/assumeyes.erb +0 -1
  454. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/apt/timeouts.erb +0 -3
  455. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/environment.sh.erb +0 -11
  456. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/hostname.erb +0 -12
  457. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/hosts.erb +0 -30
  458. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/security/limits.conf.erb +0 -62
  459. data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/root/dot_bashrc.sh.erb +0 -88
  460. data/chef/travis-cookbooks/ci_environment/unarchivers/recipes/default.rb +0 -29
  461. data/chef/travis-cookbooks/ci_environment/util-linux/recipes/default.rb +0 -5
  462. data/chef/travis-cookbooks/ci_environment/vim/README.md +0 -39
  463. data/chef/travis-cookbooks/ci_environment/vim/attributes/default.rb +0 -20
  464. data/chef/travis-cookbooks/ci_environment/vim/metadata.rb +0 -6
  465. data/chef/travis-cookbooks/ci_environment/vim/recipes/default.rb +0 -24
  466. data/chef/travis-cookbooks/ci_environment/xserver/files/default/etc/init.d/xvfb.sh +0 -24
  467. data/chef/travis-cookbooks/ci_environment/xserver/metadata.rb +0 -3
  468. data/chef/travis-cookbooks/ci_environment/xserver/recipes/default.rb +0 -37
  469. data/chef/travis-cookbooks/ci_environment/zeromq/recipes/default.rb +0 -27
  470. data/chef/travis-cookbooks/ci_environment/zeromq/recipes/ppa.rb +0 -33
  471. data/chef/travis-cookbooks/ci_environment/zookeeper/recipes/cdh4.rb +0 -51
  472. data/chef/travis-cookbooks/worker_host/.gitignore +0 -1
  473. data/chef/travis-cookbooks/worker_host/ant/README.md +0 -51
  474. data/chef/travis-cookbooks/worker_host/ant/metadata.rb +0 -12
  475. data/chef/travis-cookbooks/worker_host/ant/recipes/default.rb +0 -36
  476. data/chef/travis-cookbooks/worker_host/apt/README.md +0 -109
  477. data/chef/travis-cookbooks/worker_host/apt/files/default/apt-cacher +0 -9
  478. data/chef/travis-cookbooks/worker_host/apt/files/default/apt-cacher.conf +0 -144
  479. data/chef/travis-cookbooks/worker_host/apt/files/default/apt-proxy-v2.conf +0 -50
  480. data/chef/travis-cookbooks/worker_host/apt/metadata.json +0 -34
  481. data/chef/travis-cookbooks/worker_host/apt/metadata.rb +0 -13
  482. data/chef/travis-cookbooks/worker_host/apt/providers/repository.rb +0 -72
  483. data/chef/travis-cookbooks/worker_host/apt/recipes/cacher-client.rb +0 -37
  484. data/chef/travis-cookbooks/worker_host/apt/recipes/cacher.rb +0 -45
  485. data/chef/travis-cookbooks/worker_host/apt/recipes/default.rb +0 -33
  486. data/chef/travis-cookbooks/worker_host/apt/resources/repository.rb +0 -30
  487. data/chef/travis-cookbooks/worker_host/build-essential/README.md +0 -24
  488. data/chef/travis-cookbooks/worker_host/build-essential/metadata.rb +0 -10
  489. data/chef/travis-cookbooks/worker_host/build-essential/recipes/default.rb +0 -45
  490. data/chef/travis-cookbooks/worker_host/chef-client/CHANGELOG.md +0 -29
  491. data/chef/travis-cookbooks/worker_host/chef-client/CONTRIBUTING +0 -29
  492. data/chef/travis-cookbooks/worker_host/chef-client/LICENSE +0 -201
  493. data/chef/travis-cookbooks/worker_host/chef-client/README.md +0 -265
  494. data/chef/travis-cookbooks/worker_host/chef-client/attributes/default.rb +0 -70
  495. data/chef/travis-cookbooks/worker_host/chef-client/metadata.json +0 -44
  496. data/chef/travis-cookbooks/worker_host/chef-client/metadata.rb +0 -15
  497. data/chef/travis-cookbooks/worker_host/chef-client/recipes/config.rb +0 -53
  498. data/chef/travis-cookbooks/worker_host/chef-client/recipes/cron.rb +0 -83
  499. data/chef/travis-cookbooks/worker_host/chef-client/recipes/default.rb +0 -20
  500. data/chef/travis-cookbooks/worker_host/chef-client/recipes/delete_validation.rb +0 -26
  501. data/chef/travis-cookbooks/worker_host/chef-client/recipes/service.rb +0 -242
  502. data/chef/travis-cookbooks/worker_host/chef-client/templates/arch/conf.d/chef-client.conf.erb +0 -5
  503. data/chef/travis-cookbooks/worker_host/chef-client/templates/arch/rc.d/chef-client.erb +0 -76
  504. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/chef-client.pill.erb +0 -14
  505. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/client.rb.erb +0 -36
  506. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/default/chef-client.erb +0 -4
  507. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/init.d/chef-client.erb +0 -185
  508. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/init/chef-client.conf.erb +0 -17
  509. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/redhat/init.d/chef-client.erb +0 -110
  510. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/redhat/sysconfig/chef-client.erb +0 -15
  511. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/solaris/chef-client.erb +0 -78
  512. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/solaris/manifest.xml.erb +0 -103
  513. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/sv-chef-client-log-run.erb +0 -2
  514. data/chef/travis-cookbooks/worker_host/chef-client/templates/default/sv-chef-client-run.erb +0 -4
  515. data/chef/travis-cookbooks/worker_host/chef-client/templates/windows/chef-client.xml.erb +0 -38
  516. data/chef/travis-cookbooks/worker_host/chef_handler/CHANGELOG.md +0 -12
  517. data/chef/travis-cookbooks/worker_host/chef_handler/CONTRIBUTING +0 -29
  518. data/chef/travis-cookbooks/worker_host/chef_handler/LICENSE +0 -201
  519. data/chef/travis-cookbooks/worker_host/chef_handler/README.md +0 -103
  520. data/chef/travis-cookbooks/worker_host/chef_handler/attributes/default.rb +0 -21
  521. data/chef/travis-cookbooks/worker_host/chef_handler/files/default/handlers/README +0 -1
  522. data/chef/travis-cookbooks/worker_host/chef_handler/files/default/handlers/campfire_handler.rb +0 -61
  523. data/chef/travis-cookbooks/worker_host/chef_handler/metadata.json +0 -29
  524. data/chef/travis-cookbooks/worker_host/chef_handler/metadata.rb +0 -6
  525. data/chef/travis-cookbooks/worker_host/chef_handler/providers/default.rb +0 -83
  526. data/chef/travis-cookbooks/worker_host/chef_handler/recipes/campfire.rb +0 -15
  527. data/chef/travis-cookbooks/worker_host/chef_handler/recipes/default.rb +0 -31
  528. data/chef/travis-cookbooks/worker_host/chef_handler/recipes/json_file.rb +0 -28
  529. data/chef/travis-cookbooks/worker_host/chef_handler/resources/default.rb +0 -34
  530. data/chef/travis-cookbooks/worker_host/collectd-librato/.gitignore +0 -1
  531. data/chef/travis-cookbooks/worker_host/collectd-librato/README.md +0 -22
  532. data/chef/travis-cookbooks/worker_host/collectd-librato/attributes/collectd_librato.rb +0 -4
  533. data/chef/travis-cookbooks/worker_host/collectd-librato/metadata.rb +0 -11
  534. data/chef/travis-cookbooks/worker_host/collectd-librato/recipes/default.rb +0 -41
  535. data/chef/travis-cookbooks/worker_host/collectd/README.rdoc +0 -85
  536. data/chef/travis-cookbooks/worker_host/collectd/attributes/default.rb +0 -33
  537. data/chef/travis-cookbooks/worker_host/collectd/definitions/collectd_plugin.rb +0 -52
  538. data/chef/travis-cookbooks/worker_host/collectd/libraries/default.rb +0 -47
  539. data/chef/travis-cookbooks/worker_host/collectd/metadata.rb +0 -15
  540. data/chef/travis-cookbooks/worker_host/collectd/recipes/client.rb +0 -33
  541. data/chef/travis-cookbooks/worker_host/collectd/recipes/collectd_web.rb +0 -49
  542. data/chef/travis-cookbooks/worker_host/collectd/recipes/default.rb +0 -90
  543. data/chef/travis-cookbooks/worker_host/collectd/recipes/server.rb +0 -24
  544. data/chef/travis-cookbooks/worker_host/collectd/templates/default/collectd.conf.erb +0 -23
  545. data/chef/travis-cookbooks/worker_host/collectd/templates/default/collectd_web.conf.erb +0 -32
  546. data/chef/travis-cookbooks/worker_host/collectd/templates/default/collection.conf.erb +0 -2
  547. data/chef/travis-cookbooks/worker_host/collectd/templates/default/plugin.conf.erb +0 -15
  548. data/chef/travis-cookbooks/worker_host/collectd/templates/default/python_plugin.conf.erb +0 -20
  549. data/chef/travis-cookbooks/worker_host/collectd/templates/default/thresholds.conf.erb +0 -37
  550. data/chef/travis-cookbooks/worker_host/disks/attributes/default.rb +0 -1
  551. data/chef/travis-cookbooks/worker_host/disks/recipes/default.rb +0 -15
  552. data/chef/travis-cookbooks/worker_host/emacs/emacs/metadata.rb +0 -11
  553. data/chef/travis-cookbooks/worker_host/emacs/emacs/recipes/default.rb +0 -21
  554. data/chef/travis-cookbooks/worker_host/emacs/metadata.rb +0 -11
  555. data/chef/travis-cookbooks/worker_host/emacs/recipes/default.rb +0 -21
  556. data/chef/travis-cookbooks/worker_host/git/README.rdoc +0 -37
  557. data/chef/travis-cookbooks/worker_host/git/metadata.rb +0 -11
  558. data/chef/travis-cookbooks/worker_host/git/recipes/default.rb +0 -24
  559. data/chef/travis-cookbooks/worker_host/git/templates/default/sv-git-daemon-log-run.erb +0 -2
  560. data/chef/travis-cookbooks/worker_host/git/templates/default/sv-git-daemon-run.erb +0 -3
  561. data/chef/travis-cookbooks/worker_host/iptables/files/default/iptables_rules +0 -13
  562. data/chef/travis-cookbooks/worker_host/iptables/metadata.rb +0 -10
  563. data/chef/travis-cookbooks/worker_host/iptables/recipes/default.rb +0 -48
  564. data/chef/travis-cookbooks/worker_host/iptables/templates/default/iptables_load.erb +0 -3
  565. data/chef/travis-cookbooks/worker_host/java/README.md +0 -102
  566. data/chef/travis-cookbooks/worker_host/java/attributes/default.rb +0 -29
  567. data/chef/travis-cookbooks/worker_host/java/files/default/java.seed +0 -11
  568. data/chef/travis-cookbooks/worker_host/java/metadata.rb +0 -16
  569. data/chef/travis-cookbooks/worker_host/java/recipes/default.rb +0 -61
  570. data/chef/travis-cookbooks/worker_host/java/recipes/openjdk.rb +0 -54
  571. data/chef/travis-cookbooks/worker_host/java/recipes/sun.rb +0 -49
  572. data/chef/travis-cookbooks/worker_host/jruby/attributes/default.rb +0 -5
  573. data/chef/travis-cookbooks/worker_host/jruby/metadata.rb +0 -8
  574. data/chef/travis-cookbooks/worker_host/jruby/recipes/default.rb +0 -24
  575. data/chef/travis-cookbooks/worker_host/monit/attributes/default.rb +0 -3
  576. data/chef/travis-cookbooks/worker_host/monit/files/default/default.monit +0 -1
  577. data/chef/travis-cookbooks/worker_host/monit/recipes/default.rb +0 -56
  578. data/chef/travis-cookbooks/worker_host/monit/templates/default/alerts.erb +0 -12
  579. data/chef/travis-cookbooks/worker_host/monit/templates/default/filesystems.erb +0 -6
  580. data/chef/travis-cookbooks/worker_host/monit/templates/default/monitrc.erb +0 -6
  581. data/chef/travis-cookbooks/worker_host/monit/templates/default/system.erb +0 -4
  582. data/chef/travis-cookbooks/worker_host/networking_basic/README.rdoc +0 -8
  583. data/chef/travis-cookbooks/worker_host/networking_basic/metadata.json +0 -35
  584. data/chef/travis-cookbooks/worker_host/networking_basic/metadata.rb +0 -10
  585. data/chef/travis-cookbooks/worker_host/networking_basic/recipes/default.rb +0 -32
  586. data/chef/travis-cookbooks/worker_host/ntp/.gitignore +0 -1
  587. data/chef/travis-cookbooks/worker_host/ntp/.travis.yml +0 -6
  588. data/chef/travis-cookbooks/worker_host/ntp/CHANGELOG.md +0 -35
  589. data/chef/travis-cookbooks/worker_host/ntp/CONTRIBUTING +0 -29
  590. data/chef/travis-cookbooks/worker_host/ntp/LICENSE +0 -201
  591. data/chef/travis-cookbooks/worker_host/ntp/README.md +0 -163
  592. data/chef/travis-cookbooks/worker_host/ntp/Rakefile +0 -19
  593. data/chef/travis-cookbooks/worker_host/ntp/TESTING.md +0 -213
  594. data/chef/travis-cookbooks/worker_host/ntp/attributes/default.rb +0 -54
  595. data/chef/travis-cookbooks/worker_host/ntp/attributes/ntpdate.rb +0 -21
  596. data/chef/travis-cookbooks/worker_host/ntp/chefignore +0 -19
  597. data/chef/travis-cookbooks/worker_host/ntp/files/default/ntp.leapseconds +0 -222
  598. data/chef/travis-cookbooks/worker_host/ntp/metadata.json +0 -117
  599. data/chef/travis-cookbooks/worker_host/ntp/metadata.rb +0 -45
  600. data/chef/travis-cookbooks/worker_host/ntp/recipes/default.rb +0 -50
  601. data/chef/travis-cookbooks/worker_host/ntp/recipes/disable.rb +0 -22
  602. data/chef/travis-cookbooks/worker_host/ntp/recipes/ntpdate.rb +0 -36
  603. data/chef/travis-cookbooks/worker_host/ntp/recipes/undo.rb +0 -36
  604. data/chef/travis-cookbooks/worker_host/ntp/templates/default/ntp.conf.erb +0 -55
  605. data/chef/travis-cookbooks/worker_host/ntp/templates/default/ntpdate.erb +0 -14
  606. data/chef/travis-cookbooks/worker_host/runit/CHANGELOG.md +0 -3
  607. data/chef/travis-cookbooks/worker_host/runit/CONTRIBUTING +0 -29
  608. data/chef/travis-cookbooks/worker_host/runit/LICENSE +0 -201
  609. data/chef/travis-cookbooks/worker_host/runit/README.md +0 -226
  610. data/chef/travis-cookbooks/worker_host/runit/attributes/default.rb +0 -31
  611. data/chef/travis-cookbooks/worker_host/runit/definitions/runit_service.rb +0 -164
  612. data/chef/travis-cookbooks/worker_host/runit/files/default/runit.seed +0 -1
  613. data/chef/travis-cookbooks/worker_host/runit/files/default/runsvdir +0 -0
  614. data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-6.10/runsvdir +0 -6
  615. data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-7.04/runsvdir +0 -7
  616. data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-7.10/runsvdir +0 -7
  617. data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-8.04/runsvdir +0 -7
  618. data/chef/travis-cookbooks/worker_host/runit/metadata.json +0 -102
  619. data/chef/travis-cookbooks/worker_host/runit/metadata.rb +0 -37
  620. data/chef/travis-cookbooks/worker_host/runit/recipes/default.rb +0 -72
  621. data/chef/travis-cookbooks/worker_host/runit/templates/gentoo/runit-start.sh.erb +0 -32
  622. data/chef/travis-cookbooks/worker_host/rvm/attributes/default.rb +0 -20
  623. data/chef/travis-cookbooks/worker_host/rvm/attributes/install.rb +0 -1
  624. data/chef/travis-cookbooks/worker_host/rvm/attributes/ree.rb +0 -1
  625. data/chef/travis-cookbooks/worker_host/rvm/attributes/ruby_187.rb +0 -2
  626. data/chef/travis-cookbooks/worker_host/rvm/attributes/ruby_192.rb +0 -2
  627. data/chef/travis-cookbooks/worker_host/rvm/files/default/rvm.sh +0 -1
  628. data/chef/travis-cookbooks/worker_host/rvm/metadata.rb +0 -27
  629. data/chef/travis-cookbooks/worker_host/rvm/recipes/default.rb +0 -27
  630. data/chef/travis-cookbooks/worker_host/rvm/recipes/install.rb +0 -36
  631. data/chef/travis-cookbooks/worker_host/rvm/recipes/multi.rb +0 -48
  632. data/chef/travis-cookbooks/worker_host/rvm/recipes/ree.rb +0 -6
  633. data/chef/travis-cookbooks/worker_host/rvm/recipes/ruby_187.rb +0 -7
  634. data/chef/travis-cookbooks/worker_host/rvm/recipes/ruby_192.rb +0 -7
  635. data/chef/travis-cookbooks/worker_host/ssh/recipes/sshd.rb +0 -12
  636. data/chef/travis-cookbooks/worker_host/ssh/templates/default/sshd_config.erb +0 -87
  637. data/chef/travis-cookbooks/worker_host/sudo/attributes/sudoers.rb +0 -2
  638. data/chef/travis-cookbooks/worker_host/sudo/recipes/default.rb +0 -14
  639. data/chef/travis-cookbooks/worker_host/sudo/templates/default/sudoers.erb +0 -19
  640. data/chef/travis-cookbooks/worker_host/travis_worker/attributes/default.rb +0 -20
  641. data/chef/travis-cookbooks/worker_host/travis_worker/files/default/signal_wrapper.rb +0 -22
  642. data/chef/travis-cookbooks/worker_host/travis_worker/metadata.rb +0 -6
  643. data/chef/travis-cookbooks/worker_host/travis_worker/recipes/bluebox.rb +0 -97
  644. data/chef/travis-cookbooks/worker_host/travis_worker/recipes/default.rb +0 -140
  645. data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/sv-travis-worker-log-run.erb +0 -2
  646. data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/sv-travis-worker-run.erb +0 -4
  647. data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/travis-worker.monitrc.erb +0 -3
  648. data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/worker-bluebox.yml.erb +0 -21
  649. data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/worker.yml.erb +0 -10
  650. data/chef/travis-cookbooks/worker_host/travis_worker_collectd/metadata.rb +0 -2
  651. data/chef/travis-cookbooks/worker_host/travis_worker_collectd/recipes/bluebox.rb +0 -15
  652. data/chef/travis-cookbooks/worker_host/travis_worker_collectd/recipes/default.rb +0 -12
  653. data/chef/travis-cookbooks/worker_host/users/attributes/default.rb +0 -2
  654. data/chef/travis-cookbooks/worker_host/users/metadata.rb +0 -9
  655. data/chef/travis-cookbooks/worker_host/users/recipes/default.rb +0 -88
  656. data/chef/travis-cookbooks/worker_host/users/templates/default/authorized_keys.pub +0 -4
  657. data/chef/travis-cookbooks/worker_host/vim/README.md +0 -39
  658. data/chef/travis-cookbooks/worker_host/vim/attributes/default.rb +0 -20
  659. data/chef/travis-cookbooks/worker_host/vim/metadata.rb +0 -6
  660. data/chef/travis-cookbooks/worker_host/vim/recipes/default.rb +0 -24
  661. data/chef/travis-cookbooks/worker_host/virtualbox/attributes/default.rb +0 -0
  662. data/chef/travis-cookbooks/worker_host/virtualbox/metadata.rb +0 -11
  663. data/chef/travis-cookbooks/worker_host/virtualbox/recipes/default.rb +0 -13
  664. data/cookbooks/.gitkeep +0 -3
  665. data/lib/lobot/amazon.rb +0 -105
  666. data/lib/lobot/cli.rb +0 -172
  667. data/lib/lobot/config.rb +0 -212
  668. data/lib/lobot/configuration_wizard.rb +0 -117
  669. data/lib/lobot/keychain.rb +0 -36
  670. data/lib/lobot/password.rb +0 -13
  671. data/lib/lobot/sobo.rb +0 -79
  672. data/lib/lobot/templates/default_rails_build_script.sh +0 -13
  673. data/lib/lobot/version.rb +0 -3
  674. data/lobot.gemspec +0 -38
  675. data/script/bootstrap_server.sh +0 -35
  676. data/script/ci_build.sh +0 -13
  677. data/spec/assets/test_cert.crt +0 -18
  678. data/spec/fixtures/ssh_keys/vagrant_test_key +0 -27
  679. data/spec/fixtures/ssh_keys/vagrant_test_key.pub +0 -1
  680. data/spec/lib/lobot/amazon_spec.rb +0 -168
  681. data/spec/lib/lobot/cli_spec.rb +0 -281
  682. data/spec/lib/lobot/config_spec.rb +0 -297
  683. data/spec/lib/lobot/configuration_wizard_spec.rb +0 -347
  684. data/spec/lib/lobot/keychain_spec.rb +0 -33
  685. data/spec/lib/lobot/password_spec.rb +0 -15
  686. data/spec/spec_helper.rb +0 -24
  687. data/templates/Gemfile-remote +0 -4
@@ -1,60 +0,0 @@
1
- #!/bin/sh
2
-
3
- # Licensed to the Apache Software Foundation (ASF) under one
4
- # or more contributor license agreements. See the NOTICE file
5
- # distributed with this work for additional information
6
- # regarding copyright ownership. The ASF licenses this file
7
- # to you under the Apache License, Version 2.0 (the
8
- # "License"); you may not use this file except in compliance
9
- # with the License. You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
-
19
- for j in <%= node.cassandra.lib_dir %>/*.jar; do
20
- [ "x$CLASSPATH" = "x" ] && CLASSPATH=$j || CLASSPATH=$CLASSPATH:$j
21
- done
22
- for j in /usr/share/$NAME/*.jar; do
23
- [ "x$CLASSPATH" = "x" ] && CLASSPATH=$j || CLASSPATH=$CLASSPATH:$j
24
- done
25
-
26
- # use JNA if installed in standard location
27
- [ -r /usr/share/java/jna.jar ] && cp="$cp:/usr/share/java/jna.jar"
28
-
29
- if [ "x$CASSANDRA_INCLUDE" = "x" ]; then
30
- for include in /usr/share/cassandra/cassandra.in.sh \
31
- /usr/local/share/cassandra/cassandra.in.sh \
32
- /opt/cassandra/cassandra.in.sh \
33
- ~/.cassandra.in.sh \
34
- `dirname $0`/cassandra.in.sh; do
35
- if [ -r $include ]; then
36
- . $include
37
- break
38
- fi
39
- done
40
- elif [ -r $CASSANDRA_INCLUDE ]; then
41
- . $CASSANDRA_INCLUDE
42
- fi
43
-
44
- # Use JAVA_HOME if set, otherwise look for java in PATH
45
- if [ -x $JAVA_HOME/bin/java ]; then
46
- JAVA=$JAVA_HOME/bin/java
47
- else
48
- JAVA=`which java`
49
- fi
50
-
51
- if [ -z $CLASSPATH ]; then
52
- echo "You must set the CLASSPATH var" >&2
53
- exit 1
54
- fi
55
-
56
- $JAVA -ea -cp $CLASSPATH -Xmx256M \
57
- -Dlog4j.configuration=log4j-tools.properties \
58
- org.apache.cassandra.cli.CliMain "$@"
59
-
60
- # vi:ai sw=4 ts=4 tw=0 et
@@ -1,159 +0,0 @@
1
- # Licensed to the Apache Software Foundation (ASF) under one
2
- # or more contributor license agreements. See the NOTICE file
3
- # distributed with this work for additional information
4
- # regarding copyright ownership. The ASF licenses this file
5
- # to you under the Apache License, Version 2.0 (the
6
- # "License"); you may not use this file except in compliance
7
- # with the License. You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- # Determine the sort of JVM we'll be running on.
18
-
19
- java_ver_output=`"${JAVA:-java}" -version 2>&1`
20
-
21
- jvmver=`echo "$java_ver_output" | awk -F'"' 'NR==1 {print $2}'`
22
- JVM_VERSION=${jvmver%_*}
23
- JVM_PATCH_VERSION=${jvmver#*_}
24
-
25
- jvm=`echo "$java_ver_output" | awk 'NR==2 {print $1}'`
26
- case "$jvm" in
27
- OpenJDK)
28
- JVM_VENDOR=OpenJDK
29
- # this will be "64-Bit" or "32-Bit"
30
- JVM_ARCH=`echo "$java_ver_output" | awk 'NR==3 {print $2}'`
31
- ;;
32
- "Java(TM)")
33
- JVM_VENDOR=Oracle
34
- # this will be "64-Bit" or "32-Bit"
35
- JVM_ARCH=`echo "$java_ver_output" | awk 'NR==3 {print $3}'`
36
- ;;
37
- *)
38
- # Help fill in other JVM values
39
- JVM_VENDOR=other
40
- JVM_ARCH=unknown
41
- ;;
42
- esac
43
-
44
-
45
- # Override these to set the amount of memory to allocate to the JVM at
46
- # start-up. For production use you almost certainly want to adjust
47
- # this for your environment. MAX_HEAP_SIZE is the total amount of
48
- # memory dedicated to the Java heap; HEAP_NEWSIZE refers to the size
49
- # of the young generation. Both MAX_HEAP_SIZE and HEAP_NEWSIZE should
50
- # be either set or not (if you set one, set the other).
51
- #
52
- # The main trade-off for the young generation is that the larger it
53
- # is, the longer GC pause times will be. The shorter it is, the more
54
- # expensive GC will be (usually).
55
- #
56
- # The example HEAP_NEWSIZE assumes a modern 8-core+ machine for decent pause
57
- # times. If in doubt, and if you do not particularly want to tweak, go with
58
- # 100 MB per physical CPU core.
59
-
60
- MAX_HEAP_SIZE="256M"
61
- HEAP_NEWSIZE="128M"
62
-
63
- # Specifies the default port over which Cassandra will be available for
64
- # JMX connections.
65
- JMX_PORT="7199"
66
-
67
-
68
- # Here we create the arguments that will get passed to the jvm when
69
- # starting cassandra.
70
-
71
- # enable assertions. disabling this in production will give a modest
72
- # performance benefit (around 5%).
73
- JVM_OPTS="$JVM_OPTS -ea"
74
-
75
- # add the jamm javaagent
76
- if [ "$JVM_VENDOR" != "OpenJDK" -o "$JVM_VERSION" \> "1.6.0" ] \
77
- || [ "$JVM_VERSION" = "1.6.0" -a "$JVM_PATCH_VERSION" -ge 23 ]
78
- then
79
- JVM_OPTS="$JVM_OPTS -javaagent:$CASSANDRA_HOME/lib/jamm-0.2.5.jar"
80
- fi
81
-
82
- # enable thread priorities, primarily so we can give periodic tasks
83
- # a lower priority to avoid interfering with client workload
84
- JVM_OPTS="$JVM_OPTS -XX:+UseThreadPriorities"
85
- # allows lowering thread priority without being root. see
86
- # http://tech.stolsvik.com/2010/01/linux-java-thread-priorities-workaround.html
87
- JVM_OPTS="$JVM_OPTS -XX:ThreadPriorityPolicy=42"
88
-
89
- # min and max heap sizes should be set to the same value to avoid
90
- # stop-the-world GC pauses during resize, and so that we can lock the
91
- # heap in memory on startup to prevent any of it from being swapped
92
- # out.
93
- JVM_OPTS="$JVM_OPTS -Xms${MAX_HEAP_SIZE}"
94
- JVM_OPTS="$JVM_OPTS -Xmx${MAX_HEAP_SIZE}"
95
- JVM_OPTS="$JVM_OPTS -Xmn${HEAP_NEWSIZE}"
96
- JVM_OPTS="$JVM_OPTS -XX:+HeapDumpOnOutOfMemoryError"
97
-
98
- # set jvm HeapDumpPath with CASSANDRA_HEAPDUMP_DIR
99
- if [ "x$CASSANDRA_HEAPDUMP_DIR" != "x" ]; then
100
- JVM_OPTS="$JVM_OPTS -XX:HeapDumpPath=$CASSANDRA_HEAPDUMP_DIR/cassandra-`date +%s`-pid$$.hprof"
101
- fi
102
-
103
-
104
- startswith () [ "${1#$2}" != "$1" ]
105
-
106
- if [ "`uname`" = "Linux" ] ; then
107
- # reduce the per-thread stack size to minimize the impact of Thrift
108
- # thread-per-client. (Best practice is for client connections to
109
- # be pooled anyway.) Only do so on Linux where it is known to be
110
- # supported.
111
- if startswith "$JVM_VERSION" '1.7.'
112
- then
113
- JVM_OPTS="$JVM_OPTS -Xss160k"
114
- else
115
- JVM_OPTS="$JVM_OPTS -Xss128k"
116
- fi
117
- fi
118
- echo "xss = $JVM_OPTS"
119
-
120
- # GC tuning options
121
- JVM_OPTS="$JVM_OPTS -XX:+UseParNewGC"
122
- JVM_OPTS="$JVM_OPTS -XX:+UseConcMarkSweepGC"
123
- JVM_OPTS="$JVM_OPTS -XX:+CMSParallelRemarkEnabled"
124
- JVM_OPTS="$JVM_OPTS -XX:SurvivorRatio=8"
125
- JVM_OPTS="$JVM_OPTS -XX:MaxTenuringThreshold=1"
126
- JVM_OPTS="$JVM_OPTS -XX:CMSInitiatingOccupancyFraction=75"
127
- JVM_OPTS="$JVM_OPTS -XX:+UseCMSInitiatingOccupancyOnly"
128
-
129
- # GC logging options -- uncomment to enable
130
- # JVM_OPTS="$JVM_OPTS -XX:+PrintGCDetails"
131
- # JVM_OPTS="$JVM_OPTS -XX:+PrintGCDateStamps"
132
- # JVM_OPTS="$JVM_OPTS -XX:+PrintHeapAtGC"
133
- # JVM_OPTS="$JVM_OPTS -XX:+PrintTenuringDistribution"
134
- # JVM_OPTS="$JVM_OPTS -XX:+PrintGCApplicationStoppedTime"
135
- # JVM_OPTS="$JVM_OPTS -XX:+PrintPromotionFailure"
136
- # JVM_OPTS="$JVM_OPTS -XX:PrintFLSStatistics=1"
137
- # JVM_OPTS="$JVM_OPTS -Xloggc:/var/log/cassandra/gc-`date +%s`.log"
138
-
139
- # uncomment to have Cassandra JVM listen for remote debuggers/profilers on port 1414
140
- # JVM_OPTS="$JVM_OPTS -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1414"
141
-
142
- # Prefer binding to IPv4 network intefaces (when net.ipv6.bindv6only=1). See
143
- # http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6342561 (short version:
144
- # comment out this entry to enable IPv6 support).
145
- JVM_OPTS="$JVM_OPTS -Djava.net.preferIPv4Stack=true"
146
-
147
- # jmx: metrics and administration interface
148
- #
149
- # add this if you're having trouble connecting:
150
- # JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=<public name>"
151
- #
152
- # see
153
- # https://blogs.oracle.com/jmxetc/entry/troubleshooting_connection_problems_in_jconsole
154
- # for more on configuring JMX through firewalls, etc. (Short version:
155
- # get it working with no firewall first.)
156
- JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.port=$JMX_PORT"
157
- JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl=false"
158
- JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
159
- JVM_OPTS="$JVM_OPTS $JVM_EXTRA_OPTS"
@@ -1,2 +0,0 @@
1
- <%= node.cassandra.user %> - nofile <%= node.cassandra.limits.nofile %>
2
- <%= node.cassandra.user %> - memlock <%= node.cassandra.limits.memlock %>
@@ -1,158 +0,0 @@
1
- #! /bin/sh
2
-
3
- ### BEGIN INIT INFO
4
- # Provides: cassandra
5
- # Required-Start: $remote_fs $network $named $time
6
- # Required-Stop: $remote_fs $network $named $time
7
- # Should-Start: ntp mdadm
8
- # Should-Stop: ntp mdadm
9
- # Default-Start: 2 3 4 5
10
- # Default-Stop: 0 1 6
11
- # Short-Description: distributed storage system for structured data
12
- # Description: Cassandra is a distributed (peer-to-peer) system for
13
- # the management and storage of structured data.
14
- ### END INIT INFO
15
-
16
- DESC="Cassandra"
17
- NAME=cassandra
18
- PIDFILE=/var/run/$NAME.pid
19
- SCRIPTNAME=/etc/init.d/$NAME
20
- CASSANDRA_HOME=<%= node.cassandra.installation_dir %>
21
- CASSANDRA_CONF=<%= node.cassandra.conf_dir %>
22
- USER=<%= node.cassandra.user %>
23
- GROUP=<%= node.cassandra.user %>
24
- WAIT_FOR_START=10
25
- FD_LIMIT=100000
26
-
27
- [ -e $CASSANDRA_HOME/lib/apache-cassandra-<%= node.cassandra.version %>.jar ] || exit 0
28
- [ -e $CASSANDRA_CONF/cassandra.yaml ] || exit 0
29
- [ -e $CASSANDRA_CONF/cassandra-env.sh ] || exit 0
30
-
31
- # Read configuration variable file if it is present
32
- [ -r /etc/default/$NAME ] && . /etc/default/$NAME
33
-
34
- # Load the VERBOSE setting and other rcS variables
35
- . /lib/init/vars.sh
36
-
37
- # Define LSB log_* functions.
38
- # Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
39
- . /lib/lsb/init-functions
40
-
41
- # Return
42
- # 0 if daemon is running
43
- # 1 if daemon is not running
44
- is_running()
45
- {
46
- [ -f $PIDFILE -a -d /proc/$(cat $PIDFILE) ] && return 0
47
- return 1
48
- }
49
-
50
- # Return
51
- # 0 if daemon has been started
52
- # 1 if daemon was already running
53
- # 2 if daemon could not be started
54
- do_start()
55
- {
56
- is_running && return 1
57
-
58
- ulimit -l unlimited
59
- ulimit -n "$FD_LIMIT"
60
-
61
- touch $PIDFILE
62
- chown $USER:$GROUP $PIDFILE
63
-
64
- start-stop-daemon --start \
65
- --quiet \
66
- --oknodo \
67
- --chdir / \
68
- --oknodo \
69
- --chuid $USER:$GROUP \
70
- --exec /bin/bash \
71
- --pidfile $PIDFILE \
72
- -- -c "$CASSANDRA_HOME/bin/cassandra -p $PIDFILE > /dev/null 2>&1"
73
-
74
- is_running && return 0
75
-
76
- for tries in `seq $WAIT_FOR_START`; do
77
- sleep 1
78
- is_running && return 0
79
- done
80
-
81
- return 2
82
- }
83
-
84
- # Returns
85
- # 0 if daemon has been stopped
86
- # 1 if daemon was already stopped
87
- # 2 if daemon could not be stopped
88
- # other if a failure occurred
89
- do_stop()
90
- {
91
- is_running || return 1
92
-
93
- start-stop-daemon --stop \
94
- --pidfile $PIDFILE \
95
- --user $USER \
96
- --retry TERM/30/KILL/5
97
-
98
- is_running && return 2
99
-
100
- return 0
101
- }
102
-
103
- case "$1" in
104
- start)
105
- echo "Starting $DESC"
106
- [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
107
- do_start
108
- case "$?" in
109
- 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
110
- 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
111
- esac
112
- ;;
113
- stop)
114
- echo "Stopping $DESC"
115
- [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
116
- do_stop
117
- case "$?" in
118
- 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
119
- 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
120
- esac
121
- ;;
122
- restart|force-reload)
123
- echo "Restarting $DESC"
124
- log_daemon_msg "Restarting $DESC" "$NAME"
125
- do_stop
126
- case "$?" in
127
- 0|1)
128
- do_start
129
- case "$?" in
130
- 0) log_end_msg 0 ;;
131
- 1) log_end_msg 1 ;; # Old process is still running
132
- *) log_end_msg 1 ;; # Failed to start
133
- esac
134
- ;;
135
- *)
136
- # Failed to stop
137
- log_end_msg 1
138
- ;;
139
- esac
140
- ;;
141
- status)
142
- is_running
143
- stat=$?
144
- case "$stat" in
145
- 0) log_success_msg "$DESC is running" ;;
146
- *) log_success_msg "$DESC is not running" ;;
147
- esac
148
- exit "$stat"
149
- ;;
150
- *)
151
- echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2
152
- exit 3
153
- ;;
154
- esac
155
-
156
- :
157
-
158
- # vi:ai sw=4 ts=4 tw=0 et
@@ -1,567 +0,0 @@
1
- # Cassandra storage config YAML
2
-
3
- # NOTE:
4
- # See http://wiki.apache.org/cassandra/StorageConfiguration for
5
- # full explanations of configuration directives
6
- # /NOTE
7
-
8
- # The name of the cluster. This is mainly used to prevent machines in
9
- # one logical cluster from joining another.
10
- cluster_name: 'Test Cluster'
11
-
12
- # You should always specify InitialToken when setting up a production
13
- # cluster for the first time, and often when adding capacity later.
14
- # The principle is that each node should be given an equal slice of
15
- # the token ring; see http://wiki.apache.org/cassandra/Operations
16
- # for more details.
17
- #
18
- # If blank, Cassandra will request a token bisecting the range of
19
- # the heaviest-loaded existing node. If there is no load information
20
- # available, such as is the case with a new cluster, it will pick
21
- # a random token, which will lead to hot spots.
22
- initial_token:
23
-
24
- # See http://wiki.apache.org/cassandra/HintedHandoff
25
- hinted_handoff_enabled: true
26
- # this defines the maximum amount of time a dead host will have hints
27
- # generated. After it has been dead this long, hints will be dropped.
28
- max_hint_window_in_ms: 3600000 # one hour
29
- # Sleep this long after delivering each hint
30
- hinted_handoff_throttle_delay_in_ms: 1
31
-
32
- # The following setting populates the page cache on memtable flush and compaction
33
- # WARNING: Enable this setting only when the whole node's data fits in memory.
34
- # Defaults to: false
35
- # populate_io_cache_on_flush: false
36
-
37
- # authentication backend, implementing IAuthenticator; used to identify users
38
- authenticator: org.apache.cassandra.auth.AllowAllAuthenticator
39
-
40
- # authorization backend, implementing IAuthority; used to limit access/provide permissions
41
- authority: org.apache.cassandra.auth.AllowAllAuthority
42
-
43
- # The partitioner is responsible for distributing rows (by key) across
44
- # nodes in the cluster. Any IPartitioner may be used, including your
45
- # own as long as it is on the classpath. Out of the box, Cassandra
46
- # provides org.apache.cassandra.dht.RandomPartitioner
47
- # org.apache.cassandra.dht.ByteOrderedPartitioner,
48
- # org.apache.cassandra.dht.OrderPreservingPartitioner (deprecated),
49
- # and org.apache.cassandra.dht.CollatingOrderPreservingPartitioner
50
- # (deprecated).
51
- #
52
- # - RandomPartitioner distributes rows across the cluster evenly by md5.
53
- # When in doubt, this is the best option.
54
- # - ByteOrderedPartitioner orders rows lexically by key bytes. BOP allows
55
- # scanning rows in key order, but the ordering can generate hot spots
56
- # for sequential insertion workloads.
57
- # - OrderPreservingPartitioner is an obsolete form of BOP, that stores
58
- # - keys in a less-efficient format and only works with keys that are
59
- # UTF8-encoded Strings.
60
- # - CollatingOPP colates according to EN,US rules rather than lexical byte
61
- # ordering. Use this as an example if you need custom collation.
62
- #
63
- # See http://wiki.apache.org/cassandra/Operations for more on
64
- # partitioners and token selection.
65
- partitioner: org.apache.cassandra.dht.RandomPartitioner
66
-
67
- # directories where Cassandra should store data on disk.
68
- data_file_directories:
69
- - <%= File.join(node.cassandra.data_root_dir, 'data') %>
70
-
71
- # commit log
72
- commitlog_directory: <%= File.join(node.cassandra.data_root_dir, 'commitlog') %>
73
-
74
- # Maximum size of the key cache in memory.
75
- #
76
- # Each key cache hit saves 1 seek and each row cache hit saves 2 seeks at the
77
- # minimum, sometimes more. The key cache is fairly tiny for the amount of
78
- # time it saves, so it's worthwhile to use it at large numbers.
79
- # The row cache saves even more time, but must store the whole values of
80
- # its rows, so it is extremely space-intensive. It's best to only use the
81
- # row cache if you have hot rows or static rows.
82
- #
83
- # NOTE: if you reduce the size, you may not get you hottest keys loaded on startup.
84
- #
85
- # Default value is empty to make it "auto" (min(5% of Heap (in MB), 100MB)). Set to 0 to disable key cache.
86
- key_cache_size_in_mb:
87
-
88
- # Duration in seconds after which Cassandra should
89
- # safe the keys cache. Caches are saved to saved_caches_directory as
90
- # specified in this configuration file.
91
- #
92
- # Saved caches greatly improve cold-start speeds, and is relatively cheap in
93
- # terms of I/O for the key cache. Row cache saving is much more expensive and
94
- # has limited use.
95
- #
96
- # Default is 14400 or 4 hours.
97
- key_cache_save_period: 14400
98
-
99
- # Number of keys from the key cache to save
100
- # Disabled by default, meaning all keys are going to be saved
101
- # key_cache_keys_to_save: 100
102
-
103
- # Maximum size of the row cache in memory.
104
- # NOTE: if you reduce the size, you may not get you hottest keys loaded on startup.
105
- #
106
- # Default value is 0, to disable row caching.
107
- row_cache_size_in_mb: 0
108
-
109
- # Duration in seconds after which Cassandra should
110
- # safe the row cache. Caches are saved to saved_caches_directory as specified
111
- # in this configuration file.
112
- #
113
- # Saved caches greatly improve cold-start speeds, and is relatively cheap in
114
- # terms of I/O for the key cache. Row cache saving is much more expensive and
115
- # has limited use.
116
- #
117
- # Default is 0 to disable saving the row cache.
118
- row_cache_save_period: 0
119
-
120
- # Number of keys from the row cache to save
121
- # Disabled by default, meaning all keys are going to be saved
122
- # row_cache_keys_to_save: 100
123
-
124
- # The provider for the row cache to use.
125
- #
126
- # Supported values are: ConcurrentLinkedHashCacheProvider, SerializingCacheProvider
127
- #
128
- # SerializingCacheProvider serialises the contents of the row and stores
129
- # it in native memory, i.e., off the JVM Heap. Serialized rows take
130
- # significantly less memory than "live" rows in the JVM, so you can cache
131
- # more rows in a given memory footprint. And storing the cache off-heap
132
- # means you can use smaller heap sizes, reducing the impact of GC pauses.
133
- #
134
- # It is also valid to specify the fully-qualified class name to a class
135
- # that implements org.apache.cassandra.cache.IRowCacheProvider.
136
- #
137
- # Defaults to SerializingCacheProvider
138
- row_cache_provider: SerializingCacheProvider
139
-
140
- # saved caches
141
- saved_caches_directory: <%= File.join(node.cassandra.data_root_dir, 'saved_caches') %>
142
-
143
- # commitlog_sync may be either "periodic" or "batch."
144
- # When in batch mode, Cassandra won't ack writes until the commit log
145
- # has been fsynced to disk. It will wait up to
146
- # commitlog_sync_batch_window_in_ms milliseconds for other writes, before
147
- # performing the sync.
148
- #
149
- # commitlog_sync: batch
150
- # commitlog_sync_batch_window_in_ms: 50
151
- #
152
- # the other option is "periodic" where writes may be acked immediately
153
- # and the CommitLog is simply synced every commitlog_sync_period_in_ms
154
- # milliseconds.
155
- commitlog_sync: periodic
156
- commitlog_sync_period_in_ms: 10000
157
-
158
- # The size of the individual commitlog file segments. A commitlog
159
- # segment may be archived, deleted, or recycled once all the data
160
- # in it (potentally from each columnfamily in the system) has been
161
- # flushed to sstables.
162
- #
163
- # The default size is 32, which is almost always fine, but if you are
164
- # archiving commitlog segments (see commitlog_archiving.properties),
165
- # then you probably want a finer granularity of archiving; 8 or 16 MB
166
- # is reasonable.
167
- commitlog_segment_size_in_mb: 32
168
-
169
- # any class that implements the SeedProvider interface and has a
170
- # constructor that takes a Map<String, String> of parameters will do.
171
- seed_provider:
172
- # Addresses of hosts that are deemed contact points.
173
- # Cassandra nodes use this list of hosts to find each other and learn
174
- # the topology of the ring. You must change this if you are running
175
- # multiple nodes!
176
- - class_name: org.apache.cassandra.locator.SimpleSeedProvider
177
- parameters:
178
- # seeds is actually a comma-delimited list of addresses.
179
- # Ex: "<ip1>,<ip2>,<ip3>"
180
- - seeds: "127.0.0.1"
181
-
182
- # emergency pressure valve: each time heap usage after a full (CMS)
183
- # garbage collection is above this fraction of the max, Cassandra will
184
- # flush the largest memtables.
185
- #
186
- # Set to 1.0 to disable. Setting this lower than
187
- # CMSInitiatingOccupancyFraction is not likely to be useful.
188
- #
189
- # RELYING ON THIS AS YOUR PRIMARY TUNING MECHANISM WILL WORK POORLY:
190
- # it is most effective under light to moderate load, or read-heavy
191
- # workloads; under truly massive write load, it will often be too
192
- # little, too late.
193
- flush_largest_memtables_at: 0.75
194
-
195
- # emergency pressure valve #2: the first time heap usage after a full
196
- # (CMS) garbage collection is above this fraction of the max,
197
- # Cassandra will reduce cache maximum _capacity_ to the given fraction
198
- # of the current _size_. Should usually be set substantially above
199
- # flush_largest_memtables_at, since that will have less long-term
200
- # impact on the system.
201
- #
202
- # Set to 1.0 to disable. Setting this lower than
203
- # CMSInitiatingOccupancyFraction is not likely to be useful.
204
- reduce_cache_sizes_at: 0.85
205
- reduce_cache_capacity_to: 0.6
206
-
207
- # For workloads with more data than can fit in memory, Cassandra's
208
- # bottleneck will be reads that need to fetch data from
209
- # disk. "concurrent_reads" should be set to (16 * number_of_drives) in
210
- # order to allow the operations to enqueue low enough in the stack
211
- # that the OS and drives can reorder them.
212
- #
213
- # On the other hand, since writes are almost never IO bound, the ideal
214
- # number of "concurrent_writes" is dependent on the number of cores in
215
- # your system; (8 * number_of_cores) is a good rule of thumb.
216
- concurrent_reads: 32
217
- concurrent_writes: 32
218
-
219
- # Total memory to use for memtables. Cassandra will flush the largest
220
- # memtable when this much memory is used.
221
- # If omitted, Cassandra will set it to 1/3 of the heap.
222
- # memtable_total_space_in_mb: 2048
223
-
224
- # Total space to use for commitlogs. Since commitlog segments are
225
- # mmapped, and hence use up address space, the default size is 32
226
- # on 32-bit JVMs, and 1024 on 64-bit JVMs.
227
- #
228
- # If space gets above this value (it will round up to the next nearest
229
- # segment multiple), Cassandra will flush every dirty CF in the oldest
230
- # segment and remove it. So a small total commitlog space will tend
231
- # to cause more flush activity on less-active columnfamilies.
232
- # commitlog_total_space_in_mb: 4096
233
-
234
- # This sets the amount of memtable flush writer threads. These will
235
- # be blocked by disk io, and each one will hold a memtable in memory
236
- # while blocked. If you have a large heap and many data directories,
237
- # you can increase this value for better flush performance.
238
- # By default this will be set to the amount of data directories defined.
239
- #memtable_flush_writers: 1
240
-
241
- # the number of full memtables to allow pending flush, that is,
242
- # waiting for a writer thread. At a minimum, this should be set to
243
- # the maximum number of secondary indexes created on a single CF.
244
- memtable_flush_queue_size: 4
245
-
246
- # Whether to, when doing sequential writing, fsync() at intervals in
247
- # order to force the operating system to flush the dirty
248
- # buffers. Enable this to avoid sudden dirty buffer flushing from
249
- # impacting read latencies. Almost always a good idea on SSD:s; not
250
- # necessarily on platters.
251
- trickle_fsync: false
252
- trickle_fsync_interval_in_kb: 10240
253
-
254
- # TCP port, for commands and data
255
- storage_port: 7000
256
-
257
- # SSL port, for encrypted communication. Unused unless enabled in
258
- # encryption_options
259
- ssl_storage_port: 7001
260
-
261
- # Address to bind to and tell other Cassandra nodes to connect to. You
262
- # _must_ change this if you want multiple nodes to be able to
263
- # communicate!
264
- #
265
- # Leaving it blank leaves it up to InetAddress.getLocalHost(). This
266
- # will always do the Right Thing *if* the node is properly configured
267
- # (hostname, name resolution, etc), and the Right Thing is to use the
268
- # address associated with the hostname (it might not be).
269
- #
270
- # Setting this to 0.0.0.0 is always wrong.
271
- listen_address: localhost
272
-
273
- # Address to broadcast to other Cassandra nodes
274
- # Leaving this blank will set it to the same value as listen_address
275
- # broadcast_address: 1.2.3.4
276
-
277
- # The address to bind the Thrift RPC service to -- clients connect
278
- # here. Unlike ListenAddress above, you *can* specify 0.0.0.0 here if
279
- # you want Thrift to listen on all interfaces.
280
- #
281
- # Leaving this blank has the same effect it does for ListenAddress,
282
- # (i.e. it will be based on the configured hostname of the node).
283
- rpc_address: localhost
284
- # port for Thrift to listen for clients on
285
- rpc_port: 9160
286
-
287
- # enable or disable keepalive on rpc connections
288
- rpc_keepalive: true
289
-
290
- # Cassandra provides three options for the RPC Server:
291
- #
292
- # sync -> One connection per thread in the rpc pool (see below).
293
- # For a very large number of clients, memory will be your limiting
294
- # factor; on a 64 bit JVM, 128KB is the minimum stack size per thread.
295
- # Connection pooling is very, very strongly recommended.
296
- #
297
- # async -> Nonblocking server implementation with one thread to serve
298
- # rpc connections. This is not recommended for high throughput use
299
- # cases. Async has been tested to be about 50% slower than sync
300
- # or hsha and is deprecated: it will be removed in the next major release.
301
- #
302
- # hsha -> Stands for "half synchronous, half asynchronous." The rpc thread pool
303
- # (see below) is used to manage requests, but the threads are multiplexed
304
- # across the different clients.
305
- #
306
- # The default is sync because on Windows hsha is about 30% slower. On Linux,
307
- # sync/hsha performance is about the same, with hsha of course using less memory.
308
- rpc_server_type: sync
309
-
310
- # Uncomment rpc_min|max|thread to set request pool size.
311
- # You would primarily set max for the sync server to safeguard against
312
- # misbehaved clients; if you do hit the max, Cassandra will block until one
313
- # disconnects before accepting more. The defaults for sync are min of 16 and max
314
- # unlimited.
315
- #
316
- # For the Hsha server, the min and max both default to quadruple the number of
317
- # CPU cores.
318
- #
319
- # This configuration is ignored by the async server.
320
- #
321
- # rpc_min_threads: 16
322
- # rpc_max_threads: 2048
323
-
324
- # uncomment to set socket buffer sizes on rpc connections
325
- # rpc_send_buff_size_in_bytes:
326
- # rpc_recv_buff_size_in_bytes:
327
-
328
- # Frame size for thrift (maximum field length).
329
- # 0 disables TFramedTransport in favor of TSocket. This option
330
- # is deprecated; we strongly recommend using Framed mode.
331
- thrift_framed_transport_size_in_mb: 15
332
-
333
- # The max length of a thrift message, including all fields and
334
- # internal thrift overhead.
335
- thrift_max_message_length_in_mb: 16
336
-
337
- # Set to true to have Cassandra create a hard link to each sstable
338
- # flushed or streamed locally in a backups/ subdirectory of the
339
- # Keyspace data. Removing these links is the operator's
340
- # responsibility.
341
- incremental_backups: false
342
-
343
- # Whether or not to take a snapshot before each compaction. Be
344
- # careful using this option, since Cassandra won't clean up the
345
- # snapshots for you. Mostly useful if you're paranoid when there
346
- # is a data format change.
347
- snapshot_before_compaction: false
348
-
349
- # Whether or not a snapshot is taken of the data before keyspace truncation
350
- # or dropping of column families. The STRONGLY advised default of true
351
- # should be used to provide data safety. If you set this flag to false, you will
352
- # lose data on truncation or drop.
353
- auto_snapshot: true
354
-
355
- # Add column indexes to a row after its contents reach this size.
356
- # Increase if your column values are large, or if you have a very large
357
- # number of columns. The competing causes are, Cassandra has to
358
- # deserialize this much of the row to read a single column, so you want
359
- # it to be small - at least if you do many partial-row reads - but all
360
- # the index data is read for each access, so you don't want to generate
361
- # that wastefully either.
362
- column_index_size_in_kb: 64
363
-
364
- # Size limit for rows being compacted in memory. Larger rows will spill
365
- # over to disk and use a slower two-pass compaction process. A message
366
- # will be logged specifying the row key.
367
- in_memory_compaction_limit_in_mb: 64
368
-
369
- # Number of simultaneous compactions to allow, NOT including
370
- # validation "compactions" for anti-entropy repair. Simultaneous
371
- # compactions can help preserve read performance in a mixed read/write
372
- # workload, by mitigating the tendency of small sstables to accumulate
373
- # during a single long running compactions. The default is usually
374
- # fine and if you experience problems with compaction running too
375
- # slowly or too fast, you should look at
376
- # compaction_throughput_mb_per_sec first.
377
- #
378
- # This setting has no effect on LeveledCompactionStrategy.
379
- #
380
- # concurrent_compactors defaults to the number of cores.
381
- # Uncomment to make compaction mono-threaded, the pre-0.8 default.
382
- #concurrent_compactors: 1
383
-
384
- # Multi-threaded compaction. When enabled, each compaction will use
385
- # up to one thread per core, plus one thread per sstable being merged.
386
- # This is usually only useful for SSD-based hardware: otherwise,
387
- # your concern is usually to get compaction to do LESS i/o (see:
388
- # compaction_throughput_mb_per_sec), not more.
389
- multithreaded_compaction: false
390
-
391
- # Throttles compaction to the given total throughput across the entire
392
- # system. The faster you insert data, the faster you need to compact in
393
- # order to keep the sstable count down, but in general, setting this to
394
- # 16 to 32 times the rate you are inserting data is more than sufficient.
395
- # Setting this to 0 disables throttling. Note that this account for all types
396
- # of compaction, including validation compaction.
397
- compaction_throughput_mb_per_sec: 16
398
-
399
- # Track cached row keys during compaction, and re-cache their new
400
- # positions in the compacted sstable. Disable if you use really large
401
- # key caches.
402
- compaction_preheat_key_cache: true
403
-
404
- # Throttles all outbound streaming file transfers on this node to the
405
- # given total throughput in Mbps. This is necessary because Cassandra does
406
- # mostly sequential IO when streaming data during bootstrap or repair, which
407
- # can lead to saturating the network connection and degrading rpc performance.
408
- # When unset, the default is 400 Mbps or 50 MB/s.
409
- # stream_throughput_outbound_megabits_per_sec: 400
410
-
411
- # Time to wait for a reply from other nodes before failing the command
412
- rpc_timeout_in_ms: 10000
413
-
414
- # Enable socket timeout for streaming operation.
415
- # When a timeout occurs during streaming, streaming is retried from the start
416
- # of the current file. This *can* involve re-streaming an important amount of
417
- # data, so you should avoid setting the value too low.
418
- # Default value is 0, which never timeout streams.
419
- # streaming_socket_timeout_in_ms: 0
420
-
421
- # phi value that must be reached for a host to be marked down.
422
- # most users should never need to adjust this.
423
- # phi_convict_threshold: 8
424
-
425
- # endpoint_snitch -- Set this to a class that implements
426
- # IEndpointSnitch. The snitch has two functions:
427
- # - it teaches Cassandra enough about your network topology to route
428
- # requests efficiently
429
- # - it allows Cassandra to spread replicas around your cluster to avoid
430
- # correlated failures. It does this by grouping machines into
431
- # "datacenters" and "racks." Cassandra will do its best not to have
432
- # more than one replica on the same "rack" (which may not actually
433
- # be a physical location)
434
- #
435
- # IF YOU CHANGE THE SNITCH AFTER DATA IS INSERTED INTO THE CLUSTER,
436
- # YOU MUST RUN A FULL REPAIR, SINCE THE SNITCH AFFECTS WHERE REPLICAS
437
- # ARE PLACED.
438
- #
439
- # Out of the box, Cassandra provides
440
- # - SimpleSnitch:
441
- # Treats Strategy order as proximity. This improves cache locality
442
- # when disabling read repair, which can further improve throughput.
443
- # Only appropriate for single-datacenter deployments.
444
- # - PropertyFileSnitch:
445
- # Proximity is determined by rack and data center, which are
446
- # explicitly configured in cassandra-topology.properties.
447
- # - GossipingPropertyFileSnitch
448
- # The rack and datacenter for the local node are defined in
449
- # cassandra-rackdc.properties and propagated to other nodes via gossip. If
450
- # cassandra-topology.properties exists, it is used as a fallback, allowing
451
- # migration from the PropertyFileSnitch.
452
- # - RackInferringSnitch:
453
- # Proximity is determined by rack and data center, which are
454
- # assumed to correspond to the 3rd and 2nd octet of each node's
455
- # IP address, respectively. Unless this happens to match your
456
- # deployment conventions (as it did Facebook's), this is best used
457
- # as an example of writing a custom Snitch class.
458
- # - Ec2Snitch:
459
- # Appropriate for EC2 deployments in a single Region. Loads Region
460
- # and Availability Zone information from the EC2 API. The Region is
461
- # treated as the Datacenter, and the Availability Zone as the rack.
462
- # Only private IPs are used, so this will not work across multiple
463
- # Regions.
464
- # - Ec2MultiRegionSnitch:
465
- # Uses public IPs as broadcast_address to allow cross-region
466
- # connectivity. (Thus, you should set seed addresses to the public
467
- # IP as well.) You will need to open the storage_port or
468
- # ssl_storage_port on the public IP firewall. (For intra-Region
469
- # traffic, Cassandra will switch to the private IP after
470
- # establishing a connection.)
471
- #
472
- # You can use a custom Snitch by setting this to the full class name
473
- # of the snitch, which will be assumed to be on your classpath.
474
- endpoint_snitch: SimpleSnitch
475
-
476
- # controls how often to perform the more expensive part of host score
477
- # calculation
478
- dynamic_snitch_update_interval_in_ms: 100
479
- # controls how often to reset all host scores, allowing a bad host to
480
- # possibly recover
481
- dynamic_snitch_reset_interval_in_ms: 600000
482
- # if set greater than zero and read_repair_chance is < 1.0, this will allow
483
- # 'pinning' of replicas to hosts in order to increase cache capacity.
484
- # The badness threshold will control how much worse the pinned host has to be
485
- # before the dynamic snitch will prefer other replicas over it. This is
486
- # expressed as a double which represents a percentage. Thus, a value of
487
- # 0.2 means Cassandra would continue to prefer the static snitch values
488
- # until the pinned host was 20% worse than the fastest.
489
- dynamic_snitch_badness_threshold: 0.1
490
-
491
- # request_scheduler -- Set this to a class that implements
492
- # RequestScheduler, which will schedule incoming client requests
493
- # according to the specific policy. This is useful for multi-tenancy
494
- # with a single Cassandra cluster.
495
- # NOTE: This is specifically for requests from the client and does
496
- # not affect inter node communication.
497
- # org.apache.cassandra.scheduler.NoScheduler - No scheduling takes place
498
- # org.apache.cassandra.scheduler.RoundRobinScheduler - Round robin of
499
- # client requests to a node with a separate queue for each
500
- # request_scheduler_id. The scheduler is further customized by
501
- # request_scheduler_options as described below.
502
- request_scheduler: org.apache.cassandra.scheduler.NoScheduler
503
-
504
- # Scheduler Options vary based on the type of scheduler
505
- # NoScheduler - Has no options
506
- # RoundRobin
507
- # - throttle_limit -- The throttle_limit is the number of in-flight
508
- # requests per client. Requests beyond
509
- # that limit are queued up until
510
- # running requests can complete.
511
- # The value of 80 here is twice the number of
512
- # concurrent_reads + concurrent_writes.
513
- # - default_weight -- default_weight is optional and allows for
514
- # overriding the default which is 1.
515
- # - weights -- Weights are optional and will default to 1 or the
516
- # overridden default_weight. The weight translates into how
517
- # many requests are handled during each turn of the
518
- # RoundRobin, based on the scheduler id.
519
- #
520
- # request_scheduler_options:
521
- # throttle_limit: 80
522
- # default_weight: 5
523
- # weights:
524
- # Keyspace1: 1
525
- # Keyspace2: 5
526
-
527
- # request_scheduler_id -- An identifer based on which to perform
528
- # the request scheduling. Currently the only valid option is keyspace.
529
- # request_scheduler_id: keyspace
530
-
531
- # index_interval controls the sampling of entries from the primrary
532
- # row index in terms of space versus time. The larger the interval,
533
- # the smaller and less effective the sampling will be. In technicial
534
- # terms, the interval coresponds to the number of index entries that
535
- # are skipped between taking each sample. All the sampled entries
536
- # must fit in memory. Generally, a value between 128 and 512 here
537
- # coupled with a large key cache size on CFs results in the best trade
538
- # offs. This value is not often changed, however if you have many
539
- # very small rows (many to an OS page), then increasing this will
540
- # often lower memory usage without a impact on performance.
541
- index_interval: 128
542
-
543
- # Enable or disable inter-node encryption
544
- # Default settings are TLS v1, RSA 1024-bit keys (it is imperative that
545
- # users generate their own keys) TLS_RSA_WITH_AES_128_CBC_SHA as the cipher
546
- # suite for authentication, key exchange and encryption of the actual data transfers.
547
- # NOTE: No custom encryption options are enabled at the moment
548
- # The available internode options are : all, none, dc, rack
549
- #
550
- # If set to dc cassandra will encrypt the traffic between the DCs
551
- # If set to rack cassandra will encrypt the traffic between the racks
552
- #
553
- # The passwords used in these options must match the passwords used when generating
554
- # the keystore and truststore. For instructions on generating these files, see:
555
- # http://download.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CreateKeystore
556
- #
557
- encryption_options:
558
- internode_encryption: none
559
- keystore: conf/.keystore
560
- keystore_password: cassandra
561
- truststore: conf/.truststore
562
- truststore_password: cassandra
563
- # More advanced defaults below:
564
- # protocol: TLS
565
- # algorithm: SunX509
566
- # store_type: JKS
567
- # cipher_suites: [TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA]