lobot 2.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/lobot +3 -2
- data/lib/lobot.rb +0 -7
- metadata +15 -916
- data/.gitignore +0 -8
- data/.gitmodules +0 -3
- data/.pairs +0 -15
- data/.rspec +0 -2
- data/.rvmrc +0 -1
- data/.travis.yml +0 -5
- data/Gemfile +0 -6
- data/Guardfile +0 -10
- data/LICENSE.txt +0 -21
- data/README.md +0 -164
- data/Rakefile +0 -16
- data/Vagrantfile +0 -18
- data/chef/cookbooks/pivotal_ci/.gitignore +0 -4
- data/chef/cookbooks/pivotal_ci/Gemfile +0 -3
- data/chef/cookbooks/pivotal_ci/README.md +0 -3
- data/chef/cookbooks/pivotal_ci/attributes/git.rb +0 -4
- data/chef/cookbooks/pivotal_ci/attributes/jenkins.rb +0 -3
- data/chef/cookbooks/pivotal_ci/attributes/nginx.rb +0 -1
- data/chef/cookbooks/pivotal_ci/attributes/ssl.rb +0 -5
- data/chef/cookbooks/pivotal_ci/files/default/jenkins-ci.org.key +0 -112
- data/chef/cookbooks/pivotal_ci/files/default/tests/minitest/default_test.rb +0 -75
- data/chef/cookbooks/pivotal_ci/metadata.rb +0 -10
- data/chef/cookbooks/pivotal_ci/recipes/default.rb +0 -6
- data/chef/cookbooks/pivotal_ci/recipes/fonts.rb +0 -5
- data/chef/cookbooks/pivotal_ci/recipes/git_config.rb +0 -17
- data/chef/cookbooks/pivotal_ci/recipes/id_rsa.rb +0 -32
- data/chef/cookbooks/pivotal_ci/recipes/jenkins.rb +0 -26
- data/chef/cookbooks/pivotal_ci/recipes/jenkins_config.rb +0 -48
- data/chef/cookbooks/pivotal_ci/recipes/limited_travis_ci_environment.rb +0 -39
- data/chef/cookbooks/pivotal_ci/recipes/nginx.rb +0 -19
- data/chef/cookbooks/pivotal_ci/recipes/ssl_certificate.rb +0 -44
- data/chef/cookbooks/pivotal_ci/recipes/teamcity.rb +0 -42
- data/chef/cookbooks/pivotal_ci/templates/default/jenkins-job-config.xml.erb +0 -79
- data/chef/cookbooks/pivotal_ci/templates/default/nginx-conf.erb +0 -58
- data/chef/cookbooks/pivotal_ci/templates/default/nginx-htaccess.erb +0 -3
- data/chef/cookbooks/pivotal_ci/templates/default/org.jenkinsci.plugins.xvfb.XvfbBuildWrapper.xml.erb +0 -11
- data/chef/cookbooks/pivotal_ci/templates/default/teamcity-initd.erb +0 -44
- data/chef/cookbooks/pivotal_ci/test/kitchen/Kitchenfile +0 -4
- data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/attributes/default.rb +0 -2
- data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/metadata.rb +0 -10
- data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/recipes/bootstrap.rb +0 -41
- data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/recipes/default.rb +0 -1
- data/chef/travis-cookbooks/.gitignore +0 -7
- data/chef/travis-cookbooks/LICENSE +0 -23
- data/chef/travis-cookbooks/README.md +0 -28
- data/chef/travis-cookbooks/ci_environment/.gitignore +0 -1
- data/chef/travis-cookbooks/ci_environment/ant/README.md +0 -51
- data/chef/travis-cookbooks/ci_environment/ant/metadata.rb +0 -14
- data/chef/travis-cookbooks/ci_environment/ant/recipes/default.rb +0 -41
- data/chef/travis-cookbooks/ci_environment/apt/README.md +0 -109
- data/chef/travis-cookbooks/ci_environment/apt/attributes/default.rb +0 -1
- data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-cacher +0 -9
- data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-cacher.conf +0 -144
- data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-proxy-v2.conf +0 -50
- data/chef/travis-cookbooks/ci_environment/apt/metadata.json +0 -34
- data/chef/travis-cookbooks/ci_environment/apt/metadata.rb +0 -13
- data/chef/travis-cookbooks/ci_environment/apt/providers/repository.rb +0 -73
- data/chef/travis-cookbooks/ci_environment/apt/recipes/cacher-client.rb +0 -37
- data/chef/travis-cookbooks/ci_environment/apt/recipes/cacher.rb +0 -45
- data/chef/travis-cookbooks/ci_environment/apt/recipes/default.rb +0 -55
- data/chef/travis-cookbooks/ci_environment/apt/resources/repository.rb +0 -31
- data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-10.04/sources.list.erb +0 -31
- data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-11.04/sources.list.erb +0 -31
- data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-11.10/sources.list.erb +0 -31
- data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-12.04/sources.list.erb +0 -31
- data/chef/travis-cookbooks/ci_environment/bazaar/recipes/default.rb +0 -26
- data/chef/travis-cookbooks/ci_environment/bison/attributes/default.rb +0 -7
- data/chef/travis-cookbooks/ci_environment/bison/recipes/default.rb +0 -48
- data/chef/travis-cookbooks/ci_environment/build-essential/README.md +0 -24
- data/chef/travis-cookbooks/ci_environment/build-essential/metadata.rb +0 -10
- data/chef/travis-cookbooks/ci_environment/build-essential/recipes/default.rb +0 -47
- data/chef/travis-cookbooks/ci_environment/cassandra/attributes/default.rb +0 -28
- data/chef/travis-cookbooks/ci_environment/cassandra/recipes/datastax.rb +0 -43
- data/chef/travis-cookbooks/ci_environment/cassandra/recipes/package.rb +0 -43
- data/chef/travis-cookbooks/ci_environment/cassandra/recipes/tarball.rb +0 -158
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-cli.erb +0 -60
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-env.sh.erb +0 -159
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-limits.conf.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra.init.erb +0 -158
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra.yaml.erb +0 -567
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/log4j-server.properties.yml +0 -43
- data/chef/travis-cookbooks/ci_environment/chromium/recipes/default.rb +0 -26
- data/chef/travis-cookbooks/ci_environment/clang/attributes/tarball.rb +0 -6
- data/chef/travis-cookbooks/ci_environment/clang/metadata.rb +0 -11
- data/chef/travis-cookbooks/ci_environment/clang/recipes/default.rb +0 -26
- data/chef/travis-cookbooks/ci_environment/clang/recipes/tarball.rb +0 -73
- data/chef/travis-cookbooks/ci_environment/cmake/README.md +0 -21
- data/chef/travis-cookbooks/ci_environment/cmake/metadata.rb +0 -10
- data/chef/travis-cookbooks/ci_environment/cmake/recipes/default.rb +0 -23
- data/chef/travis-cookbooks/ci_environment/composer/recipes/default.rb +0 -21
- data/chef/travis-cookbooks/ci_environment/composer/templates/default/composer.erb +0 -3
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/default.rb +0 -33
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ppa.rb +0 -37
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu-12.04.rb +0 -39
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu1110_ppa.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu1204_ppa.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/doxygen/recipes/default.rb +0 -24
- data/chef/travis-cookbooks/ci_environment/elasticsearch/attributes/default.rb +0 -6
- data/chef/travis-cookbooks/ci_environment/elasticsearch/recipes/default.rb +0 -67
- data/chef/travis-cookbooks/ci_environment/emacs/metadata.rb +0 -11
- data/chef/travis-cookbooks/ci_environment/emacs/recipes/default.rb +0 -21
- data/chef/travis-cookbooks/ci_environment/emacs/recipes/nox.rb +0 -32
- data/chef/travis-cookbooks/ci_environment/erlang/attributes/default.rb +0 -1
- data/chef/travis-cookbooks/ci_environment/erlang/metadata.rb +0 -11
- data/chef/travis-cookbooks/ci_environment/erlang/recipes/default.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/firefox/recipes/default.rb +0 -29
- data/chef/travis-cookbooks/ci_environment/git/README.rdoc +0 -37
- data/chef/travis-cookbooks/ci_environment/git/files/default/git_1.7.5.4-1+github5_amd64.deb +0 -0
- data/chef/travis-cookbooks/ci_environment/git/files/default/git_1.7.5.4-1+github5_i386.deb +0 -0
- data/chef/travis-cookbooks/ci_environment/git/metadata.rb +0 -15
- data/chef/travis-cookbooks/ci_environment/git/recipes/custom.git +0 -65
- data/chef/travis-cookbooks/ci_environment/git/recipes/default.rb +0 -23
- data/chef/travis-cookbooks/ci_environment/git/recipes/ppa.rb +0 -37
- data/chef/travis-cookbooks/ci_environment/git/templates/default/sv-git-daemon-log-run.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/git/templates/default/sv-git-daemon-run.erb +0 -3
- data/chef/travis-cookbooks/ci_environment/golang/README.md +0 -35
- data/chef/travis-cookbooks/ci_environment/golang/attributes/default.rb +0 -11
- data/chef/travis-cookbooks/ci_environment/golang/recipes/default.rb +0 -20
- data/chef/travis-cookbooks/ci_environment/golang/recipes/multi.rb +0 -55
- data/chef/travis-cookbooks/ci_environment/golang/recipes/ppa.rb +0 -32
- data/chef/travis-cookbooks/ci_environment/gradle/README.md +0 -33
- data/chef/travis-cookbooks/ci_environment/gradle/attributes/tarball.rb +0 -9
- data/chef/travis-cookbooks/ci_environment/gradle/files/default/etc/profile.d/gradle.sh +0 -1
- data/chef/travis-cookbooks/ci_environment/gradle/recipes/tarball.rb +0 -65
- data/chef/travis-cookbooks/ci_environment/gvm/files/ubuntu/gvm.sh +0 -3
- data/chef/travis-cookbooks/ci_environment/gvm/recipes/default.rb +0 -44
- data/chef/travis-cookbooks/ci_environment/haskell/attributes/ghc.rb +0 -4
- data/chef/travis-cookbooks/ci_environment/haskell/attributes/platform.rb +0 -5
- data/chef/travis-cookbooks/ci_environment/haskell/files/default/cabal.sh +0 -3
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/default.rb +0 -38
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/ghc_package.rb +0 -28
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/ghc_source.rb +0 -78
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_package.rb +0 -52
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_ppa.rb +0 -68
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_source.rb +0 -67
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/source.rb +0 -25
- data/chef/travis-cookbooks/ci_environment/hbase/recipes/cdh4.rb +0 -49
- data/chef/travis-cookbooks/ci_environment/htop/recipes/default.rb +0 -4
- data/chef/travis-cookbooks/ci_environment/imagemagick/README.rdoc +0 -33
- data/chef/travis-cookbooks/ci_environment/imagemagick/metadata.rb +0 -12
- data/chef/travis-cookbooks/ci_environment/imagemagick/recipes/default.rb +0 -37
- data/chef/travis-cookbooks/ci_environment/iptables/files/default/iptables_rules +0 -13
- data/chef/travis-cookbooks/ci_environment/iptables/metadata.rb +0 -10
- data/chef/travis-cookbooks/ci_environment/iptables/recipes/default.rb +0 -48
- data/chef/travis-cookbooks/ci_environment/iptables/templates/default/iptables_load.erb +0 -3
- data/chef/travis-cookbooks/ci_environment/java/README.md +0 -102
- data/chef/travis-cookbooks/ci_environment/java/attributes/default.rb +0 -43
- data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/java.seed +0 -14
- data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/load_jdk_switcher.sh +0 -7
- data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/oraclejdk7.jinfo +0 -44
- data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/oraclejdk8.jinfo +0 -44
- data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/startssl_root_ca_installer.sh +0 -48
- data/chef/travis-cookbooks/ci_environment/java/metadata.rb +0 -16
- data/chef/travis-cookbooks/ci_environment/java/recipes/default.rb +0 -30
- data/chef/travis-cookbooks/ci_environment/java/recipes/multi.rb +0 -30
- data/chef/travis-cookbooks/ci_environment/java/recipes/openjdk6.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/java/recipes/openjdk7.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/java/recipes/oraclejdk7.rb +0 -83
- data/chef/travis-cookbooks/ci_environment/java/recipes/oraclejdk8.rb +0 -71
- data/chef/travis-cookbooks/ci_environment/java/templates/ubuntu/etc/profile.d/java_home.sh.erb +0 -3
- data/chef/travis-cookbooks/ci_environment/kerl/README.md +0 -3
- data/chef/travis-cookbooks/ci_environment/kerl/attributes/default.rb +0 -1
- data/chef/travis-cookbooks/ci_environment/kerl/attributes/source.rb +0 -2
- data/chef/travis-cookbooks/ci_environment/kerl/files/default/erlang.cookie +0 -1
- data/chef/travis-cookbooks/ci_environment/kerl/metadata.rb +0 -6
- data/chef/travis-cookbooks/ci_environment/kerl/recipes/default.rb +0 -19
- data/chef/travis-cookbooks/ci_environment/kerl/recipes/source.rb +0 -104
- data/chef/travis-cookbooks/ci_environment/kestrel/attributes/tarball.rb +0 -15
- data/chef/travis-cookbooks/ci_environment/kestrel/files/default/config/development.scala +0 -33
- data/chef/travis-cookbooks/ci_environment/kestrel/recipes/tarball.rb +0 -134
- data/chef/travis-cookbooks/ci_environment/kestrel/templates/ubuntu/kestrel-limits.conf.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/kestrel/templates/ubuntu/kestrel.init.erb +0 -208
- data/chef/travis-cookbooks/ci_environment/leiningen/README.rdoc +0 -5
- data/chef/travis-cookbooks/ci_environment/leiningen/attributes/default.rb +0 -5
- data/chef/travis-cookbooks/ci_environment/leiningen/files/default/profiles.clj +0 -1
- data/chef/travis-cookbooks/ci_environment/leiningen/metadata.json +0 -32
- data/chef/travis-cookbooks/ci_environment/leiningen/metadata.rb +0 -8
- data/chef/travis-cookbooks/ci_environment/leiningen/recipes/default.rb +0 -23
- data/chef/travis-cookbooks/ci_environment/leiningen/recipes/lein1x.rb +0 -68
- data/chef/travis-cookbooks/ci_environment/leiningen/recipes/lein2x.rb +0 -82
- data/chef/travis-cookbooks/ci_environment/libffi/recipes/default.rb +0 -34
- data/chef/travis-cookbooks/ci_environment/libgdbm/recipes/default.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/libncurses/recipes/default.rb +0 -31
- data/chef/travis-cookbooks/ci_environment/libossp-uuid/recipes/default.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/libqt4/recipes/default.rb +0 -5
- data/chef/travis-cookbooks/ci_environment/libreadline/recipes/default.rb +0 -34
- data/chef/travis-cookbooks/ci_environment/libssl/recipes/098.rb +0 -28
- data/chef/travis-cookbooks/ci_environment/libssl/recipes/default.rb +0 -24
- data/chef/travis-cookbooks/ci_environment/libxml/recipes/default.rb +0 -30
- data/chef/travis-cookbooks/ci_environment/libyaml/recipes/default.rb +0 -6
- data/chef/travis-cookbooks/ci_environment/lighttpd/attributes/default.rb +0 -3
- data/chef/travis-cookbooks/ci_environment/lighttpd/recipes/default.rb +0 -39
- data/chef/travis-cookbooks/ci_environment/lighttpd/templates/default/lighttpd.conf.erb +0 -166
- data/chef/travis-cookbooks/ci_environment/maven3/attributes/default.rb +0 -3
- data/chef/travis-cookbooks/ci_environment/maven3/files/default/settings.xml +0 -136
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/default.rb +0 -56
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/package.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/ppa.rb +0 -44
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/tarball.rb +0 -37
- data/chef/travis-cookbooks/ci_environment/maven3/templates/ubuntu-11.04/install_maven3.sh.erb +0 -32
- data/chef/travis-cookbooks/ci_environment/memcached/README.rdoc +0 -52
- data/chef/travis-cookbooks/ci_environment/memcached/attributes/default.rb +0 -5
- data/chef/travis-cookbooks/ci_environment/memcached/attributes/ppa.rb +0 -3
- data/chef/travis-cookbooks/ci_environment/memcached/definitions/memcached_instance.rb +0 -32
- data/chef/travis-cookbooks/ci_environment/memcached/metadata.rb +0 -33
- data/chef/travis-cookbooks/ci_environment/memcached/recipes/default.rb +0 -60
- data/chef/travis-cookbooks/ci_environment/memcached/recipes/ppa.rb +0 -34
- data/chef/travis-cookbooks/ci_environment/memcached/templates/default/memcached.conf.erb +0 -54
- data/chef/travis-cookbooks/ci_environment/memcached/templates/default/memcached.default.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/memcached/templates/default/sv-memcached-log-run.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/memcached/templates/default/sv-memcached-run.erb +0 -3
- data/chef/travis-cookbooks/ci_environment/mercurial/recipes/default.rb +0 -26
- data/chef/travis-cookbooks/ci_environment/mercurial/recipes/ppa.rb +0 -36
- data/chef/travis-cookbooks/ci_environment/mingw32/README.md +0 -21
- data/chef/travis-cookbooks/ci_environment/mingw32/metadata.rb +0 -10
- data/chef/travis-cookbooks/ci_environment/mingw32/recipes/default.rb +0 -23
- data/chef/travis-cookbooks/ci_environment/mongodb/.gitignore +0 -1
- data/chef/travis-cookbooks/ci_environment/mongodb/README.md +0 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/attributes/mongodb.rb +0 -67
- data/chef/travis-cookbooks/ci_environment/mongodb/files/default/mongodb.list +0 -1
- data/chef/travis-cookbooks/ci_environment/mongodb/files/default/mongodb.sysvinit.sh +0 -261
- data/chef/travis-cookbooks/ci_environment/mongodb/metadata.rb +0 -235
- data/chef/travis-cookbooks/ci_environment/mongodb/recipes/apt.rb +0 -65
- data/chef/travis-cookbooks/ci_environment/mongodb/recipes/default.rb +0 -23
- data/chef/travis-cookbooks/ci_environment/mongodb/recipes/server.rb +0 -46
- data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongod.upstart.erb +0 -16
- data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.conf.erb +0 -5
- data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.init.10gen.erb +0 -74
- data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.init.erb +0 -268
- data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.list.erb +0 -1
- data/chef/travis-cookbooks/ci_environment/mysql/README.md +0 -141
- data/chef/travis-cookbooks/ci_environment/mysql/attributes/default.rb +0 -1
- data/chef/travis-cookbooks/ci_environment/mysql/attributes/server.rb +0 -69
- data/chef/travis-cookbooks/ci_environment/mysql/attributes/server_on_ramfs.rb +0 -1
- data/chef/travis-cookbooks/ci_environment/mysql/libraries/database.rb +0 -19
- data/chef/travis-cookbooks/ci_environment/mysql/libraries/helpers.rb +0 -33
- data/chef/travis-cookbooks/ci_environment/mysql/metadata.rb +0 -76
- data/chef/travis-cookbooks/ci_environment/mysql/providers/database.rb +0 -81
- data/chef/travis-cookbooks/ci_environment/mysql/recipes/client.rb +0 -60
- data/chef/travis-cookbooks/ci_environment/mysql/recipes/default.rb +0 -20
- data/chef/travis-cookbooks/ci_environment/mysql/recipes/server.rb +0 -125
- data/chef/travis-cookbooks/ci_environment/mysql/recipes/server_on_ramfs.rb +0 -88
- data/chef/travis-cookbooks/ci_environment/mysql/resources/database.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/debian.cnf.erb +0 -12
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/grants.sql.erb +0 -33
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/init/mysql.conf.erb +0 -49
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/my.cnf.erb +0 -182
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/mysql-server.seed.erb +0 -10
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/port_mysql.erb +0 -3
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/ramfs/my.cnf.erb +0 -175
- data/chef/travis-cookbooks/ci_environment/neo4j-server/.gitignore +0 -4
- data/chef/travis-cookbooks/ci_environment/neo4j-server/README.md +0 -47
- data/chef/travis-cookbooks/ci_environment/neo4j-server/attributes/tarball.rb +0 -43
- data/chef/travis-cookbooks/ci_environment/neo4j-server/recipes/tarball.rb +0 -164
- data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-limits.conf.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-server.properties.erb +0 -75
- data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-wrapper.conf.erb +0 -26
- data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j.init.erb +0 -55
- data/chef/travis-cookbooks/ci_environment/networking_basic/recipes/default.rb +0 -39
- data/chef/travis-cookbooks/ci_environment/nodejs/attributes/multi.rb +0 -3
- data/chef/travis-cookbooks/ci_environment/nodejs/files/default/nvm.sh +0 -281
- data/chef/travis-cookbooks/ci_environment/nodejs/files/default/profile_entry.sh +0 -3
- data/chef/travis-cookbooks/ci_environment/nodejs/recipes/multi.rb +0 -79
- data/chef/travis-cookbooks/ci_environment/nodejs/templates/default/nvm.sh.erb +0 -3
- data/chef/travis-cookbooks/ci_environment/openssh/files/default/ssh_init.sh +0 -181
- data/chef/travis-cookbooks/ci_environment/openssh/files/default/sshd_config +0 -56
- data/chef/travis-cookbooks/ci_environment/openssh/recipes/default.rb +0 -42
- data/chef/travis-cookbooks/ci_environment/openssl/README.md +0 -37
- data/chef/travis-cookbooks/ci_environment/openssl/libraries/secure_password.rb +0 -37
- data/chef/travis-cookbooks/ci_environment/openssl/metadata.rb +0 -8
- data/chef/travis-cookbooks/ci_environment/openssl/recipes/default.rb +0 -19
- data/chef/travis-cookbooks/ci_environment/perlbrew/attributes/default.rb +0 -0
- data/chef/travis-cookbooks/ci_environment/perlbrew/attributes/multi.rb +0 -7
- data/chef/travis-cookbooks/ci_environment/perlbrew/files/default/perlbrew.sh +0 -7
- data/chef/travis-cookbooks/ci_environment/perlbrew/metadata.rb +0 -11
- data/chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb +0 -26
- data/chef/travis-cookbooks/ci_environment/perlbrew/recipes/multi.rb +0 -41
- data/chef/travis-cookbooks/ci_environment/phantomjs/attributes/default.rb +0 -10
- data/chef/travis-cookbooks/ci_environment/phantomjs/files/ubuntu/etc/profile.d/phantomjs.sh +0 -1
- data/chef/travis-cookbooks/ci_environment/phantomjs/metadata.rb +0 -3
- data/chef/travis-cookbooks/ci_environment/phantomjs/recipes/default.rb +0 -26
- data/chef/travis-cookbooks/ci_environment/phantomjs/recipes/tarball.rb +0 -69
- data/chef/travis-cookbooks/ci_environment/php/README.md +0 -5
- data/chef/travis-cookbooks/ci_environment/php/attributes/default.rb +0 -40
- data/chef/travis-cookbooks/ci_environment/php/metadata.rb +0 -10
- data/chef/travis-cookbooks/ci_environment/php/providers/pecl.rb +0 -73
- data/chef/travis-cookbooks/ci_environment/php/recipes/extensions.rb +0 -25
- data/chef/travis-cookbooks/ci_environment/php/recipes/multi.rb +0 -26
- data/chef/travis-cookbooks/ci_environment/php/resources/pecl.rb +0 -10
- data/chef/travis-cookbooks/ci_environment/phpbuild/attributes/default.rb +0 -19
- data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/after-install.d/phpunit.sh +0 -58
- data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/definitions/5.2.17 +0 -18
- data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/definitions/5.3.3 +0 -6
- data/chef/travis-cookbooks/ci_environment/phpbuild/metadata.rb +0 -5
- data/chef/travis-cookbooks/ci_environment/phpbuild/providers/build.rb +0 -56
- data/chef/travis-cookbooks/ci_environment/phpbuild/recipes/default.rb +0 -122
- data/chef/travis-cookbooks/ci_environment/phpbuild/resources/build.rb +0 -7
- data/chef/travis-cookbooks/ci_environment/phpbuild/templates/default/default_configure_options.erb +0 -42
- data/chef/travis-cookbooks/ci_environment/phpbuild/templates/default/travis.ini.erb +0 -9
- data/chef/travis-cookbooks/ci_environment/phpenv/attributes/default.rb +0 -6
- data/chef/travis-cookbooks/ci_environment/phpenv/files/default/phpenv.sh +0 -5
- data/chef/travis-cookbooks/ci_environment/phpenv/metadata.rb +0 -5
- data/chef/travis-cookbooks/ci_environment/phpenv/recipes/default.rb +0 -33
- data/chef/travis-cookbooks/ci_environment/postgresql/README.rdoc +0 -49
- data/chef/travis-cookbooks/ci_environment/postgresql/attributes/default.rb +0 -74
- data/chef/travis-cookbooks/ci_environment/postgresql/metadata.rb +0 -13
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/client.rb +0 -28
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/default.rb +0 -20
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server.rb +0 -83
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_debian.rb +0 -73
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_on_ramfs.rb +0 -32
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_redhat.rb +0 -84
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/30-shared-memory.conf.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/debian.pg_hba.conf.erb +0 -83
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/debian.postgresql.conf.erb +0 -234
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/ramfs.init.erb +0 -50
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/redhat.pg_hba.conf.erb +0 -74
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/redhat.postgresql.conf.erb +0 -502
- data/chef/travis-cookbooks/ci_environment/pypy/attributes/default.rb +0 -21
- data/chef/travis-cookbooks/ci_environment/pypy/files/default/etc/profile.d/pypy.sh +0 -1
- data/chef/travis-cookbooks/ci_environment/pypy/recipes/ppa.rb +0 -39
- data/chef/travis-cookbooks/ci_environment/pypy/recipes/tarball.rb +0 -54
- data/chef/travis-cookbooks/ci_environment/python/README.md +0 -162
- data/chef/travis-cookbooks/ci_environment/python/attributes/default.rb +0 -22
- data/chef/travis-cookbooks/ci_environment/python/files/default/virtualenv_settings.sh +0 -1
- data/chef/travis-cookbooks/ci_environment/python/metadata.json +0 -52
- data/chef/travis-cookbooks/ci_environment/python/metadata.rb +0 -17
- data/chef/travis-cookbooks/ci_environment/python/providers/pip.rb +0 -146
- data/chef/travis-cookbooks/ci_environment/python/providers/virtualenv.rb +0 -79
- data/chef/travis-cookbooks/ci_environment/python/recipes/default.rb +0 -21
- data/chef/travis-cookbooks/ci_environment/python/recipes/multi.rb +0 -157
- data/chef/travis-cookbooks/ci_environment/python/recipes/package.rb +0 -36
- data/chef/travis-cookbooks/ci_environment/python/recipes/pip.rb +0 -38
- data/chef/travis-cookbooks/ci_environment/python/recipes/virtualenv.rb +0 -32
- data/chef/travis-cookbooks/ci_environment/python/resources/pip.rb +0 -26
- data/chef/travis-cookbooks/ci_environment/python/resources/virtualenv.rb +0 -28
- data/chef/travis-cookbooks/ci_environment/rabbitmq/README.md +0 -86
- data/chef/travis-cookbooks/ci_environment/rabbitmq/attributes/default.rb +0 -11
- data/chef/travis-cookbooks/ci_environment/rabbitmq/metadata.rb +0 -63
- data/chef/travis-cookbooks/ci_environment/rabbitmq/providers/user.rb +0 -66
- data/chef/travis-cookbooks/ci_environment/rabbitmq/providers/vhost.rb +0 -34
- data/chef/travis-cookbooks/ci_environment/rabbitmq/recipes/default.rb +0 -67
- data/chef/travis-cookbooks/ci_environment/rabbitmq/recipes/with_management_plugin.rb +0 -15
- data/chef/travis-cookbooks/ci_environment/rabbitmq/resources/user.rb +0 -25
- data/chef/travis-cookbooks/ci_environment/rabbitmq/resources/vhost.rb +0 -22
- data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/doterlang.cookie.erb +0 -1
- data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq-env.conf.erb +0 -10
- data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq.config.erb +0 -5
- data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq_cluster.config.erb +0 -5
- data/chef/travis-cookbooks/ci_environment/ragel/recipes/custom.rb +0 -56
- data/chef/travis-cookbooks/ci_environment/ragel/recipes/default.rb +0 -28
- data/chef/travis-cookbooks/ci_environment/ramfs/attributes/default.rb +0 -1
- data/chef/travis-cookbooks/ci_environment/ramfs/recipes/default.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/rebar/README.md +0 -3
- data/chef/travis-cookbooks/ci_environment/rebar/attributes/default.rb +0 -2
- data/chef/travis-cookbooks/ci_environment/rebar/metadata.rb +0 -7
- data/chef/travis-cookbooks/ci_environment/rebar/recipes/default.rb +0 -26
- data/chef/travis-cookbooks/ci_environment/redis/attributes/default.rb +0 -10
- data/chef/travis-cookbooks/ci_environment/redis/recipes/default.rb +0 -68
- data/chef/travis-cookbooks/ci_environment/redis/recipes/ppa.rb +0 -42
- data/chef/travis-cookbooks/ci_environment/riak/.gitignore +0 -1
- data/chef/travis-cookbooks/ci_environment/riak/README.md +0 -161
- data/chef/travis-cookbooks/ci_environment/riak/attributes/api.rb +0 -21
- data/chef/travis-cookbooks/ci_environment/riak/attributes/bitcask.rb +0 -22
- data/chef/travis-cookbooks/ci_environment/riak/attributes/control.rb +0 -23
- data/chef/travis-cookbooks/ci_environment/riak/attributes/core.rb +0 -41
- data/chef/travis-cookbooks/ci_environment/riak/attributes/default.rb +0 -33
- data/chef/travis-cookbooks/ci_environment/riak/attributes/dets.rb +0 -20
- data/chef/travis-cookbooks/ci_environment/riak/attributes/eleveldb.rb +0 -6
- data/chef/travis-cookbooks/ci_environment/riak/attributes/erlang.rb +0 -30
- data/chef/travis-cookbooks/ci_environment/riak/attributes/err.rb +0 -21
- data/chef/travis-cookbooks/ci_environment/riak/attributes/innostore.rb +0 -28
- data/chef/travis-cookbooks/ci_environment/riak/attributes/kernel.rb +0 -22
- data/chef/travis-cookbooks/ci_environment/riak/attributes/kv.rb +0 -62
- data/chef/travis-cookbooks/ci_environment/riak/attributes/lager.rb +0 -31
- data/chef/travis-cookbooks/ci_environment/riak/attributes/merge.rb +0 -22
- data/chef/travis-cookbooks/ci_environment/riak/attributes/netdev.rb +0 -22
- data/chef/travis-cookbooks/ci_environment/riak/attributes/package.rb +0 -30
- data/chef/travis-cookbooks/ci_environment/riak/attributes/sasl.rb +0 -25
- data/chef/travis-cookbooks/ci_environment/riak/attributes/search.rb +0 -19
- data/chef/travis-cookbooks/ci_environment/riak/attributes/service.rb +0 -20
- data/chef/travis-cookbooks/ci_environment/riak/attributes/sysmon.rb +0 -25
- data/chef/travis-cookbooks/ci_environment/riak/libraries/riak_template_helper.rb +0 -180
- data/chef/travis-cookbooks/ci_environment/riak/metadata.rb +0 -32
- data/chef/travis-cookbooks/ci_environment/riak/providers/cluster.rb +0 -80
- data/chef/travis-cookbooks/ci_environment/riak/recipes/autoconf.rb +0 -47
- data/chef/travis-cookbooks/ci_environment/riak/recipes/config.rb +0 -70
- data/chef/travis-cookbooks/ci_environment/riak/recipes/default.rb +0 -162
- data/chef/travis-cookbooks/ci_environment/riak/recipes/innostore.rb +0 -74
- data/chef/travis-cookbooks/ci_environment/riak/recipes/iptables.rb +0 -25
- data/chef/travis-cookbooks/ci_environment/riak/resources/cluster.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/riak/templates/default/app.config.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/riak/templates/default/iptables.erb +0 -13
- data/chef/travis-cookbooks/ci_environment/riak/templates/default/vm.args.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/rvm/attributes/default.rb +0 -1
- data/chef/travis-cookbooks/ci_environment/rvm/attributes/multi.rb +0 -6
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/default.gems +0 -1
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/global.gems +0 -2
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/jruby/global.gems +0 -4
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/ruby/2.0.0/global.gems +0 -2
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/ruby/head/global.gems +0 -2
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/rvm.sh +0 -3
- data/chef/travis-cookbooks/ci_environment/rvm/metadata.json +0 -43
- data/chef/travis-cookbooks/ci_environment/rvm/metadata.rb +0 -25
- data/chef/travis-cookbooks/ci_environment/rvm/recipes/default.rb +0 -98
- data/chef/travis-cookbooks/ci_environment/rvm/recipes/multi.rb +0 -83
- data/chef/travis-cookbooks/ci_environment/rvm/templates/default/bundler_config.yml.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/rvm/templates/default/dot_rvmrc.sh.erb +0 -3
- data/chef/travis-cookbooks/ci_environment/sbt/CHANGELOG.md +0 -20
- data/chef/travis-cookbooks/ci_environment/sbt/LICENSE +0 -201
- data/chef/travis-cookbooks/ci_environment/sbt/README.md +0 -79
- data/chef/travis-cookbooks/ci_environment/sbt/attributes/default.rb +0 -36
- data/chef/travis-cookbooks/ci_environment/sbt/metadata.json +0 -42
- data/chef/travis-cookbooks/ci_environment/sbt/metadata.rb +0 -15
- data/chef/travis-cookbooks/ci_environment/sbt/recipes/default.rb +0 -119
- data/chef/travis-cookbooks/ci_environment/sbt/templates/default/jvmopts.erb +0 -7
- data/chef/travis-cookbooks/ci_environment/sbt/templates/default/sbtopts.erb +0 -54
- data/chef/travis-cookbooks/ci_environment/scons/recipes/default.rb +0 -3
- data/chef/travis-cookbooks/ci_environment/sphinx/README.md +0 -0
- data/chef/travis-cookbooks/ci_environment/sphinx/attributes/default.rb +0 -8
- data/chef/travis-cookbooks/ci_environment/sphinx/metadata.rb +0 -17
- data/chef/travis-cookbooks/ci_environment/sphinx/recipes/all.rb +0 -64
- data/chef/travis-cookbooks/ci_environment/sphinx/recipes/default.rb +0 -24
- data/chef/travis-cookbooks/ci_environment/sqlite/metadata.rb +0 -11
- data/chef/travis-cookbooks/ci_environment/sqlite/recipes/default.rb +0 -30
- data/chef/travis-cookbooks/ci_environment/sqlite/recipes/ppa.rb +0 -34
- data/chef/travis-cookbooks/ci_environment/subversion/recipes/default.rb +0 -24
- data/chef/travis-cookbooks/ci_environment/sweeper/recipes/default.rb +0 -45
- data/chef/travis-cookbooks/ci_environment/sysctl/attributes/default.rb +0 -5
- data/chef/travis-cookbooks/ci_environment/sysctl/recipes/default.rb +0 -6
- data/chef/travis-cookbooks/ci_environment/sysctl/templates/default/sysctl.conf.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/timezone/attributes/default.rb +0 -1
- data/chef/travis-cookbooks/ci_environment/timezone/metadata.json +0 -35
- data/chef/travis-cookbooks/ci_environment/timezone/metadata.rb +0 -9
- data/chef/travis-cookbooks/ci_environment/timezone/recipes/._default.rb +0 -0
- data/chef/travis-cookbooks/ci_environment/timezone/recipes/default.rb +0 -38
- data/chef/travis-cookbooks/ci_environment/timezone/templates/default/timezone.conf.erb +0 -1
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/attributes/default.rb +0 -20
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/dot_gemrc.yml +0 -1
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/known_hosts +0 -1
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/travis_environment.sh +0 -27
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/etc/default/locale.sh +0 -1
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/etc/sudoers/env_keep +0 -1
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/root/recover_eth0.sh +0 -8
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/ci_user.rb +0 -104
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/default.rb +0 -134
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/root.rb +0 -48
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/ci_user/ci_environment_metadata.yml.erb +0 -2
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/ci_user/dot_bashrc.sh.erb +0 -111
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/apt/assumeyes.erb +0 -1
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/apt/timeouts.erb +0 -3
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/environment.sh.erb +0 -11
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/hostname.erb +0 -12
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/hosts.erb +0 -30
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/security/limits.conf.erb +0 -62
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/root/dot_bashrc.sh.erb +0 -88
- data/chef/travis-cookbooks/ci_environment/unarchivers/recipes/default.rb +0 -29
- data/chef/travis-cookbooks/ci_environment/util-linux/recipes/default.rb +0 -5
- data/chef/travis-cookbooks/ci_environment/vim/README.md +0 -39
- data/chef/travis-cookbooks/ci_environment/vim/attributes/default.rb +0 -20
- data/chef/travis-cookbooks/ci_environment/vim/metadata.rb +0 -6
- data/chef/travis-cookbooks/ci_environment/vim/recipes/default.rb +0 -24
- data/chef/travis-cookbooks/ci_environment/xserver/files/default/etc/init.d/xvfb.sh +0 -24
- data/chef/travis-cookbooks/ci_environment/xserver/metadata.rb +0 -3
- data/chef/travis-cookbooks/ci_environment/xserver/recipes/default.rb +0 -37
- data/chef/travis-cookbooks/ci_environment/zeromq/recipes/default.rb +0 -27
- data/chef/travis-cookbooks/ci_environment/zeromq/recipes/ppa.rb +0 -33
- data/chef/travis-cookbooks/ci_environment/zookeeper/recipes/cdh4.rb +0 -51
- data/chef/travis-cookbooks/worker_host/.gitignore +0 -1
- data/chef/travis-cookbooks/worker_host/ant/README.md +0 -51
- data/chef/travis-cookbooks/worker_host/ant/metadata.rb +0 -12
- data/chef/travis-cookbooks/worker_host/ant/recipes/default.rb +0 -36
- data/chef/travis-cookbooks/worker_host/apt/README.md +0 -109
- data/chef/travis-cookbooks/worker_host/apt/files/default/apt-cacher +0 -9
- data/chef/travis-cookbooks/worker_host/apt/files/default/apt-cacher.conf +0 -144
- data/chef/travis-cookbooks/worker_host/apt/files/default/apt-proxy-v2.conf +0 -50
- data/chef/travis-cookbooks/worker_host/apt/metadata.json +0 -34
- data/chef/travis-cookbooks/worker_host/apt/metadata.rb +0 -13
- data/chef/travis-cookbooks/worker_host/apt/providers/repository.rb +0 -72
- data/chef/travis-cookbooks/worker_host/apt/recipes/cacher-client.rb +0 -37
- data/chef/travis-cookbooks/worker_host/apt/recipes/cacher.rb +0 -45
- data/chef/travis-cookbooks/worker_host/apt/recipes/default.rb +0 -33
- data/chef/travis-cookbooks/worker_host/apt/resources/repository.rb +0 -30
- data/chef/travis-cookbooks/worker_host/build-essential/README.md +0 -24
- data/chef/travis-cookbooks/worker_host/build-essential/metadata.rb +0 -10
- data/chef/travis-cookbooks/worker_host/build-essential/recipes/default.rb +0 -45
- data/chef/travis-cookbooks/worker_host/chef-client/CHANGELOG.md +0 -29
- data/chef/travis-cookbooks/worker_host/chef-client/CONTRIBUTING +0 -29
- data/chef/travis-cookbooks/worker_host/chef-client/LICENSE +0 -201
- data/chef/travis-cookbooks/worker_host/chef-client/README.md +0 -265
- data/chef/travis-cookbooks/worker_host/chef-client/attributes/default.rb +0 -70
- data/chef/travis-cookbooks/worker_host/chef-client/metadata.json +0 -44
- data/chef/travis-cookbooks/worker_host/chef-client/metadata.rb +0 -15
- data/chef/travis-cookbooks/worker_host/chef-client/recipes/config.rb +0 -53
- data/chef/travis-cookbooks/worker_host/chef-client/recipes/cron.rb +0 -83
- data/chef/travis-cookbooks/worker_host/chef-client/recipes/default.rb +0 -20
- data/chef/travis-cookbooks/worker_host/chef-client/recipes/delete_validation.rb +0 -26
- data/chef/travis-cookbooks/worker_host/chef-client/recipes/service.rb +0 -242
- data/chef/travis-cookbooks/worker_host/chef-client/templates/arch/conf.d/chef-client.conf.erb +0 -5
- data/chef/travis-cookbooks/worker_host/chef-client/templates/arch/rc.d/chef-client.erb +0 -76
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/chef-client.pill.erb +0 -14
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/client.rb.erb +0 -36
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/default/chef-client.erb +0 -4
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/init.d/chef-client.erb +0 -185
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/init/chef-client.conf.erb +0 -17
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/redhat/init.d/chef-client.erb +0 -110
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/redhat/sysconfig/chef-client.erb +0 -15
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/solaris/chef-client.erb +0 -78
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/solaris/manifest.xml.erb +0 -103
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/sv-chef-client-log-run.erb +0 -2
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/sv-chef-client-run.erb +0 -4
- data/chef/travis-cookbooks/worker_host/chef-client/templates/windows/chef-client.xml.erb +0 -38
- data/chef/travis-cookbooks/worker_host/chef_handler/CHANGELOG.md +0 -12
- data/chef/travis-cookbooks/worker_host/chef_handler/CONTRIBUTING +0 -29
- data/chef/travis-cookbooks/worker_host/chef_handler/LICENSE +0 -201
- data/chef/travis-cookbooks/worker_host/chef_handler/README.md +0 -103
- data/chef/travis-cookbooks/worker_host/chef_handler/attributes/default.rb +0 -21
- data/chef/travis-cookbooks/worker_host/chef_handler/files/default/handlers/README +0 -1
- data/chef/travis-cookbooks/worker_host/chef_handler/files/default/handlers/campfire_handler.rb +0 -61
- data/chef/travis-cookbooks/worker_host/chef_handler/metadata.json +0 -29
- data/chef/travis-cookbooks/worker_host/chef_handler/metadata.rb +0 -6
- data/chef/travis-cookbooks/worker_host/chef_handler/providers/default.rb +0 -83
- data/chef/travis-cookbooks/worker_host/chef_handler/recipes/campfire.rb +0 -15
- data/chef/travis-cookbooks/worker_host/chef_handler/recipes/default.rb +0 -31
- data/chef/travis-cookbooks/worker_host/chef_handler/recipes/json_file.rb +0 -28
- data/chef/travis-cookbooks/worker_host/chef_handler/resources/default.rb +0 -34
- data/chef/travis-cookbooks/worker_host/collectd-librato/.gitignore +0 -1
- data/chef/travis-cookbooks/worker_host/collectd-librato/README.md +0 -22
- data/chef/travis-cookbooks/worker_host/collectd-librato/attributes/collectd_librato.rb +0 -4
- data/chef/travis-cookbooks/worker_host/collectd-librato/metadata.rb +0 -11
- data/chef/travis-cookbooks/worker_host/collectd-librato/recipes/default.rb +0 -41
- data/chef/travis-cookbooks/worker_host/collectd/README.rdoc +0 -85
- data/chef/travis-cookbooks/worker_host/collectd/attributes/default.rb +0 -33
- data/chef/travis-cookbooks/worker_host/collectd/definitions/collectd_plugin.rb +0 -52
- data/chef/travis-cookbooks/worker_host/collectd/libraries/default.rb +0 -47
- data/chef/travis-cookbooks/worker_host/collectd/metadata.rb +0 -15
- data/chef/travis-cookbooks/worker_host/collectd/recipes/client.rb +0 -33
- data/chef/travis-cookbooks/worker_host/collectd/recipes/collectd_web.rb +0 -49
- data/chef/travis-cookbooks/worker_host/collectd/recipes/default.rb +0 -90
- data/chef/travis-cookbooks/worker_host/collectd/recipes/server.rb +0 -24
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/collectd.conf.erb +0 -23
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/collectd_web.conf.erb +0 -32
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/collection.conf.erb +0 -2
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/plugin.conf.erb +0 -15
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/python_plugin.conf.erb +0 -20
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/thresholds.conf.erb +0 -37
- data/chef/travis-cookbooks/worker_host/disks/attributes/default.rb +0 -1
- data/chef/travis-cookbooks/worker_host/disks/recipes/default.rb +0 -15
- data/chef/travis-cookbooks/worker_host/emacs/emacs/metadata.rb +0 -11
- data/chef/travis-cookbooks/worker_host/emacs/emacs/recipes/default.rb +0 -21
- data/chef/travis-cookbooks/worker_host/emacs/metadata.rb +0 -11
- data/chef/travis-cookbooks/worker_host/emacs/recipes/default.rb +0 -21
- data/chef/travis-cookbooks/worker_host/git/README.rdoc +0 -37
- data/chef/travis-cookbooks/worker_host/git/metadata.rb +0 -11
- data/chef/travis-cookbooks/worker_host/git/recipes/default.rb +0 -24
- data/chef/travis-cookbooks/worker_host/git/templates/default/sv-git-daemon-log-run.erb +0 -2
- data/chef/travis-cookbooks/worker_host/git/templates/default/sv-git-daemon-run.erb +0 -3
- data/chef/travis-cookbooks/worker_host/iptables/files/default/iptables_rules +0 -13
- data/chef/travis-cookbooks/worker_host/iptables/metadata.rb +0 -10
- data/chef/travis-cookbooks/worker_host/iptables/recipes/default.rb +0 -48
- data/chef/travis-cookbooks/worker_host/iptables/templates/default/iptables_load.erb +0 -3
- data/chef/travis-cookbooks/worker_host/java/README.md +0 -102
- data/chef/travis-cookbooks/worker_host/java/attributes/default.rb +0 -29
- data/chef/travis-cookbooks/worker_host/java/files/default/java.seed +0 -11
- data/chef/travis-cookbooks/worker_host/java/metadata.rb +0 -16
- data/chef/travis-cookbooks/worker_host/java/recipes/default.rb +0 -61
- data/chef/travis-cookbooks/worker_host/java/recipes/openjdk.rb +0 -54
- data/chef/travis-cookbooks/worker_host/java/recipes/sun.rb +0 -49
- data/chef/travis-cookbooks/worker_host/jruby/attributes/default.rb +0 -5
- data/chef/travis-cookbooks/worker_host/jruby/metadata.rb +0 -8
- data/chef/travis-cookbooks/worker_host/jruby/recipes/default.rb +0 -24
- data/chef/travis-cookbooks/worker_host/monit/attributes/default.rb +0 -3
- data/chef/travis-cookbooks/worker_host/monit/files/default/default.monit +0 -1
- data/chef/travis-cookbooks/worker_host/monit/recipes/default.rb +0 -56
- data/chef/travis-cookbooks/worker_host/monit/templates/default/alerts.erb +0 -12
- data/chef/travis-cookbooks/worker_host/monit/templates/default/filesystems.erb +0 -6
- data/chef/travis-cookbooks/worker_host/monit/templates/default/monitrc.erb +0 -6
- data/chef/travis-cookbooks/worker_host/monit/templates/default/system.erb +0 -4
- data/chef/travis-cookbooks/worker_host/networking_basic/README.rdoc +0 -8
- data/chef/travis-cookbooks/worker_host/networking_basic/metadata.json +0 -35
- data/chef/travis-cookbooks/worker_host/networking_basic/metadata.rb +0 -10
- data/chef/travis-cookbooks/worker_host/networking_basic/recipes/default.rb +0 -32
- data/chef/travis-cookbooks/worker_host/ntp/.gitignore +0 -1
- data/chef/travis-cookbooks/worker_host/ntp/.travis.yml +0 -6
- data/chef/travis-cookbooks/worker_host/ntp/CHANGELOG.md +0 -35
- data/chef/travis-cookbooks/worker_host/ntp/CONTRIBUTING +0 -29
- data/chef/travis-cookbooks/worker_host/ntp/LICENSE +0 -201
- data/chef/travis-cookbooks/worker_host/ntp/README.md +0 -163
- data/chef/travis-cookbooks/worker_host/ntp/Rakefile +0 -19
- data/chef/travis-cookbooks/worker_host/ntp/TESTING.md +0 -213
- data/chef/travis-cookbooks/worker_host/ntp/attributes/default.rb +0 -54
- data/chef/travis-cookbooks/worker_host/ntp/attributes/ntpdate.rb +0 -21
- data/chef/travis-cookbooks/worker_host/ntp/chefignore +0 -19
- data/chef/travis-cookbooks/worker_host/ntp/files/default/ntp.leapseconds +0 -222
- data/chef/travis-cookbooks/worker_host/ntp/metadata.json +0 -117
- data/chef/travis-cookbooks/worker_host/ntp/metadata.rb +0 -45
- data/chef/travis-cookbooks/worker_host/ntp/recipes/default.rb +0 -50
- data/chef/travis-cookbooks/worker_host/ntp/recipes/disable.rb +0 -22
- data/chef/travis-cookbooks/worker_host/ntp/recipes/ntpdate.rb +0 -36
- data/chef/travis-cookbooks/worker_host/ntp/recipes/undo.rb +0 -36
- data/chef/travis-cookbooks/worker_host/ntp/templates/default/ntp.conf.erb +0 -55
- data/chef/travis-cookbooks/worker_host/ntp/templates/default/ntpdate.erb +0 -14
- data/chef/travis-cookbooks/worker_host/runit/CHANGELOG.md +0 -3
- data/chef/travis-cookbooks/worker_host/runit/CONTRIBUTING +0 -29
- data/chef/travis-cookbooks/worker_host/runit/LICENSE +0 -201
- data/chef/travis-cookbooks/worker_host/runit/README.md +0 -226
- data/chef/travis-cookbooks/worker_host/runit/attributes/default.rb +0 -31
- data/chef/travis-cookbooks/worker_host/runit/definitions/runit_service.rb +0 -164
- data/chef/travis-cookbooks/worker_host/runit/files/default/runit.seed +0 -1
- data/chef/travis-cookbooks/worker_host/runit/files/default/runsvdir +0 -0
- data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-6.10/runsvdir +0 -6
- data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-7.04/runsvdir +0 -7
- data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-7.10/runsvdir +0 -7
- data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-8.04/runsvdir +0 -7
- data/chef/travis-cookbooks/worker_host/runit/metadata.json +0 -102
- data/chef/travis-cookbooks/worker_host/runit/metadata.rb +0 -37
- data/chef/travis-cookbooks/worker_host/runit/recipes/default.rb +0 -72
- data/chef/travis-cookbooks/worker_host/runit/templates/gentoo/runit-start.sh.erb +0 -32
- data/chef/travis-cookbooks/worker_host/rvm/attributes/default.rb +0 -20
- data/chef/travis-cookbooks/worker_host/rvm/attributes/install.rb +0 -1
- data/chef/travis-cookbooks/worker_host/rvm/attributes/ree.rb +0 -1
- data/chef/travis-cookbooks/worker_host/rvm/attributes/ruby_187.rb +0 -2
- data/chef/travis-cookbooks/worker_host/rvm/attributes/ruby_192.rb +0 -2
- data/chef/travis-cookbooks/worker_host/rvm/files/default/rvm.sh +0 -1
- data/chef/travis-cookbooks/worker_host/rvm/metadata.rb +0 -27
- data/chef/travis-cookbooks/worker_host/rvm/recipes/default.rb +0 -27
- data/chef/travis-cookbooks/worker_host/rvm/recipes/install.rb +0 -36
- data/chef/travis-cookbooks/worker_host/rvm/recipes/multi.rb +0 -48
- data/chef/travis-cookbooks/worker_host/rvm/recipes/ree.rb +0 -6
- data/chef/travis-cookbooks/worker_host/rvm/recipes/ruby_187.rb +0 -7
- data/chef/travis-cookbooks/worker_host/rvm/recipes/ruby_192.rb +0 -7
- data/chef/travis-cookbooks/worker_host/ssh/recipes/sshd.rb +0 -12
- data/chef/travis-cookbooks/worker_host/ssh/templates/default/sshd_config.erb +0 -87
- data/chef/travis-cookbooks/worker_host/sudo/attributes/sudoers.rb +0 -2
- data/chef/travis-cookbooks/worker_host/sudo/recipes/default.rb +0 -14
- data/chef/travis-cookbooks/worker_host/sudo/templates/default/sudoers.erb +0 -19
- data/chef/travis-cookbooks/worker_host/travis_worker/attributes/default.rb +0 -20
- data/chef/travis-cookbooks/worker_host/travis_worker/files/default/signal_wrapper.rb +0 -22
- data/chef/travis-cookbooks/worker_host/travis_worker/metadata.rb +0 -6
- data/chef/travis-cookbooks/worker_host/travis_worker/recipes/bluebox.rb +0 -97
- data/chef/travis-cookbooks/worker_host/travis_worker/recipes/default.rb +0 -140
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/sv-travis-worker-log-run.erb +0 -2
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/sv-travis-worker-run.erb +0 -4
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/travis-worker.monitrc.erb +0 -3
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/worker-bluebox.yml.erb +0 -21
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/worker.yml.erb +0 -10
- data/chef/travis-cookbooks/worker_host/travis_worker_collectd/metadata.rb +0 -2
- data/chef/travis-cookbooks/worker_host/travis_worker_collectd/recipes/bluebox.rb +0 -15
- data/chef/travis-cookbooks/worker_host/travis_worker_collectd/recipes/default.rb +0 -12
- data/chef/travis-cookbooks/worker_host/users/attributes/default.rb +0 -2
- data/chef/travis-cookbooks/worker_host/users/metadata.rb +0 -9
- data/chef/travis-cookbooks/worker_host/users/recipes/default.rb +0 -88
- data/chef/travis-cookbooks/worker_host/users/templates/default/authorized_keys.pub +0 -4
- data/chef/travis-cookbooks/worker_host/vim/README.md +0 -39
- data/chef/travis-cookbooks/worker_host/vim/attributes/default.rb +0 -20
- data/chef/travis-cookbooks/worker_host/vim/metadata.rb +0 -6
- data/chef/travis-cookbooks/worker_host/vim/recipes/default.rb +0 -24
- data/chef/travis-cookbooks/worker_host/virtualbox/attributes/default.rb +0 -0
- data/chef/travis-cookbooks/worker_host/virtualbox/metadata.rb +0 -11
- data/chef/travis-cookbooks/worker_host/virtualbox/recipes/default.rb +0 -13
- data/cookbooks/.gitkeep +0 -3
- data/lib/lobot/amazon.rb +0 -105
- data/lib/lobot/cli.rb +0 -172
- data/lib/lobot/config.rb +0 -212
- data/lib/lobot/configuration_wizard.rb +0 -117
- data/lib/lobot/keychain.rb +0 -36
- data/lib/lobot/password.rb +0 -13
- data/lib/lobot/sobo.rb +0 -79
- data/lib/lobot/templates/default_rails_build_script.sh +0 -13
- data/lib/lobot/version.rb +0 -3
- data/lobot.gemspec +0 -38
- data/script/bootstrap_server.sh +0 -35
- data/script/ci_build.sh +0 -13
- data/spec/assets/test_cert.crt +0 -18
- data/spec/fixtures/ssh_keys/vagrant_test_key +0 -27
- data/spec/fixtures/ssh_keys/vagrant_test_key.pub +0 -1
- data/spec/lib/lobot/amazon_spec.rb +0 -168
- data/spec/lib/lobot/cli_spec.rb +0 -281
- data/spec/lib/lobot/config_spec.rb +0 -297
- data/spec/lib/lobot/configuration_wizard_spec.rb +0 -347
- data/spec/lib/lobot/keychain_spec.rb +0 -33
- data/spec/lib/lobot/password_spec.rb +0 -15
- data/spec/spec_helper.rb +0 -24
- data/templates/Gemfile-remote +0 -4
@@ -1,103 +0,0 @@
|
|
1
|
-
Description
|
2
|
-
===========
|
3
|
-
|
4
|
-
Creates a configured handler path for distributing [Chef report and exception handlers](http://wiki.opscode.com/display/chef/Exception+and+Report+Handlers). Also exposes an LWRP for enabling Chef handlers from within recipe code (as opposed to hard coding in the client.rb file). This is useful for cookbook authors who may want to ship a product specific handler (see the `cloudkick` cookbook for an example) with their cookbook.
|
5
|
-
|
6
|
-
Attributes
|
7
|
-
==========
|
8
|
-
|
9
|
-
`node["chef_handler"]["handler_path"]` - location to drop off handlers directory, default is `/var/chef/handlers`.
|
10
|
-
|
11
|
-
Resource/Provider
|
12
|
-
=================
|
13
|
-
|
14
|
-
`chef_handler`
|
15
|
-
--------------
|
16
|
-
|
17
|
-
Requires, configures and enables handlers on the node for the current Chef run. Also has the ability to pass arguments to the handlers initializer. This allows initialization data to be pulled from a node's attribute data.
|
18
|
-
|
19
|
-
It is best to declare `chef_handler` resources early on in the compile phase so they are available to fire for any exceptions during the Chef run. If you have a base role you would want any recipes that register Chef handlers to come first in the run_list.
|
20
|
-
|
21
|
-
### Actions
|
22
|
-
|
23
|
-
- :enable: Enables the Chef handler for the current Chef run on the current node
|
24
|
-
- :disable: Disables the Chef handler for the current Chef run on the current node
|
25
|
-
|
26
|
-
### Attribute Parameters
|
27
|
-
|
28
|
-
- class_name: name attribute. The name of the handler class (can be module name-spaced).
|
29
|
-
- source: full path to the handler file. can also be a gem path if the handler ships as part of a Ruby gem.
|
30
|
-
- arguments: an array of arguments to pass the handler's class initializer
|
31
|
-
- supports: type of Chef Handler to register as, ie :report, :exception or both. default is `:report => true, :exception => true`
|
32
|
-
|
33
|
-
### Example
|
34
|
-
|
35
|
-
# register the Chef::Handler::JsonFile handler
|
36
|
-
# that ships with the Chef gem
|
37
|
-
chef_handler "Chef::Handler::JsonFile" do
|
38
|
-
source "chef/handler/json_file"
|
39
|
-
arguments :path => '/var/chef/reports'
|
40
|
-
action :enable
|
41
|
-
end
|
42
|
-
|
43
|
-
# do the same but during the compile phase
|
44
|
-
chef_handler "Chef::Handler::JsonFile" do
|
45
|
-
source "chef/handler/json_file"
|
46
|
-
arguments :path => '/var/chef/reports'
|
47
|
-
action :nothing
|
48
|
-
end.run_action(:enable)
|
49
|
-
|
50
|
-
# handle exceptions only
|
51
|
-
chef_handler "Chef::Handler::JsonFile" do
|
52
|
-
source "chef/handler/json_file"
|
53
|
-
arguments :path => '/var/chef/reports'
|
54
|
-
supports :exception => true
|
55
|
-
action :enable
|
56
|
-
end
|
57
|
-
|
58
|
-
|
59
|
-
# enable the CloudkickHandler which was
|
60
|
-
# dropped off in the default handler path.
|
61
|
-
# passes the oauth key/secret to the handler's
|
62
|
-
# intializer.
|
63
|
-
chef_handler "CloudkickHandler" do
|
64
|
-
source "#{node['chef_handler']['handler_path']}/cloudkick_handler.rb"
|
65
|
-
arguments [node['cloudkick']['oauth_key'], node['cloudkick']['oauth_secret']]
|
66
|
-
action :enable
|
67
|
-
end
|
68
|
-
|
69
|
-
|
70
|
-
Usage
|
71
|
-
=====
|
72
|
-
|
73
|
-
default
|
74
|
-
-------
|
75
|
-
|
76
|
-
Put the recipe `chef_handler` at the start of the node's run list to make sure that custom handlers are dropped off early on in the Chef run and available for later recipes.
|
77
|
-
|
78
|
-
For information on how to write report and exception handlers for Chef, please see the Chef wiki pages:
|
79
|
-
http://wiki.opscode.com/display/chef/Exception+and+Report+Handlers
|
80
|
-
|
81
|
-
json_file
|
82
|
-
---------
|
83
|
-
|
84
|
-
Leverages the `chef_handler` LWRP to automatically register the `Chef::Handler::JsonFile` handler that ships as part of Chef. This handler serializes the run status data to a JSON file located at `/var/chef/reports`.
|
85
|
-
|
86
|
-
License and Author
|
87
|
-
==================
|
88
|
-
|
89
|
-
Author:: Seth Chisamore (<schisamo@opscode.com>)
|
90
|
-
|
91
|
-
Copyright:: 2011, Opscode, Inc
|
92
|
-
|
93
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
94
|
-
you may not use this file except in compliance with the License.
|
95
|
-
You may obtain a copy of the License at
|
96
|
-
|
97
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
98
|
-
|
99
|
-
Unless required by applicable law or agreed to in writing, software
|
100
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
101
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
102
|
-
See the License for the specific language governing permissions and
|
103
|
-
limitations under the License.
|
@@ -1,21 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Seth Chisamore (<schisamo@opscode.com>)
|
3
|
-
# Cookbook Name:: chef_handlers
|
4
|
-
# Attribute:: default
|
5
|
-
#
|
6
|
-
# Copyright 2011, Opscode, Inc
|
7
|
-
#
|
8
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
-
# you may not use this file except in compliance with the License.
|
10
|
-
# You may obtain a copy of the License at
|
11
|
-
#
|
12
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
#
|
14
|
-
# Unless required by applicable law or agreed to in writing, software
|
15
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
-
# See the License for the specific language governing permissions and
|
18
|
-
# limitations under the License.
|
19
|
-
#
|
20
|
-
|
21
|
-
default["chef_handler"]["handler_path"] = "#{File.expand_path(File.join(Chef::Config[:file_cache_path],'..'))}/handlers"
|
@@ -1 +0,0 @@
|
|
1
|
-
This directory contains Chef handlers to distribute to your nodes.
|
data/chef/travis-cookbooks/worker_host/chef_handler/files/default/handlers/campfire_handler.rb
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Greg Albrecht (<gba@gregalbrecht.com>)
|
3
|
-
# Copyright:: Copyright (c) 2011 Splunk, Inc.
|
4
|
-
# License:: Apache License, Version 2.0
|
5
|
-
#
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
# See the License for the specific language governing permissions and
|
16
|
-
# limitations under the License.
|
17
|
-
#
|
18
|
-
# See Also
|
19
|
-
# http://wiki.opscode.com/display/chef/Exception+and+Report+Handlers
|
20
|
-
# https://github.com/ajsharp/campfire_notifier
|
21
|
-
# https://github.com/jnunemaker/httparty
|
22
|
-
# https://github.com/mojotech/hipchat/blob/master/lib/hipchat/chef.rb
|
23
|
-
# https://github.com/morgoth/hoptoad_handler
|
24
|
-
#
|
25
|
-
#
|
26
|
-
# Requirements
|
27
|
-
# HTTParty gem: $ sudo gem install httparty
|
28
|
-
#
|
29
|
-
# Usage
|
30
|
-
# 1. Add these two lines to your /etc/chef/client.rb
|
31
|
-
# require 'campfire_handler'
|
32
|
-
# exception_handlers << CampfireHandler.new(:subdomain => 'mycampfire', :token => 'xxx', :room_id => '123')
|
33
|
-
# 2. Copy this file into /var/chef/handler/
|
34
|
-
#
|
35
|
-
|
36
|
-
require "chef"
|
37
|
-
require "chef/handler"
|
38
|
-
require 'rubygems'
|
39
|
-
require 'httparty'
|
40
|
-
require 'json'
|
41
|
-
|
42
|
-
class CampfireHandler < Chef::Handler
|
43
|
-
include HTTParty
|
44
|
-
|
45
|
-
headers 'Content-type' => 'application/json'
|
46
|
-
format :json
|
47
|
-
|
48
|
-
def initialize(opts = {})
|
49
|
-
@config = opts
|
50
|
-
end
|
51
|
-
|
52
|
-
def report()
|
53
|
-
if run_status.failed?
|
54
|
-
Chef::Log.error("Creating Campfire exception report")
|
55
|
-
CampfireHandler.base_uri "https://#{@config[:subdomain]}.campfirenow.com"
|
56
|
-
CampfireHandler.basic_auth @config[:token], 'x'
|
57
|
-
CampfireHandler.post "/room/#{@config[:room_id]}/speak.json", :body => { :message => { :body => "#{node.hostname} #{run_status.formatted_exception}", :type => 'TextMessage' } }.to_json
|
58
|
-
CampfireHandler.post "/room/#{@config[:room_id]}/speak.json", :body => { :message => { :body => Array(backtrace).join("\n"), :type => 'PasteMessage' } }.to_json
|
59
|
-
end
|
60
|
-
end
|
61
|
-
end
|
@@ -1,29 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "chef_handler",
|
3
|
-
"description": "Distribute and enable Chef Exception and Report handlers",
|
4
|
-
"long_description": "Description\n===========\n\nCreates a configured handler path for distributing [Chef report and exception handlers](http://wiki.opscode.com/display/chef/Exception+and+Report+Handlers). Also exposes an LWRP for enabling Chef handlers from within recipe code (as opposed to hard coding in the client.rb file). This is useful for cookbook authors who may want to ship a product specific handler (see the `cloudkick` cookbook for an example) with their cookbook.\n\nAttributes\n==========\n\n`node[\"chef_handler\"][\"handler_path\"]` - location to drop off handlers directory, default is `/var/chef/handlers`.\n\nResource/Provider\n=================\n\n`chef_handler`\n--------------\n\nRequires, configures and enables handlers on the node for the current Chef run. Also has the ability to pass arguments to the handlers initializer. This allows initialization data to be pulled from a node's attribute data.\n\nIt is best to declare `chef_handler` resources early on in the compile phase so they are available to fire for any exceptions during the Chef run. If you have a base role you would want any recipes that register Chef handlers to come first in the run_list.\n\n### Actions\n\n- :enable: Enables the Chef handler for the current Chef run on the current node\n- :disable: Disables the Chef handler for the current Chef run on the current node\n\n### Attribute Parameters\n\n- class_name: name attribute. The name of the handler class (can be module name-spaced).\n- source: full path to the handler file. can also be a gem path if the handler ships as part of a Ruby gem.\n- arguments: an array of arguments to pass the handler's class initializer\n- supports: type of Chef Handler to register as, ie :report, :exception or both. default is `:report => true, :exception => true`\n\n### Example\n\n # register the Chef::Handler::JsonFile handler\n # that ships with the Chef gem\n chef_handler \"Chef::Handler::JsonFile\" do\n source \"chef/handler/json_file\"\n arguments :path => '/var/chef/reports'\n action :enable\n end\n\n # do the same but during the compile phase\n chef_handler \"Chef::Handler::JsonFile\" do\n source \"chef/handler/json_file\"\n arguments :path => '/var/chef/reports'\n action :nothing\n end.run_action(:enable)\n\n # handle exceptions only\n chef_handler \"Chef::Handler::JsonFile\" do\n source \"chef/handler/json_file\"\n arguments :path => '/var/chef/reports'\n supports :exception => true\n action :enable\n end\n\n\n # enable the CloudkickHandler which was\n # dropped off in the default handler path.\n # passes the oauth key/secret to the handler's\n # intializer.\n chef_handler \"CloudkickHandler\" do\n source \"#{node['chef_handler']['handler_path']}/cloudkick_handler.rb\"\n arguments [node['cloudkick']['oauth_key'], node['cloudkick']['oauth_secret']]\n action :enable\n end\n\n\nUsage\n=====\n\ndefault\n-------\n\nPut the recipe `chef_handler` at the start of the node's run list to make sure that custom handlers are dropped off early on in the Chef run and available for later recipes.\n\nFor information on how to write report and exception handlers for Chef, please see the Chef wiki pages:\nhttp://wiki.opscode.com/display/chef/Exception+and+Report+Handlers\n\njson_file\n---------\n\nLeverages the `chef_handler` LWRP to automatically register the `Chef::Handler::JsonFile` handler that ships as part of Chef. This handler serializes the run status data to a JSON file located at `/var/chef/reports`.\n\nLicense and Author\n==================\n\nAuthor:: Seth Chisamore (<schisamo@opscode.com>)\n\nCopyright:: 2011, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
|
5
|
-
"maintainer": "Opscode, Inc.",
|
6
|
-
"maintainer_email": "cookbooks@opscode.com",
|
7
|
-
"license": "Apache 2.0",
|
8
|
-
"platforms": {
|
9
|
-
},
|
10
|
-
"dependencies": {
|
11
|
-
},
|
12
|
-
"recommendations": {
|
13
|
-
},
|
14
|
-
"suggestions": {
|
15
|
-
},
|
16
|
-
"conflicting": {
|
17
|
-
},
|
18
|
-
"providing": {
|
19
|
-
},
|
20
|
-
"replacing": {
|
21
|
-
},
|
22
|
-
"attributes": {
|
23
|
-
},
|
24
|
-
"groupings": {
|
25
|
-
},
|
26
|
-
"recipes": {
|
27
|
-
},
|
28
|
-
"version": "1.0.6"
|
29
|
-
}
|
@@ -1,83 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Seth Chisamore <schisamo@opscode.com>
|
3
|
-
# Cookbook Name:: chef_handler
|
4
|
-
# Provider:: default
|
5
|
-
#
|
6
|
-
# Copyright:: 2011, Opscode, Inc <legal@opscode.com>
|
7
|
-
#
|
8
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
-
# you may not use this file except in compliance with the License.
|
10
|
-
# You may obtain a copy of the License at
|
11
|
-
#
|
12
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
#
|
14
|
-
# Unless required by applicable law or agreed to in writing, software
|
15
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
-
# See the License for the specific language governing permissions and
|
18
|
-
# limitations under the License.
|
19
|
-
#
|
20
|
-
|
21
|
-
action :enable do
|
22
|
-
# use load instead of require to ensure the handler file
|
23
|
-
# is reloaded into memory each chef run. fixes COOK-620
|
24
|
-
begin
|
25
|
-
Object.send(:remove_const, klass)
|
26
|
-
GC.start
|
27
|
-
rescue
|
28
|
-
Chef::Log.debug("#{@new_resource.class_name} has not been loaded.")
|
29
|
-
end
|
30
|
-
file_name = @new_resource.source
|
31
|
-
file_name << ".rb" unless file_name =~ /.*\.rb$/
|
32
|
-
load file_name
|
33
|
-
handler = klass.send(:new, *collect_args(@new_resource.arguments))
|
34
|
-
@new_resource.supports.each do |type, enable|
|
35
|
-
if enable
|
36
|
-
# we have to re-enable the handler every chef run
|
37
|
-
# to ensure daemonized Chef always has the latest
|
38
|
-
# handler code. TODO: add a :reload action
|
39
|
-
Chef::Log.info("Enabling #{@new_resource} as a #{type} handler")
|
40
|
-
Chef::Config.send("#{type.to_s}_handlers").delete_if {|v| v.class.to_s.include? @new_resource.class_name}
|
41
|
-
Chef::Config.send("#{type.to_s}_handlers") << handler
|
42
|
-
new_resource.updated_by_last_action(true)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
action :disable do
|
48
|
-
@new_resource.supports.each_key do |type|
|
49
|
-
if enabled?(type)
|
50
|
-
Chef::Log.info("Disabling #{@new_resource} as a #{type} handler")
|
51
|
-
Chef::Config.send("#{type.to_s}_handlers").delete_if {|v| v.class.to_s.include? @new_resource.class_name}
|
52
|
-
new_resource.updated_by_last_action(true)
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
|
-
def load_current_resource
|
58
|
-
@current_resource = Chef::Resource::ChefHandler.new(@new_resource.name)
|
59
|
-
@current_resource.class_name(@new_resource.class_name)
|
60
|
-
@current_resource.source(@new_resource.source)
|
61
|
-
@current_resource
|
62
|
-
end
|
63
|
-
|
64
|
-
private
|
65
|
-
def enabled?(type)
|
66
|
-
Chef::Config.send("#{type.to_s}_handlers").select do |handler|
|
67
|
-
handler.class.to_s.include? @new_resource.class_name
|
68
|
-
end.size >= 1
|
69
|
-
end
|
70
|
-
|
71
|
-
def collect_args(resource_args = [])
|
72
|
-
if resource_args.is_a? Array
|
73
|
-
resource_args
|
74
|
-
else
|
75
|
-
[resource_args]
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
def klass
|
80
|
-
@klass ||= begin
|
81
|
-
@new_resource.class_name.split('::').inject(Kernel) {|scope, const_name| scope.const_get(const_name)}
|
82
|
-
end
|
83
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
gem_package "httparty" do
|
2
|
-
end.run_action(:install)
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'httparty'
|
6
|
-
rescue LoadError
|
7
|
-
Gem.refresh
|
8
|
-
end
|
9
|
-
|
10
|
-
chef_handler "CampfireHandler" do
|
11
|
-
source "#{node['chef_handler']['handler_path']}/campfire_handler.rb"
|
12
|
-
arguments :subdomain => node[:campfire][:subdomain],
|
13
|
-
:room_id => node[:campfire][:room_id],
|
14
|
-
:token => node[:campfire][:token]
|
15
|
-
end.run_action(:enable)
|
@@ -1,31 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Seth Chisamore (<schisamo@opscode.com>)
|
3
|
-
# Cookbook Name:: chef_handlers
|
4
|
-
# Recipe:: default
|
5
|
-
#
|
6
|
-
# Copyright 2011, Opscode, Inc.
|
7
|
-
#
|
8
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
-
# you may not use this file except in compliance with the License.
|
10
|
-
# You may obtain a copy of the License at
|
11
|
-
#
|
12
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
#
|
14
|
-
# Unless required by applicable law or agreed to in writing, software
|
15
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
-
# See the License for the specific language governing permissions and
|
18
|
-
# limitations under the License.
|
19
|
-
#
|
20
|
-
|
21
|
-
Chef::Log.info("Chef Handlers will be at: #{node['chef_handler']['handler_path']}")
|
22
|
-
|
23
|
-
remote_directory node['chef_handler']['handler_path'] do
|
24
|
-
source 'handlers'
|
25
|
-
owner 'root'
|
26
|
-
group 'root'
|
27
|
-
mode "0755"
|
28
|
-
recursive true
|
29
|
-
action :nothing
|
30
|
-
end.run_action(:create)
|
31
|
-
|
@@ -1,28 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Seth Chisamore (<schisamo@opscode.com>)
|
3
|
-
# Cookbook Name:: chef_handlers
|
4
|
-
# Recipe:: json_file
|
5
|
-
#
|
6
|
-
# Copyright 2011, Opscode, Inc.
|
7
|
-
#
|
8
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
-
# you may not use this file except in compliance with the License.
|
10
|
-
# You may obtain a copy of the License at
|
11
|
-
#
|
12
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
#
|
14
|
-
# Unless required by applicable law or agreed to in writing, software
|
15
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
-
# See the License for the specific language governing permissions and
|
18
|
-
# limitations under the License.
|
19
|
-
#
|
20
|
-
|
21
|
-
# force resource actions in compile phase so exception handler
|
22
|
-
# fires for compile phase exceptions
|
23
|
-
|
24
|
-
chef_handler "Chef::Handler::JsonFile" do
|
25
|
-
source "chef/handler/json_file"
|
26
|
-
arguments :path => '/var/chef/reports'
|
27
|
-
action :nothing
|
28
|
-
end.run_action(:enable)
|
@@ -1,34 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Seth Chisamore <schisamo@opscode.com>
|
3
|
-
# Cookbook Name:: chef_handler
|
4
|
-
# Resource:: default
|
5
|
-
#
|
6
|
-
# Copyright:: 2011, Opscode, Inc <legal@opscode.com>
|
7
|
-
#
|
8
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
-
# you may not use this file except in compliance with the License.
|
10
|
-
# You may obtain a copy of the License at
|
11
|
-
#
|
12
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
#
|
14
|
-
# Unless required by applicable law or agreed to in writing, software
|
15
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
-
# See the License for the specific language governing permissions and
|
18
|
-
# limitations under the License.
|
19
|
-
#
|
20
|
-
|
21
|
-
actions :enable, :disable
|
22
|
-
|
23
|
-
attribute :class_name, :kind_of => String, :name_attribute => true
|
24
|
-
attribute :source, :default => nil, :kind_of => String
|
25
|
-
attribute :arguments, :default => []
|
26
|
-
attribute :supports, :kind_of => Hash, :default => {:report => true, :exception => true}
|
27
|
-
|
28
|
-
# we have to set default for the supports attribute
|
29
|
-
# in initializer since it is a 'reserved' attribute name
|
30
|
-
def initialize(*args)
|
31
|
-
super
|
32
|
-
@action = :enable
|
33
|
-
@supports = {:report => true, :exception => true}
|
34
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
metadata.json
|
@@ -1,22 +0,0 @@
|
|
1
|
-
Description
|
2
|
-
===========
|
3
|
-
|
4
|
-
Chef cookbook that installs and configures the [Librato Metrics
|
5
|
-
Collectd Plugin](https://github.com/librato/collectd-librato).
|
6
|
-
|
7
|
-
Requirements
|
8
|
-
============
|
9
|
-
|
10
|
-
* [collectd cookbook](https://github.com/librato/collectd-cookbook)
|
11
|
-
|
12
|
-
Attributes
|
13
|
-
==========
|
14
|
-
|
15
|
-
* `node[:collectd_librato][:version]` - Version of Librato Collectd
|
16
|
-
plugin to install. Tag must exist. (optional, defaults to latest)
|
17
|
-
* `node[:collectd_librato][:email]` - Librato Metrics Email
|
18
|
-
* `node[:collectd_librato][:api_token]` - Librato Metrics API Token
|
19
|
-
|
20
|
-
Usage
|
21
|
-
=====
|
22
|
-
|