lobot 2.0.0pre → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +7 -10
- data/.gitmodules +1 -1
- data/.pairs +15 -0
- data/.rvmrc +1 -1
- data/.travis.yml +5 -0
- data/Gemfile +2 -2
- data/LICENSE.txt +1 -1
- data/README.md +67 -29
- data/Rakefile +11 -6
- data/Vagrantfile +8 -5
- data/bin/lobot +2 -4
- data/chef/cookbooks/pivotal_ci/attributes/jenkins.rb +1 -0
- data/chef/cookbooks/pivotal_ci/files/default/tests/minitest/default_test.rb +40 -2
- data/chef/cookbooks/pivotal_ci/recipes/id_rsa.rb +5 -0
- data/chef/cookbooks/pivotal_ci/recipes/jenkins_config.rb +5 -2
- data/chef/cookbooks/pivotal_ci/recipes/limited_travis_ci_environment.rb +4 -0
- data/chef/cookbooks/pivotal_ci/templates/default/jenkins-job-config.xml.erb +8 -6
- data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/attributes/default.rb +0 -1
- data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/recipes/bootstrap.rb +41 -0
- data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/recipes/default.rb +1 -41
- data/chef/travis-cookbooks/ci_environment/apt/recipes/default.rb +8 -7
- data/chef/travis-cookbooks/ci_environment/bazaar/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/cassandra/attributes/default.rb +6 -3
- data/chef/travis-cookbooks/ci_environment/cassandra/recipes/datastax.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/cassandra/recipes/package.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/cassandra/recipes/tarball.rb +6 -2
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra.init.erb +58 -131
- data/chef/travis-cookbooks/ci_environment/chromium/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/clang/attributes/tarball.rb +2 -7
- data/chef/travis-cookbooks/ci_environment/clang/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/clang/recipes/tarball.rb +2 -4
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ppa.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu-12.04.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu1110_ppa.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu1204_ppa.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/doxygen/recipes/default.rb +24 -0
- data/chef/travis-cookbooks/ci_environment/elasticsearch/attributes/default.rb +4 -1
- data/chef/travis-cookbooks/ci_environment/elasticsearch/recipes/default.rb +8 -5
- data/chef/travis-cookbooks/ci_environment/emacs/recipes/nox.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/firefox/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/git/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/git/recipes/ppa.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/golang/attributes/default.rb +3 -3
- data/chef/travis-cookbooks/ci_environment/gradle/attributes/tarball.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/ghc_package.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/ghc_source.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_package.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_ppa.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_source.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/source.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/hbase/recipes/cdh4.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/java/attributes/default.rb +4 -2
- data/chef/travis-cookbooks/ci_environment/java/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/java/recipes/oraclejdk7.rb +6 -1
- data/chef/travis-cookbooks/ci_environment/kerl/attributes/source.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/kerl/files/default/erlang.cookie +1 -0
- data/chef/travis-cookbooks/ci_environment/kerl/recipes/source.rb +8 -0
- data/chef/travis-cookbooks/ci_environment/kestrel/recipes/tarball.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/leiningen/attributes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/leiningen/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/leiningen/recipes/lein1x.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/leiningen/recipes/lein2x.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/libffi/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/libgdbm/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/libncurses/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/libossp-uuid/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/libreadline/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/libssl/recipes/098.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/libssl/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/libxml/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/lighttpd/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/default.rb +5 -2
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/package.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/ppa.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/tarball.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/memcached/attributes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/memcached/attributes/ppa.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/memcached/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/memcached/recipes/ppa.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/mercurial/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/mercurial/recipes/ppa.rb +36 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/attributes/mongodb.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/mongodb/files/default/mongodb.sysvinit.sh +1 -1
- data/chef/travis-cookbooks/ci_environment/mongodb/recipes/apt.rb +5 -5
- data/chef/travis-cookbooks/ci_environment/mongodb/recipes/server.rb +5 -2
- data/chef/travis-cookbooks/ci_environment/mysql/attributes/default.rb +1 -3
- data/chef/travis-cookbooks/ci_environment/mysql/recipes/server_on_ramfs.rb +6 -1
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/my.cnf.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/ramfs/my.cnf.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/neo4j-server/attributes/tarball.rb +13 -2
- data/chef/travis-cookbooks/ci_environment/neo4j-server/recipes/tarball.rb +26 -2
- data/chef/travis-cookbooks/ci_environment/networking_basic/recipes/default.rb +4 -1
- data/chef/travis-cookbooks/ci_environment/nodejs/attributes/multi.rb +3 -3
- data/chef/travis-cookbooks/ci_environment/nodejs/recipes/multi.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/openssh/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/perlbrew/attributes/multi.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/phantomjs/attributes/default.rb +2 -2
- data/chef/travis-cookbooks/ci_environment/phantomjs/metadata.rb +3 -0
- data/chef/travis-cookbooks/ci_environment/phantomjs/recipes/default.rb +3 -1
- data/chef/travis-cookbooks/ci_environment/phantomjs/recipes/tarball.rb +3 -2
- data/chef/travis-cookbooks/ci_environment/php/attributes/default.rb +40 -2
- data/chef/travis-cookbooks/ci_environment/php/providers/pecl.rb +73 -0
- data/chef/travis-cookbooks/ci_environment/php/recipes/extensions.rb +25 -0
- data/chef/travis-cookbooks/ci_environment/php/recipes/multi.rb +5 -4
- data/chef/travis-cookbooks/ci_environment/php/resources/pecl.rb +10 -0
- data/chef/travis-cookbooks/ci_environment/phpbuild/attributes/default.rb +2 -2
- data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/after-install.d/phpunit.sh +58 -0
- data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/definitions/5.2.17 +3 -1
- data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/definitions/5.3.3 +2 -1
- data/chef/travis-cookbooks/ci_environment/phpbuild/providers/build.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/phpbuild/recipes/default.rb +8 -10
- data/chef/travis-cookbooks/ci_environment/phpbuild/templates/default/default_configure_options.erb +4 -0
- data/chef/travis-cookbooks/ci_environment/phpenv/attributes/default.rb +6 -0
- data/chef/travis-cookbooks/ci_environment/phpenv/recipes/default.rb +11 -7
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_on_ramfs.rb +2 -2
- data/chef/travis-cookbooks/ci_environment/python/attributes/default.rb +2 -2
- data/chef/travis-cookbooks/ci_environment/python/recipes/multi.rb +10 -3
- data/chef/travis-cookbooks/ci_environment/rabbitmq/attributes/default.rb +3 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/recipes/default.rb +6 -2
- data/chef/travis-cookbooks/ci_environment/ragel/recipes/custom.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/ragel/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/redis/attributes/default.rb +3 -0
- data/chef/travis-cookbooks/ci_environment/redis/recipes/default.rb +6 -3
- data/chef/travis-cookbooks/ci_environment/redis/recipes/ppa.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/riak/attributes/default.rb +1 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/package.rb +3 -3
- data/chef/travis-cookbooks/{messaging_broker/openssl/recipes/default.rb → ci_environment/riak/attributes/service.rb} +4 -3
- data/chef/travis-cookbooks/ci_environment/riak/recipes/config.rb +2 -2
- data/chef/travis-cookbooks/ci_environment/riak/recipes/default.rb +12 -5
- data/chef/travis-cookbooks/ci_environment/rvm/attributes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/rvm/attributes/multi.rb +2 -0
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/global.gems +1 -1
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/jruby/global.gems +1 -1
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/ruby/2.0.0/global.gems +2 -0
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/ruby/head/global.gems +2 -0
- data/chef/travis-cookbooks/ci_environment/rvm/recipes/default.rb +23 -1
- data/chef/travis-cookbooks/ci_environment/rvm/recipes/multi.rb +2 -2
- data/chef/travis-cookbooks/ci_environment/rvm/templates/default/bundler_config.yml.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/sbt/CHANGELOG.md +20 -0
- data/chef/travis-cookbooks/ci_environment/sbt/LICENSE +201 -0
- data/chef/travis-cookbooks/ci_environment/sbt/README.md +78 -2
- data/chef/travis-cookbooks/ci_environment/sbt/attributes/default.rb +36 -10
- data/chef/travis-cookbooks/ci_environment/sbt/metadata.json +27 -17
- data/chef/travis-cookbooks/ci_environment/sbt/metadata.rb +13 -6
- data/chef/travis-cookbooks/ci_environment/sbt/recipes/default.rb +101 -51
- data/chef/travis-cookbooks/ci_environment/sbt/templates/default/jvmopts.erb +7 -0
- data/chef/travis-cookbooks/ci_environment/sbt/templates/default/sbtopts.erb +54 -0
- data/chef/travis-cookbooks/ci_environment/sphinx/attributes/default.rb +2 -2
- data/chef/travis-cookbooks/ci_environment/sphinx/metadata.rb +4 -4
- data/chef/travis-cookbooks/ci_environment/sphinx/recipes/all.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/sphinx/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/{messaging_broker/build-essential/recipes/default.rb → ci_environment/sqlite/recipes/ppa.rb} +13 -24
- data/chef/travis-cookbooks/ci_environment/subversion/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/sweeper/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/attributes/default.rb +2 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/ci_user.rb +2 -2
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/default.rb +1 -3
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/root.rb +5 -1
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/ci_user/{dot_bashrc.sh → dot_bashrc.sh.erb} +0 -4
- data/chef/travis-cookbooks/ci_environment/unarchivers/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/xserver/metadata.rb +3 -0
- data/chef/travis-cookbooks/ci_environment/xserver/recipes/default.rb +1 -1
- data/chef/travis-cookbooks/ci_environment/zeromq/recipes/default.rb +6 -23
- data/chef/travis-cookbooks/ci_environment/zeromq/recipes/{20x.rb → ppa.rb} +14 -14
- data/chef/travis-cookbooks/ci_environment/zookeeper/recipes/cdh4.rb +1 -1
- data/chef/travis-cookbooks/worker_host/java/metadata.rb +1 -1
- data/chef/travis-cookbooks/worker_host/java/recipes/openjdk.rb +6 -0
- data/chef/travis-cookbooks/worker_host/jruby/attributes/default.rb +1 -1
- data/chef/travis-cookbooks/worker_host/jruby/metadata.rb +1 -1
- data/chef/travis-cookbooks/worker_host/jruby/recipes/default.rb +1 -0
- data/chef/travis-cookbooks/worker_host/monit/recipes/default.rb +21 -17
- data/chef/travis-cookbooks/worker_host/networking_basic/metadata.rb +1 -1
- data/chef/travis-cookbooks/worker_host/networking_basic/recipes/default.rb +0 -6
- data/chef/travis-cookbooks/worker_host/ntp/.gitignore +1 -0
- data/chef/travis-cookbooks/worker_host/ntp/.travis.yml +6 -0
- data/chef/travis-cookbooks/worker_host/ntp/CHANGELOG.md +35 -0
- data/chef/travis-cookbooks/worker_host/ntp/CONTRIBUTING +29 -0
- data/chef/travis-cookbooks/worker_host/ntp/LICENSE +201 -0
- data/chef/travis-cookbooks/worker_host/ntp/README.md +163 -0
- data/chef/travis-cookbooks/worker_host/ntp/Rakefile +19 -0
- data/chef/travis-cookbooks/worker_host/ntp/TESTING.md +213 -0
- data/chef/travis-cookbooks/worker_host/ntp/attributes/default.rb +54 -0
- data/chef/travis-cookbooks/{messaging_broker/rabbitmq/resources/vhost.rb → worker_host/ntp/attributes/ntpdate.rb} +6 -7
- data/chef/travis-cookbooks/worker_host/ntp/chefignore +19 -0
- data/chef/travis-cookbooks/worker_host/ntp/files/default/ntp.leapseconds +222 -0
- data/chef/travis-cookbooks/worker_host/ntp/metadata.json +117 -0
- data/chef/travis-cookbooks/worker_host/ntp/metadata.rb +45 -0
- data/chef/travis-cookbooks/worker_host/ntp/recipes/default.rb +50 -0
- data/chef/travis-cookbooks/worker_host/ntp/recipes/disable.rb +22 -0
- data/chef/travis-cookbooks/worker_host/ntp/recipes/ntpdate.rb +36 -0
- data/chef/travis-cookbooks/{messaging_broker/openssl/libraries/secure_password.rb → worker_host/ntp/recipes/undo.rb} +17 -18
- data/chef/travis-cookbooks/worker_host/ntp/templates/default/ntp.conf.erb +55 -0
- data/chef/travis-cookbooks/worker_host/ntp/templates/default/ntpdate.erb +14 -0
- data/chef/travis-cookbooks/worker_host/rvm/recipes/multi.rb +1 -1
- data/chef/travis-cookbooks/worker_host/travis_worker/attributes/default.rb +10 -3
- data/chef/travis-cookbooks/worker_host/travis_worker/files/default/signal_wrapper.rb +22 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/metadata.rb +2 -2
- data/chef/travis-cookbooks/worker_host/travis_worker/recipes/bluebox.rb +97 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/recipes/default.rb +25 -15
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/sv-travis-worker-run.erb +1 -1
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/worker-bluebox.yml.erb +21 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/worker.yml.erb +0 -4
- data/chef/travis-cookbooks/worker_host/travis_worker_collectd/metadata.rb +1 -0
- data/chef/travis-cookbooks/worker_host/travis_worker_collectd/recipes/bluebox.rb +15 -0
- data/chef/travis-cookbooks/worker_host/travis_worker_collectd/recipes/default.rb +1 -0
- data/chef/travis-cookbooks/worker_host/users/recipes/default.rb +5 -0
- data/cookbooks/.gitkeep +3 -0
- data/lib/lobot.rb +8 -4
- data/lib/lobot/amazon.rb +33 -19
- data/lib/lobot/cli.rb +70 -46
- data/lib/lobot/config.rb +151 -19
- data/lib/lobot/configuration_wizard.rb +117 -0
- data/lib/lobot/keychain.rb +36 -0
- data/lib/lobot/password.rb +13 -0
- data/lib/lobot/sobo.rb +57 -13
- data/lib/lobot/templates/default_rails_build_script.sh +13 -0
- data/lib/lobot/version.rb +2 -2
- data/lobot.gemspec +4 -5
- data/script/bootstrap_server.sh +1 -1
- data/script/ci_build.sh +13 -0
- data/spec/assets/test_cert.crt +18 -0
- data/spec/fixtures/ssh_keys/vagrant_test_key +27 -0
- data/spec/fixtures/ssh_keys/vagrant_test_key.pub +1 -0
- data/spec/lib/lobot/amazon_spec.rb +80 -39
- data/spec/lib/lobot/cli_spec.rb +223 -154
- data/spec/lib/lobot/config_spec.rb +207 -5
- data/spec/lib/lobot/configuration_wizard_spec.rb +347 -0
- data/spec/lib/lobot/keychain_spec.rb +33 -0
- data/spec/lib/lobot/password_spec.rb +15 -0
- data/spec/spec_helper.rb +19 -1
- data/templates/Gemfile-remote +4 -0
- metadata +83 -100
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/ruby/1.8.6/global.gems +0 -2
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/root/dot_bashrc.sh +0 -86
- data/chef/travis-cookbooks/ci_environment/zeromq/attributes/default.rb +0 -7
- data/chef/travis-cookbooks/messaging_broker/build-essential/README.md +0 -24
- data/chef/travis-cookbooks/messaging_broker/build-essential/metadata.rb +0 -10
- data/chef/travis-cookbooks/messaging_broker/emacs/metadata.rb +0 -11
- data/chef/travis-cookbooks/messaging_broker/emacs/recipes/default.rb +0 -21
- data/chef/travis-cookbooks/messaging_broker/erlang/attributes/default.rb +0 -1
- data/chef/travis-cookbooks/messaging_broker/erlang/metadata.rb +0 -11
- data/chef/travis-cookbooks/messaging_broker/erlang/recipes/default.rb +0 -27
- data/chef/travis-cookbooks/messaging_broker/git/README.rdoc +0 -37
- data/chef/travis-cookbooks/messaging_broker/git/metadata.rb +0 -16
- data/chef/travis-cookbooks/messaging_broker/git/recipes/default.rb +0 -24
- data/chef/travis-cookbooks/messaging_broker/git/recipes/server.rb +0 -34
- data/chef/travis-cookbooks/messaging_broker/git/templates/default/sv-git-daemon-log-run.erb +0 -2
- data/chef/travis-cookbooks/messaging_broker/git/templates/default/sv-git-daemon-run.erb +0 -3
- data/chef/travis-cookbooks/messaging_broker/haproxy/README.md +0 -79
- data/chef/travis-cookbooks/messaging_broker/haproxy/attributes/default.rb +0 -22
- data/chef/travis-cookbooks/messaging_broker/haproxy/metadata.rb +0 -13
- data/chef/travis-cookbooks/messaging_broker/haproxy/recipes/app_lb.rb +0 -50
- data/chef/travis-cookbooks/messaging_broker/haproxy/recipes/default.rb +0 -42
- data/chef/travis-cookbooks/messaging_broker/haproxy/templates/default/haproxy-app_lb.cfg.erb +0 -34
- data/chef/travis-cookbooks/messaging_broker/haproxy/templates/default/haproxy-default.erb +0 -4
- data/chef/travis-cookbooks/messaging_broker/haproxy/templates/default/haproxy.cfg.erb +0 -27
- data/chef/travis-cookbooks/messaging_broker/iptables/definitions/iptables_rule.rb +0 -35
- data/chef/travis-cookbooks/messaging_broker/iptables/files/default/rebuild-iptables +0 -284
- data/chef/travis-cookbooks/messaging_broker/iptables/metadata.rb +0 -10
- data/chef/travis-cookbooks/messaging_broker/iptables/recipes/default.rb +0 -50
- data/chef/travis-cookbooks/messaging_broker/iptables/templates/default/all_established.erb +0 -2
- data/chef/travis-cookbooks/messaging_broker/iptables/templates/default/all_icmp.erb +0 -2
- data/chef/travis-cookbooks/messaging_broker/iptables/templates/default/iptables_load.erb +0 -3
- data/chef/travis-cookbooks/messaging_broker/openssl/README.md +0 -37
- data/chef/travis-cookbooks/messaging_broker/openssl/metadata.rb +0 -8
- data/chef/travis-cookbooks/messaging_broker/rabbitmq/README.md +0 -86
- data/chef/travis-cookbooks/messaging_broker/rabbitmq/attributes/default.rb +0 -10
- data/chef/travis-cookbooks/messaging_broker/rabbitmq/metadata.rb +0 -63
- data/chef/travis-cookbooks/messaging_broker/rabbitmq/providers/user.rb +0 -66
- data/chef/travis-cookbooks/messaging_broker/rabbitmq/providers/vhost.rb +0 -34
- data/chef/travis-cookbooks/messaging_broker/rabbitmq/recipes/cluster.rb +0 -35
- data/chef/travis-cookbooks/messaging_broker/rabbitmq/recipes/default.rb +0 -51
- data/chef/travis-cookbooks/messaging_broker/rabbitmq/resources/user.rb +0 -25
- data/chef/travis-cookbooks/messaging_broker/rabbitmq/templates/default/doterlang.cookie.erb +0 -1
- data/chef/travis-cookbooks/messaging_broker/rabbitmq/templates/default/rabbitmq-env.conf.erb +0 -10
- data/chef/travis-cookbooks/messaging_broker/rabbitmq/templates/default/rabbitmq_cluster.config.erb +0 -5
- data/ci_build.sh +0 -20
- data/docs/ci_yml.md +0 -39
- data/features/ci.feature +0 -29
- data/features/config/secrets.yml.example +0 -4
- data/features/step_definitions/ci_steps.rb +0 -137
- data/features/support/env.rb +0 -12
- data/lib/generators/lobot/USAGE +0 -15
- data/lib/generators/lobot/config_generator.rb +0 -141
- data/lib/generators/lobot/install_generator.rb +0 -25
- data/lib/generators/lobot/templates/Capfile +0 -6
- data/lib/generators/lobot/templates/ci.yml +0 -22
- data/lib/generators/lobot/templates/ci_build.sh +0 -22
- data/lib/generators/lobot/templates/deploy-ci.rb +0 -7
- data/lib/generators/lobot/templates/soloistrc +0 -23
- data/lib/lobot/jenkins.rb +0 -17
- data/lib/lobot/railtie.rb +0 -20
- data/lib/lobot/recipes/ci.rb +0 -78
- data/lib/lobot/tasks/ci.rake +0 -93
- data/spec/lib/lobot/jenkins_spec.rb +0 -14
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# Cookbook Name:: rvm
|
3
3
|
# Recipe:: multi
|
4
|
-
# Copyright 2011-
|
4
|
+
# Copyright 2011-2013, Travis CI Development Team <contact@travis-ci.org>
|
5
5
|
#
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# Cookbook Name:: lighttpd
|
3
3
|
# Recipe:: default
|
4
|
-
# Copyright 2011, Travis CI
|
4
|
+
# Copyright 2011-2013, Travis CI Development Team <contact@travis-ci.org>
|
5
5
|
#
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Cookbook Name:: maven3
|
3
3
|
# Recipe:: default
|
4
4
|
#
|
5
|
-
# Copyright 2011, Travis CI Development Team
|
5
|
+
# Copyright 2011-2013, Travis CI Development Team <contact@travis-ci.org>
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -38,7 +38,10 @@ end
|
|
38
38
|
|
39
39
|
per_user_settings = File.join(node.travis_build_environment.home, ".m2", "settings.xml")
|
40
40
|
cookbook_file(per_user_settings) do
|
41
|
-
|
41
|
+
owner node.travis_build_environment.user
|
42
|
+
group node.travis_build_environment.group
|
43
|
+
|
44
|
+
mode 0644
|
42
45
|
|
43
46
|
action :nothing
|
44
47
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Cookbook Name:: maven3
|
3
3
|
# Recipe:: package
|
4
4
|
#
|
5
|
-
# Copyright 2011-
|
5
|
+
# Copyright 2011-2013, Travis CI Development Team <contact@travis-ci.org>
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Cookbook Name:: maven3
|
3
3
|
# Recipe:: ppa
|
4
4
|
#
|
5
|
-
# Copyright 2011-
|
5
|
+
# Copyright 2011-2013, Travis CI Development Team <contact@travis-ci.org>
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Cookbook Name:: maven3
|
3
3
|
# Recipe:: tarball
|
4
4
|
#
|
5
|
-
# Copyright 2011-
|
5
|
+
# Copyright 2011-2013, Travis CI Development Team <contact@travis-ci.org>
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Recipe:: default
|
4
4
|
#
|
5
5
|
# Copyright 2009, Opscode, Inc.
|
6
|
-
# Copyright 2011, Travis CI Development Team
|
6
|
+
# Copyright 2011-2013, Travis CI Development Team <contact@travis-ci.org>
|
7
7
|
#
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
9
9
|
# you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Cookbook Name:: memcached
|
3
3
|
# Recipe:: ppa
|
4
4
|
#
|
5
|
-
# Copyright 2012, Travis CI Development Team
|
5
|
+
# Copyright 2012-2013, Travis CI Development Team <contact@travis-ci.org>
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# Cookbook Name:: mercurial
|
3
3
|
# Recipe:: default
|
4
|
-
# Copyright 2012, Travis CI Development Team <contact@travis-ci.org>
|
4
|
+
# Copyright 2012-2013, Travis CI Development Team <contact@travis-ci.org>
|
5
5
|
#
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -0,0 +1,36 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: mercurial
|
3
|
+
# Recipe:: default
|
4
|
+
# Copyright 2012-2013, Travis CI Development Team <contact@travis-ci.org>
|
5
|
+
#
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in
|
14
|
+
# all copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22
|
+
# THE SOFTWARE.
|
23
|
+
|
24
|
+
include_recipe "python::package"
|
25
|
+
|
26
|
+
apt_repository "mercurial-ppa" do
|
27
|
+
uri "http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu"
|
28
|
+
distribution node['lsb']['codename']
|
29
|
+
components ["main"]
|
30
|
+
key "323293EE"
|
31
|
+
keyserver "keyserver.ubuntu.com"
|
32
|
+
|
33
|
+
action :add
|
34
|
+
end
|
35
|
+
|
36
|
+
package "mercurial"
|
@@ -20,12 +20,12 @@
|
|
20
20
|
# limitations under the License.
|
21
21
|
#
|
22
22
|
|
23
|
-
node[:mongodb][:installed_from] = "apt"
|
23
|
+
node.set[:mongodb][:installed_from] = "apt"
|
24
24
|
# default settings from apt repo
|
25
|
-
node[:mongodb][:datadir] = "/var/lib/mongodb"
|
26
|
-
node[:mongodb][:config] = "/etc/mongodb.conf"
|
27
|
-
node[:mongodb][:logfile] = "/var/log/mongodb/mongodb.log"
|
28
|
-
node[:mongodb][:pidfile] = "/var/run/mongodb.pid"
|
25
|
+
node.set[:mongodb][:datadir] = "/var/lib/mongodb"
|
26
|
+
node.set[:mongodb][:config] = "/etc/mongodb.conf"
|
27
|
+
node.set[:mongodb][:logfile] = "/var/log/mongodb/mongodb.log"
|
28
|
+
node.set[:mongodb][:pidfile] = "/var/run/mongodb.pid"
|
29
29
|
|
30
30
|
|
31
31
|
execute "apt-get update" do
|
@@ -36,8 +36,11 @@ end
|
|
36
36
|
|
37
37
|
service "mongodb" do
|
38
38
|
supports :start => true, :stop => true, "force-stop" => true, :restart => true, "force-reload" => true, :status => true
|
39
|
-
|
40
|
-
|
39
|
+
if node.mongodb.service.enabled
|
40
|
+
action [:enable, :start]
|
41
|
+
else
|
42
|
+
action [:disable, :start]
|
43
|
+
end
|
41
44
|
subscribes :restart, resources(:template => node[:mongodb][:config])
|
42
45
|
subscribes :restart, resources(:template => "/etc/init.d/mongodb") if node[:mongodb][:installed_from] == "src"
|
43
46
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Cookbook Name:: mysql
|
3
3
|
# Recipe:: server_on_ramfs
|
4
4
|
#
|
5
|
-
# Copyright 2011, Travis CI Development Team
|
5
|
+
# Copyright 2011-2013, Travis CI Development Team <contact@travis-ci.org>
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -48,6 +48,11 @@ include_recipe "mysql::server"
|
|
48
48
|
log "['mysql']['data_dir'] = #{node['mysql']['data_dir']}"
|
49
49
|
log "[:mysql][:data_dir] = #{node[:mysql][:data_dir]}"
|
50
50
|
|
51
|
+
# stop mysql before copying the files over
|
52
|
+
service "mysql" do
|
53
|
+
action :stop
|
54
|
+
end
|
55
|
+
|
51
56
|
bash "cp -R #{node['mysql']['data_dir']} #{node[:ramfs][:dir]}/mysql" do
|
52
57
|
code "cp -R #{node['mysql']['data_dir']} #{node[:ramfs][:dir]}/mysql && chown -R mysql:mysql #{node[:ramfs][:dir]}/mysql"
|
53
58
|
|
@@ -1,11 +1,11 @@
|
|
1
|
-
neo4j_version = "1.8
|
1
|
+
neo4j_version = "1.8"
|
2
2
|
|
3
3
|
default[:neo4j][:server] = {
|
4
4
|
:version => neo4j_version,
|
5
5
|
:installation_dir => "/usr/local/neo4j-server",
|
6
6
|
:tarball => {
|
7
7
|
:url => "http://dist.neo4j.org/neo4j-community-#{neo4j_version}-unix.tar.gz",
|
8
|
-
:md5 => "
|
8
|
+
:md5 => "7a76a75bac1a32c5291e8e7b238f7ca2"
|
9
9
|
},
|
10
10
|
:user => "neo4j",
|
11
11
|
:jvm => {
|
@@ -28,5 +28,16 @@ default[:neo4j][:server] = {
|
|
28
28
|
},
|
29
29
|
:https => {
|
30
30
|
:enabled => true
|
31
|
+
},
|
32
|
+
:plugins => {
|
33
|
+
:spatial => {
|
34
|
+
:enabled => true,
|
35
|
+
:url => "https://github.com/downloads/goodwink/neo4j-server-chef-cookbook/neo4j-spatial-0.9-SNAPSHOT-server-plugin.zip",
|
36
|
+
:version => "0.9-SNAPSHOT",
|
37
|
+
:md5 => "65e6d30e856f191a20f3f6e78eaaf5a7"
|
38
|
+
}
|
39
|
+
},
|
40
|
+
:service => {
|
41
|
+
:enabled => false
|
31
42
|
}
|
32
43
|
}
|
@@ -45,6 +45,7 @@ require "tmpdir"
|
|
45
45
|
|
46
46
|
td = Dir.tmpdir
|
47
47
|
tmp = File.join(td, "neo4j-community-#{node.neo4j.server.version}.tar.gz")
|
48
|
+
tmp_spatial = File.join(td, "neo4j-spatial-#{node.neo4j.server.plugins.spatial.version}-server-plugin.zip")
|
48
49
|
|
49
50
|
remote_file(tmp) do
|
50
51
|
source node.neo4j.server.tarball.url
|
@@ -52,6 +53,12 @@ remote_file(tmp) do
|
|
52
53
|
not_if "which neo4j"
|
53
54
|
end
|
54
55
|
|
56
|
+
if node.neo4j.server.plugins.spatial.enabled
|
57
|
+
remote_file(tmp_spatial) do
|
58
|
+
source node.neo4j.server.plugins.spatial.url
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
55
62
|
# 2. Extract it
|
56
63
|
# 3. Copy to /usr/local/neo4j-server, update permissions
|
57
64
|
bash "extract #{tmp}, move it to #{node.neo4j.server.installation_dir}" do
|
@@ -67,6 +74,19 @@ bash "extract #{tmp}, move it to #{node.neo4j.server.installation_dir}" do
|
|
67
74
|
creates "#{node.neo4j.server.installation_dir}/bin/neo4j"
|
68
75
|
end
|
69
76
|
|
77
|
+
if node.neo4j.server.plugins.spatial.enabled
|
78
|
+
bash "extract #{tmp_spatial}, move it to #{node.neo4j.server.installation_dir}/plugins" do
|
79
|
+
user "root"
|
80
|
+
cwd "/tmp"
|
81
|
+
|
82
|
+
code <<-EOS
|
83
|
+
unzip #{tmp_spatial} -d #{node.neo4j.server.installation_dir}/plugins
|
84
|
+
EOS
|
85
|
+
|
86
|
+
creates "#{node.neo4j.server.installation_dir}/plugins/neo4j-spatial-#{node.neo4j.server.plugins.spatial.version}.jar"
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
70
90
|
[node.neo4j.server.conf_dir, node.neo4j.server.data_dir, File.join(node.neo4j.server.data_dir, "log")].each do |dir|
|
71
91
|
directory dir do
|
72
92
|
owner node.neo4j.server.user
|
@@ -80,6 +100,7 @@ end
|
|
80
100
|
node.neo4j.server.data_dir,
|
81
101
|
File.join(node.neo4j.server.installation_dir, "data"),
|
82
102
|
File.join(node.neo4j.server.installation_dir, "system"),
|
103
|
+
File.join(node.neo4j.server.installation_dir, "plugins"),
|
83
104
|
node.neo4j.server.installation_dir].each do |dir|
|
84
105
|
# Chef sets permissions only to leaf nodes, so we have to use a Bash script. MK.
|
85
106
|
bash "chown -R #{node.neo4j.server.user}:#{node.neo4j.server.user} #{dir}" do
|
@@ -135,6 +156,9 @@ end
|
|
135
156
|
|
136
157
|
service "neo4j" do
|
137
158
|
supports :start => true, :stop => true, :restart => true
|
138
|
-
|
139
|
-
|
159
|
+
if node.neo4j.server.service.enabled
|
160
|
+
action [:enable]
|
161
|
+
else
|
162
|
+
action [:disable]
|
163
|
+
end
|
140
164
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Cookbook Name:: networking_basic
|
3
3
|
# Recipe:: default
|
4
4
|
#
|
5
|
-
# Copyright 2011-
|
5
|
+
# Copyright 2011-2013, Travis CI Development Team <contact@travis-ci.org>
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -25,6 +25,9 @@ when "debian", "ubuntu"
|
|
25
25
|
'curl',
|
26
26
|
'wget',
|
27
27
|
'rsync',
|
28
|
+
# libldap resolves dependency hell around libcurl4-openssl-dev. MK.
|
29
|
+
"libldap-2.4.2",
|
30
|
+
"libldap2-dev",
|
28
31
|
"libcurl4-openssl-dev"
|
29
32
|
]
|
30
33
|
|
@@ -1,3 +1,3 @@
|
|
1
|
-
default[:nodejs][:versions] = ["0.
|
2
|
-
default[:nodejs][:aliases] = { "0.
|
3
|
-
default[:nodejs][:default] = "0.
|
1
|
+
default[:nodejs][:versions] = ["0.8.18"]
|
2
|
+
default[:nodejs][:aliases] = { "0.8.18" => "0.8" }
|
3
|
+
default[:nodejs][:default] = "0.8.18"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# Cookbook Name:: node.js
|
3
3
|
# Recipe:: multi
|
4
|
-
# Copyright 2011-
|
4
|
+
# Copyright 2011-2013, Travis CI Development Team <contact@travis-ci.org>
|
5
5
|
#
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Cookbook Name:: openssh
|
3
3
|
# Recipe:: default
|
4
4
|
#
|
5
|
-
# Copyright 2012, Travis CI Development Team
|
5
|
+
# Copyright 2012-2013, Travis CI Development Team <contact@travis-ci.org>
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -3,5 +3,5 @@ default[:perlbrew] = {
|
|
3
3
|
{ :name => "5.14", :version => "perl-5.14.2" },
|
4
4
|
{ :name => "5.12", :version => "perl-5.12.4" },
|
5
5
|
{ :name => "5.10", :version => "perl-5.10.1" }],
|
6
|
-
:modules => %w(Dist::Zilla Moose Test::Pod Test::Pod::Coverage Test::Exception Test::Kwalitee Dist::Zilla::Plugin::Bootstrap::lib
|
6
|
+
:modules => %w(Dist::Zilla Moose Test::Pod Test::Pod::Coverage Test::Exception Test::Kwalitee Dist::Zilla::Plugin::Bootstrap::lib LWP Module::Install Test::Most)
|
7
7
|
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
version = "1.
|
1
|
+
version = "1.8.1"
|
2
2
|
arch = kernel['machine'] =~ /x86_64/ ? "x86_64" : "i686"
|
3
3
|
|
4
4
|
default[:phantomjs] = {
|
5
5
|
:version => version,
|
6
6
|
:arch => arch,
|
7
7
|
:tarball => {
|
8
|
-
:url => "http://phantomjs.googlecode.com/files/phantomjs-#{version}-linux-#{arch}
|
8
|
+
:url => "http://phantomjs.googlecode.com/files/phantomjs-#{version}-linux-#{arch}.tar.bz2"
|
9
9
|
}
|
10
10
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# Cookbook Name:: phantomjs
|
3
3
|
# Recipe:: default
|
4
|
-
# Copyright 2012, Travis CI
|
4
|
+
# Copyright 2012-2013, Travis CI Development Team <contact@travis-ci.org>
|
5
5
|
#
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -21,4 +21,6 @@
|
|
21
21
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22
22
|
# THE SOFTWARE.
|
23
23
|
|
24
|
+
package "libfontconfig1"
|
25
|
+
|
24
26
|
include_recipe "phantomjs::tarball"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# Cookbook Name:: phantomjs
|
3
3
|
# Recipe:: tarball
|
4
|
-
# Copyright 2012, Travis CI
|
4
|
+
# Copyright 2012-2013, Travis CI Development Team <contact@travis-ci.org>
|
5
5
|
#
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -22,13 +22,14 @@
|
|
22
22
|
# THE SOFTWARE.
|
23
23
|
|
24
24
|
# This recipe provides Phantom.js using official tarball for Linux.
|
25
|
+
package "libfontconfig1"
|
25
26
|
|
26
27
|
# 1. Download the tarball
|
27
28
|
require "tmpdir"
|
28
29
|
|
29
30
|
td = Dir.tmpdir
|
30
31
|
tmp = File.join(td, "phantomjs-#{node.phantomjs.version}.tar.gz")
|
31
|
-
tarball_dir = File.join(td, "phantomjs-#{node.phantomjs.version}-linux-#{node.phantomjs.arch}
|
32
|
+
tarball_dir = File.join(td, "phantomjs-#{node.phantomjs.version}-linux-#{node.phantomjs.arch}")
|
32
33
|
|
33
34
|
remote_file(tmp) do
|
34
35
|
source node.phantomjs.tarball.url
|