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,212 +0,0 @@
1
- # encoding: UTF-8
2
- require "hashie"
3
-
4
- module Lobot
5
- class Config < Hashie::Dash
6
- property :path
7
- property :aws_key
8
- property :aws_secret
9
- property :instance_id
10
- property :master
11
-
12
- property :instance_size, :default => 'c1.medium'
13
- property :ssh_port, :default => 22
14
- property :server_ssh_key, :default => Proc.new { default_ssh_key }
15
- property :github_ssh_key, :default => Proc.new { default_ssh_key }
16
- property :recipes, :default => ["pivotal_ci::jenkins", "pivotal_ci::limited_travis_ci_environment", "pivotal_ci"]
17
- property :cookbook_paths, :default => ['./chef/cookbooks/', './chef/travis-cookbooks/ci_environment', './chef/project-cookbooks']
18
- property :node_attributes, :default => Proc.new { default_node_attributes }
19
-
20
- def initialize(attributes = {})
21
- super
22
- self["node_attributes"] = Hashie::Mash.new(node_attributes)
23
- end
24
-
25
- def add_build(name, repository, branch, command)
26
- build = {
27
- "name" => name,
28
- "repository" => repository,
29
- "branch" => branch,
30
- "command" => command,
31
- "junit_publisher" => true
32
- }
33
- self.node_attributes = self.node_attributes.tap do |config|
34
- config.jenkins.builds << build unless config.jenkins.builds.include?(build)
35
- end
36
- end
37
-
38
- def github_ssh_key_path
39
- File.expand_path(self["github_ssh_key"]) if self["github_ssh_key"]
40
- end
41
-
42
- def github_ssh_pubkey_path
43
- github_ssh_key_path + ".pub" if self["github_ssh_key"]
44
- end
45
-
46
- def github_ssh_key
47
- File.read(github_ssh_key_path)
48
- end
49
-
50
- def github_ssh_pubkey
51
- File.read(github_ssh_pubkey_path)
52
- end
53
-
54
- def server_ssh_key_path
55
- File.expand_path(self["server_ssh_key"]) if self["server_ssh_key"]
56
- end
57
-
58
- def server_ssh_pubkey_path
59
- server_ssh_key_path + ".pub" if self["server_ssh_key"]
60
- end
61
-
62
- def server_ssh_key
63
- File.read(server_ssh_key_path)
64
- end
65
-
66
- def server_ssh_pubkey
67
- File.read(server_ssh_pubkey_path)
68
- end
69
-
70
- def master_url
71
- "https://#{master}" if master
72
- end
73
-
74
- def jenkins_url
75
- "https://#{CGI.escape(basic_auth_user)}:#{CGI.escape(basic_auth_password)}@#{master}" if master
76
- end
77
-
78
- def cc_menu_url
79
- "#{jenkins_url}/cc.xml" if master
80
- end
81
-
82
- def rss_url(job_name)
83
- master_url + "/job/#{job_name}/rssAll" if master_url
84
- end
85
-
86
- def node_attributes=(attributes)
87
- self["node_attributes"] = Hashie::Mash.new(attributes)
88
- end
89
-
90
- def valid?
91
- errors.empty?
92
- end
93
-
94
- def errors
95
- messages = []
96
- if node_attributes.has_key?("jenkins")
97
- unless node_attributes.jenkins.has_key?("builds")
98
- messages << "[:node_attributes][:jenkins][:builds]"
99
- end
100
- else
101
- messages << "[:node_attributes][:jenkins]"
102
- end
103
- messages.map{ |path| "your config file does not have a #{path} key" }
104
- end
105
-
106
- def soloistrc
107
- {
108
- "recipes" => recipes,
109
- "cookbook_paths" => cookbook_paths,
110
- "node_attributes" => node_attributes.to_hash
111
- }
112
- end
113
-
114
- def save
115
- return self unless path
116
- File.open(path, "w+") { |file| file.write(YAML.dump(JSON.parse(JSON.dump(to_hash)))) }
117
- self
118
- end
119
-
120
- def update(options = {})
121
- options.each_pair do |attr, value|
122
- self.send("#{attr}=", value)
123
- end
124
- save
125
- end
126
-
127
- def reload
128
- self.class.from_file(path)
129
- end
130
-
131
- def to_hash
132
- hash = super
133
- hash.delete("path")
134
- {
135
- "ssh_port" => ssh_port,
136
- "master" => master,
137
- "server_ssh_key" => server_ssh_key_path,
138
- "recipes" => recipes,
139
- "cookbook_paths" => cookbook_paths,
140
- "node_attributes" => node_attributes
141
- }.merge(hash)
142
- end
143
-
144
- def display
145
- <<OOTPÜT.gsub(/(\S)\s+$/, '\1').gsub(/^\./, '')
146
- -- ciborg configuration --
147
- Instance ID: #{instance_id}
148
- IP Address: #{master}
149
- Instance size: #{instance_size}
150
- .
151
- Builds:
152
- #{builds}
153
- .
154
- Web URL: #{master_url}
155
- User name: #{basic_auth_user}
156
- User password: #{basic_auth_password}
157
- .
158
- CC Menu URL: #{cc_menu_url}
159
- .
160
- OOTPÜT
161
- end
162
-
163
- def self.from_file(yaml_file)
164
- config = {:path => yaml_file}
165
- config.merge!(read_config(yaml_file)) if File.exists?(yaml_file)
166
- config.delete('keypair_name')
167
- self.new(config)
168
- end
169
-
170
- def self.read_config(yaml_file)
171
- File.open(yaml_file, "r") { |file| YAML.load(file.read) }
172
- end
173
-
174
- def basic_auth_user
175
- node_attributes[:nginx][:basic_auth_user]
176
- end
177
-
178
- def basic_auth_password
179
- node_attributes[:nginx][:basic_auth_password]
180
- end
181
-
182
- def builds
183
- node_attributes[:jenkins][:builds].
184
- map { |build| build[:name] } .
185
- map { |build| " %-17s %s" % [build, rss_url(build)] } .
186
- join("\n")
187
- end
188
-
189
- private
190
-
191
- def self.default_ssh_key
192
- "~/.ssh/id_rsa" if File.exists?(File.expand_path("~/.ssh/id_rsa"))
193
- end
194
-
195
- def self.default_node_attributes
196
- {
197
- :travis_build_environment => {
198
- :user => "jenkins",
199
- :group => "nogroup",
200
- :home => "/var/lib/jenkins"
201
- },
202
- :nginx => {
203
- :basic_auth_user => "ci",
204
- :basic_auth_password => Lobot::Password.generate
205
- },
206
- :jenkins => {
207
- :builds => []
208
- }
209
- }
210
- end
211
- end
212
- end
@@ -1,117 +0,0 @@
1
- require "thor"
2
-
3
- module Lobot
4
- class ConfigurationWizard < ::Thor
5
- include Actions
6
-
7
- DESCRIPTION_TEXT = "Sets up lobot through a series of questions"
8
-
9
- default_task :setup
10
-
11
- desc "setup", DESCRIPTION_TEXT
12
- def setup
13
- return unless yes?("It looks like you're trying to set up a CI Box. Can I help? (Yes/No)")
14
- prompt_for_build
15
- prompt_for_github_key
16
- prompt_for_ssh_key
17
- prompt_for_aws
18
- prompt_for_basic_auth
19
- config.save
20
- say config.reload.display
21
- if user_wants_to_create_instance?
22
- create_instance
23
- provision_server
24
- end
25
- end
26
-
27
- no_tasks do
28
- def ask_with_default(statement, default)
29
- question = default ? "#{statement} [#{default}]:" : "#{statement}:"
30
- answer = ask(question) || ""
31
- answer.empty? ? default : answer
32
- end
33
-
34
- def prompt_for_aws
35
- say("For your AWS Access Key and Secret, see https://aws-portal.amazon.com/gp/aws/developer/account/index.html?ie=UTF8&action=access-key")
36
- config.aws_key = ask_with_default("Your AWS key", config.aws_key)
37
- config.aws_secret = ask_with_default("Your AWS secret key", config.aws_secret)
38
- end
39
-
40
- def prompt_for_basic_auth
41
- config.node_attributes.nginx.basic_auth_user = ask_with_default("Your CI username", config.node_attributes.nginx.basic_auth_user)
42
- config.node_attributes.nginx.basic_auth_password = ask_with_default("Your CI password", config.node_attributes.nginx.basic_auth_password)
43
- end
44
-
45
- def prompt_for_ssh_key
46
- config.server_ssh_key = ask_with_default("Path to CI server SSH key", config.server_ssh_key_path)
47
- end
48
-
49
- def prompt_for_github_key
50
- config.github_ssh_key = ask_with_default("Path to a SSH key authorized to clone the repository", config.github_ssh_key_path)
51
- end
52
-
53
- def prompt_for_build
54
- build = config.node_attributes.jenkins.builds.first || {}
55
-
56
- if this_is_a_rails_project? && prompt_for_default_rails_script
57
- build_command = Proc.new { "script/ci_build.sh" }
58
- copy_file('default_rails_build_script.sh', 'script/ci_build.sh')
59
- else
60
- build_command = Proc.new { ask_with_default("What command should be run during the build?", build["command"]) }
61
- end
62
-
63
- repository = ask_with_default("What is the address of your git repository?", build["repository"])
64
- name = ask_with_default("What would you like to name your build?", build["name"])
65
- command = build_command.call
66
- branch = "master"
67
-
68
- config.add_build name, repository, branch, command
69
- end
70
-
71
- def user_wants_to_create_instance?
72
- return unless config.master.nil?
73
- yes?("Would you like to start an instance on AWS now? (Yes/No)")
74
- end
75
-
76
- def create_instance
77
- say("Creating instance #{config.instance_size}")
78
- cli.create
79
- say("Instance launched.")
80
- end
81
-
82
- def provision_server
83
- return if config.reload.master.nil?
84
- cli.bootstrap
85
- cli.chef
86
- end
87
-
88
- def config
89
- @config ||= Lobot::Config.from_file(lobot_config_path)
90
- end
91
- end
92
-
93
- private
94
-
95
- def source_paths
96
- [File.join(File.expand_path(File.dirname(__FILE__)), "templates")] + super
97
- end
98
-
99
- def prompt_for_default_rails_script
100
- return false if File.exists?('script/ci_build.sh')
101
- yes?("It looks like this is a Rails project. Would you like to use the default Rails build script? (Yes/No)")
102
- end
103
-
104
- def this_is_a_rails_project?
105
- File.exists?('script/rails')
106
- end
107
-
108
- def lobot_config_path
109
- FileUtils.mkdir_p(File.join(Dir.pwd, "config"))
110
- File.expand_path("config/lobot.yml", Dir.pwd)
111
- end
112
-
113
- def cli
114
- Lobot::CLI.new
115
- end
116
- end
117
- end
@@ -1,36 +0,0 @@
1
- require "httpclient"
2
-
3
- module Lobot
4
- class Keychain
5
- attr_reader :config, :path
6
-
7
- def initialize(keychain_path)
8
- @path = keychain_path
9
- end
10
-
11
- def has_key?(key_name)
12
- system("sudo security find-certificate -c \"#{key_name}\" #{path} > /dev/null 2>&1")
13
- end
14
-
15
- def fetch_remote_certificate(host)
16
- http_client.get(host).peer_cert.to_s
17
- end
18
-
19
- def add_certificate(certificate)
20
- certificate_file = Tempfile.new("lobot.crt").tap do |f|
21
- f.write(certificate)
22
- f.close
23
- end
24
-
25
- system("sudo security add-trusted-cert -d -r trustAsRoot -k /Library/Keychains/System.keychain #{certificate_file.path}")
26
- end
27
-
28
- private
29
- def http_client
30
- @http_client ||=
31
- HTTPClient.new.tap do |hc|
32
- hc.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_NONE
33
- end
34
- end
35
- end
36
- end
@@ -1,13 +0,0 @@
1
- require "haddock"
2
-
3
- module Lobot
4
- class Password
5
- class << self
6
- def generate
7
- Haddock::Password.generate
8
- rescue Haddock::Password::NoWordsError
9
- return ""
10
- end
11
- end
12
- end
13
- end
@@ -1,79 +0,0 @@
1
- require 'net/ssh'
2
- require 'shellwords'
3
- module Lobot
4
- class Sobo
5
- class CommandFailed < StandardError; end;
6
-
7
- attr_reader :ip, :key, :user
8
- attr_writer :timeout
9
-
10
- def initialize(ip, key, user='ubuntu')
11
- @ip = ip
12
- @key = key
13
- @user = user
14
- end
15
-
16
- def timeout
17
- @timeout || 10000
18
- end
19
-
20
- def system(command)
21
- ssh_popen4!(command, true)[2]
22
- end
23
-
24
- def system!(command)
25
- result = ssh_popen4!(command, true)
26
- raise(CommandFailed, "Failed: #{command}\n#{result[0]}\n\n#{result[1]}") unless result[2] == 0
27
- end
28
-
29
- def backtick(command)
30
- ssh_popen4!(command)[0]
31
- end
32
-
33
- def ssh_popen4!(command, streaming_output = false)
34
- ssh = Net::SSH.start(ip, user, :keys => [key], :timeout => timeout, paranoid: false)
35
- stdout_data = ""
36
- stderr_data = ""
37
- exit_code = nil
38
- exit_signal = nil
39
-
40
- ssh.open_channel do |channel|
41
- channel.exec("/bin/bash -lc #{Shellwords.escape(command)}") do |ch, success|
42
- unless success
43
- raise "FAILED: couldn't execute command (ssh.channel.exec)"
44
- end
45
-
46
- channel.on_data do |ch,data|
47
- if streaming_output
48
- STDOUT << data
49
- STDOUT.flush
50
- end
51
- stdout_data += data
52
- end
53
-
54
- channel.on_extended_data do |ch,type,data|
55
- if streaming_output
56
- STDERR << data
57
- STDERR.flush
58
- end
59
- stderr_data += data
60
- end
61
-
62
- channel.on_request("exit-status") do |ch,data|
63
- exit_code = data.read_long
64
- end
65
-
66
- channel.on_request("exit-signal") do |ch, data|
67
- exit_signal = data.read_long
68
- end
69
- end
70
- end
71
- ssh.loop
72
- [stdout_data, stderr_data, exit_code, exit_signal]
73
- end
74
-
75
- def upload(from, to, opts = "--exclude .git")
76
- Kernel.system(%Q{rsync --rsh="ssh -o 'StrictHostKeyChecking no' -i #{key}" --archive --compress --delete #{from} #{user}@#{ip}:#{to} #{opts}})
77
- end
78
- end
79
- end