ciborg 0.0.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ciborg might be problematic. Click here for more details.
- data/.gitignore +9 -16
- data/.gitmodules +3 -0
- data/.pairs +17 -0
- data/.rspec +2 -0
- data/.rvmrc +1 -0
- data/.travis.yml +5 -0
- data/Gemfile +3 -1
- data/Guardfile +10 -0
- data/LICENSE.txt +17 -18
- data/README.md +152 -17
- data/Rakefile +16 -1
- data/Vagrantfile +18 -0
- data/bin/ciborg +5 -0
- data/chef/cookbooks/pivotal_ci/.gitignore +4 -0
- data/chef/cookbooks/pivotal_ci/Gemfile +3 -0
- data/chef/cookbooks/pivotal_ci/README.md +3 -0
- data/chef/cookbooks/pivotal_ci/attributes/git.rb +4 -0
- data/chef/cookbooks/pivotal_ci/attributes/jenkins.rb +3 -0
- data/chef/cookbooks/pivotal_ci/attributes/nginx.rb +1 -0
- data/chef/cookbooks/pivotal_ci/attributes/ssl.rb +5 -0
- data/chef/cookbooks/pivotal_ci/files/default/jenkins-ci.org.key +112 -0
- data/chef/cookbooks/pivotal_ci/files/default/tests/minitest/default_test.rb +75 -0
- data/chef/cookbooks/pivotal_ci/metadata.rb +32 -0
- data/chef/cookbooks/pivotal_ci/recipes/default.rb +6 -0
- data/chef/cookbooks/pivotal_ci/recipes/fonts.rb +5 -0
- data/chef/cookbooks/pivotal_ci/recipes/git_config.rb +17 -0
- data/chef/cookbooks/pivotal_ci/recipes/id_rsa.rb +32 -0
- data/chef/cookbooks/pivotal_ci/recipes/jenkins.rb +26 -0
- data/chef/cookbooks/pivotal_ci/recipes/jenkins_config.rb +48 -0
- data/chef/cookbooks/pivotal_ci/recipes/limited_travis_ci_environment.rb +39 -0
- data/chef/cookbooks/pivotal_ci/recipes/nginx.rb +19 -0
- data/chef/cookbooks/pivotal_ci/recipes/ssl_certificate.rb +44 -0
- data/chef/cookbooks/pivotal_ci/recipes/teamcity.rb +42 -0
- data/chef/cookbooks/pivotal_ci/templates/default/jenkins-job-config.xml.erb +79 -0
- data/chef/cookbooks/pivotal_ci/templates/default/nginx-conf.erb +58 -0
- data/chef/cookbooks/pivotal_ci/templates/default/nginx-htaccess.erb +3 -0
- data/chef/cookbooks/pivotal_ci/templates/default/org.jenkinsci.plugins.xvfb.XvfbBuildWrapper.xml.erb +11 -0
- data/chef/cookbooks/pivotal_ci/templates/default/teamcity-initd.erb +44 -0
- data/chef/cookbooks/pivotal_ci/test/kitchen/Kitchenfile +4 -0
- data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/attributes/default.rb +2 -0
- data/chef/cookbooks/pivotal_ci/test/kitchen/cookbooks/pivotal_ci_test/metadata.rb +10 -0
- 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 -0
- data/chef/travis-cookbooks/.gitignore +7 -0
- data/chef/travis-cookbooks/LICENSE +23 -0
- data/chef/travis-cookbooks/README.md +28 -0
- data/chef/travis-cookbooks/ci_environment/.gitignore +1 -0
- data/chef/travis-cookbooks/ci_environment/ant/README.md +51 -0
- data/chef/travis-cookbooks/ci_environment/ant/metadata.rb +14 -0
- data/chef/travis-cookbooks/ci_environment/ant/recipes/default.rb +41 -0
- data/chef/travis-cookbooks/ci_environment/apt/README.md +109 -0
- data/chef/travis-cookbooks/ci_environment/apt/attributes/default.rb +1 -0
- data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-cacher +9 -0
- data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-cacher.conf +144 -0
- data/chef/travis-cookbooks/ci_environment/apt/files/default/apt-proxy-v2.conf +50 -0
- data/chef/travis-cookbooks/ci_environment/apt/metadata.json +34 -0
- data/chef/travis-cookbooks/ci_environment/apt/metadata.rb +13 -0
- data/chef/travis-cookbooks/ci_environment/apt/providers/repository.rb +73 -0
- data/chef/travis-cookbooks/ci_environment/apt/recipes/cacher-client.rb +37 -0
- data/chef/travis-cookbooks/ci_environment/apt/recipes/cacher.rb +45 -0
- data/chef/travis-cookbooks/ci_environment/apt/recipes/default.rb +55 -0
- data/chef/travis-cookbooks/ci_environment/apt/resources/repository.rb +31 -0
- data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-10.04/sources.list.erb +31 -0
- data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-11.04/sources.list.erb +31 -0
- data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-11.10/sources.list.erb +31 -0
- data/chef/travis-cookbooks/ci_environment/apt/templates/ubuntu-12.04/sources.list.erb +54 -0
- data/chef/travis-cookbooks/ci_environment/bazaar/recipes/default.rb +26 -0
- data/chef/travis-cookbooks/ci_environment/bison/attributes/default.rb +7 -0
- data/chef/travis-cookbooks/ci_environment/bison/recipes/default.rb +48 -0
- data/chef/travis-cookbooks/ci_environment/build-essential/README.md +24 -0
- data/chef/travis-cookbooks/ci_environment/build-essential/metadata.rb +10 -0
- data/chef/travis-cookbooks/ci_environment/build-essential/recipes/default.rb +47 -0
- data/chef/travis-cookbooks/ci_environment/cassandra/attributes/default.rb +28 -0
- data/chef/travis-cookbooks/ci_environment/cassandra/recipes/datastax.rb +43 -0
- data/chef/travis-cookbooks/ci_environment/cassandra/recipes/package.rb +43 -0
- data/chef/travis-cookbooks/ci_environment/cassandra/recipes/tarball.rb +158 -0
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-cli.erb +60 -0
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-env.sh.erb +159 -0
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra-limits.conf.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra.init.erb +158 -0
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/cassandra.yaml.erb +567 -0
- data/chef/travis-cookbooks/ci_environment/cassandra/templates/default/log4j-server.properties.yml +43 -0
- data/chef/travis-cookbooks/ci_environment/chromium/recipes/default.rb +26 -0
- data/chef/travis-cookbooks/ci_environment/clang/attributes/tarball.rb +6 -0
- data/chef/travis-cookbooks/ci_environment/clang/metadata.rb +11 -0
- data/chef/travis-cookbooks/ci_environment/clang/recipes/default.rb +26 -0
- data/chef/travis-cookbooks/ci_environment/clang/recipes/tarball.rb +73 -0
- data/chef/travis-cookbooks/ci_environment/cmake/README.md +21 -0
- data/chef/travis-cookbooks/ci_environment/cmake/metadata.rb +10 -0
- data/chef/travis-cookbooks/ci_environment/cmake/recipes/default.rb +23 -0
- data/chef/travis-cookbooks/ci_environment/composer/recipes/default.rb +21 -0
- data/chef/travis-cookbooks/ci_environment/composer/templates/default/composer.erb +3 -0
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/default.rb +33 -0
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ppa.rb +37 -0
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu-12.04.rb +39 -0
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu1110_ppa.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/couchdb/recipes/ubuntu1204_ppa.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/doxygen/recipes/default.rb +24 -0
- data/chef/travis-cookbooks/ci_environment/elasticsearch/attributes/default.rb +6 -0
- data/chef/travis-cookbooks/ci_environment/elasticsearch/recipes/default.rb +67 -0
- data/chef/travis-cookbooks/ci_environment/emacs/metadata.rb +11 -0
- data/chef/travis-cookbooks/ci_environment/emacs/recipes/default.rb +21 -0
- data/chef/travis-cookbooks/ci_environment/emacs/recipes/nox.rb +32 -0
- data/chef/travis-cookbooks/ci_environment/erlang/attributes/default.rb +1 -0
- data/chef/travis-cookbooks/ci_environment/erlang/metadata.rb +11 -0
- data/chef/travis-cookbooks/ci_environment/erlang/recipes/default.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/firefox/recipes/default.rb +29 -0
- data/chef/travis-cookbooks/ci_environment/git/README.rdoc +37 -0
- 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 +15 -0
- data/chef/travis-cookbooks/ci_environment/git/recipes/custom.git +65 -0
- data/chef/travis-cookbooks/ci_environment/git/recipes/default.rb +23 -0
- data/chef/travis-cookbooks/ci_environment/git/recipes/ppa.rb +37 -0
- data/chef/travis-cookbooks/ci_environment/git/templates/default/sv-git-daemon-log-run.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/git/templates/default/sv-git-daemon-run.erb +3 -0
- data/chef/travis-cookbooks/ci_environment/golang/README.md +35 -0
- data/chef/travis-cookbooks/ci_environment/golang/attributes/default.rb +11 -0
- data/chef/travis-cookbooks/ci_environment/golang/recipes/default.rb +20 -0
- data/chef/travis-cookbooks/ci_environment/golang/recipes/multi.rb +55 -0
- data/chef/travis-cookbooks/ci_environment/golang/recipes/ppa.rb +32 -0
- data/chef/travis-cookbooks/ci_environment/gradle/README.md +33 -0
- data/chef/travis-cookbooks/ci_environment/gradle/attributes/tarball.rb +9 -0
- data/chef/travis-cookbooks/ci_environment/gradle/files/default/etc/profile.d/gradle.sh +1 -0
- data/chef/travis-cookbooks/ci_environment/gradle/recipes/tarball.rb +65 -0
- data/chef/travis-cookbooks/ci_environment/gvm/files/ubuntu/gvm.sh +3 -0
- data/chef/travis-cookbooks/ci_environment/gvm/recipes/default.rb +44 -0
- data/chef/travis-cookbooks/ci_environment/haskell/attributes/ghc.rb +4 -0
- data/chef/travis-cookbooks/ci_environment/haskell/attributes/platform.rb +5 -0
- data/chef/travis-cookbooks/ci_environment/haskell/files/default/cabal.sh +3 -0
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/default.rb +38 -0
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/ghc_package.rb +28 -0
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/ghc_source.rb +78 -0
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_package.rb +52 -0
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_ppa.rb +68 -0
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/platform_source.rb +67 -0
- data/chef/travis-cookbooks/ci_environment/haskell/recipes/source.rb +25 -0
- data/chef/travis-cookbooks/ci_environment/hbase/recipes/cdh4.rb +49 -0
- data/chef/travis-cookbooks/ci_environment/htop/recipes/default.rb +4 -0
- data/chef/travis-cookbooks/ci_environment/imagemagick/README.rdoc +33 -0
- data/chef/travis-cookbooks/ci_environment/imagemagick/metadata.rb +12 -0
- data/chef/travis-cookbooks/ci_environment/imagemagick/recipes/default.rb +37 -0
- data/chef/travis-cookbooks/ci_environment/iptables/files/default/iptables_rules +13 -0
- data/chef/travis-cookbooks/ci_environment/iptables/metadata.rb +10 -0
- data/chef/travis-cookbooks/ci_environment/iptables/recipes/default.rb +48 -0
- data/chef/travis-cookbooks/ci_environment/iptables/templates/default/iptables_load.erb +3 -0
- data/chef/travis-cookbooks/ci_environment/java/README.md +102 -0
- data/chef/travis-cookbooks/ci_environment/java/attributes/default.rb +43 -0
- data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/java.seed +14 -0
- data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/load_jdk_switcher.sh +7 -0
- data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/oraclejdk7.jinfo +44 -0
- data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/oraclejdk8.jinfo +44 -0
- data/chef/travis-cookbooks/ci_environment/java/files/ubuntu/startssl_root_ca_installer.sh +48 -0
- data/chef/travis-cookbooks/ci_environment/java/metadata.rb +16 -0
- data/chef/travis-cookbooks/ci_environment/java/recipes/default.rb +30 -0
- data/chef/travis-cookbooks/ci_environment/java/recipes/multi.rb +30 -0
- data/chef/travis-cookbooks/ci_environment/java/recipes/openjdk6.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/java/recipes/openjdk7.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/java/recipes/oraclejdk7.rb +83 -0
- data/chef/travis-cookbooks/ci_environment/java/recipes/oraclejdk8.rb +71 -0
- data/chef/travis-cookbooks/ci_environment/java/templates/ubuntu/etc/profile.d/java_home.sh.erb +3 -0
- data/chef/travis-cookbooks/ci_environment/jpackage/CHANGELOG.md +7 -0
- data/chef/travis-cookbooks/ci_environment/jpackage/CONTRIBUTING +29 -0
- data/chef/travis-cookbooks/ci_environment/jpackage/LICENSE +201 -0
- data/chef/travis-cookbooks/ci_environment/jpackage/README.md +52 -0
- data/chef/travis-cookbooks/ci_environment/jpackage/attributes/default.rb +20 -0
- data/chef/travis-cookbooks/ci_environment/jpackage/metadata.rb +14 -0
- data/chef/travis-cookbooks/ci_environment/jpackage/recipes/default.rb +58 -0
- data/chef/travis-cookbooks/ci_environment/jpackage/templates/default/jpackage.repo.erb +49 -0
- data/chef/travis-cookbooks/ci_environment/jpackage/templates/fedora/jpackage.repo.erb +49 -0
- data/chef/travis-cookbooks/ci_environment/kerl/README.md +3 -0
- data/chef/travis-cookbooks/ci_environment/kerl/attributes/default.rb +1 -0
- data/chef/travis-cookbooks/ci_environment/kerl/attributes/source.rb +2 -0
- data/chef/travis-cookbooks/ci_environment/kerl/files/default/erlang.cookie +1 -0
- data/chef/travis-cookbooks/ci_environment/kerl/metadata.rb +6 -0
- data/chef/travis-cookbooks/ci_environment/kerl/recipes/default.rb +19 -0
- data/chef/travis-cookbooks/ci_environment/kerl/recipes/source.rb +104 -0
- data/chef/travis-cookbooks/ci_environment/kestrel/attributes/tarball.rb +15 -0
- data/chef/travis-cookbooks/ci_environment/kestrel/files/default/config/development.scala +33 -0
- data/chef/travis-cookbooks/ci_environment/kestrel/recipes/tarball.rb +134 -0
- data/chef/travis-cookbooks/ci_environment/kestrel/templates/ubuntu/kestrel-limits.conf.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/kestrel/templates/ubuntu/kestrel.init.erb +208 -0
- data/chef/travis-cookbooks/ci_environment/leiningen/README.rdoc +5 -0
- data/chef/travis-cookbooks/ci_environment/leiningen/attributes/default.rb +5 -0
- data/chef/travis-cookbooks/ci_environment/leiningen/files/default/profiles.clj +1 -0
- data/chef/travis-cookbooks/ci_environment/leiningen/metadata.json +32 -0
- data/chef/travis-cookbooks/ci_environment/leiningen/metadata.rb +8 -0
- data/chef/travis-cookbooks/ci_environment/leiningen/recipes/default.rb +23 -0
- data/chef/travis-cookbooks/ci_environment/leiningen/recipes/lein1x.rb +68 -0
- data/chef/travis-cookbooks/ci_environment/leiningen/recipes/lein2x.rb +82 -0
- data/chef/travis-cookbooks/ci_environment/libffi/recipes/default.rb +34 -0
- data/chef/travis-cookbooks/ci_environment/libgdbm/recipes/default.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/libncurses/recipes/default.rb +31 -0
- data/chef/travis-cookbooks/ci_environment/libossp-uuid/recipes/default.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/libqt4/recipes/default.rb +5 -0
- data/chef/travis-cookbooks/ci_environment/libreadline/recipes/default.rb +34 -0
- data/chef/travis-cookbooks/ci_environment/libssl/recipes/098.rb +28 -0
- data/chef/travis-cookbooks/ci_environment/libssl/recipes/default.rb +24 -0
- data/chef/travis-cookbooks/ci_environment/libxml/recipes/default.rb +30 -0
- data/chef/travis-cookbooks/ci_environment/libyaml/recipes/default.rb +6 -0
- data/chef/travis-cookbooks/ci_environment/lighttpd/attributes/default.rb +3 -0
- data/chef/travis-cookbooks/ci_environment/lighttpd/recipes/default.rb +39 -0
- data/chef/travis-cookbooks/ci_environment/lighttpd/templates/default/lighttpd.conf.erb +166 -0
- data/chef/travis-cookbooks/ci_environment/maven3/attributes/default.rb +3 -0
- data/chef/travis-cookbooks/ci_environment/maven3/files/default/settings.xml +136 -0
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/default.rb +56 -0
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/package.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/ppa.rb +44 -0
- data/chef/travis-cookbooks/ci_environment/maven3/recipes/tarball.rb +37 -0
- data/chef/travis-cookbooks/ci_environment/maven3/templates/ubuntu-11.04/install_maven3.sh.erb +32 -0
- data/chef/travis-cookbooks/ci_environment/memcached/README.rdoc +52 -0
- data/chef/travis-cookbooks/ci_environment/memcached/attributes/default.rb +5 -0
- data/chef/travis-cookbooks/ci_environment/memcached/attributes/ppa.rb +3 -0
- data/chef/travis-cookbooks/ci_environment/memcached/definitions/memcached_instance.rb +32 -0
- data/chef/travis-cookbooks/ci_environment/memcached/metadata.rb +33 -0
- data/chef/travis-cookbooks/ci_environment/memcached/recipes/default.rb +60 -0
- data/chef/travis-cookbooks/ci_environment/memcached/recipes/ppa.rb +34 -0
- data/chef/travis-cookbooks/ci_environment/memcached/templates/default/memcached.conf.erb +54 -0
- data/chef/travis-cookbooks/ci_environment/memcached/templates/default/memcached.default.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/memcached/templates/default/sv-memcached-log-run.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/memcached/templates/default/sv-memcached-run.erb +3 -0
- data/chef/travis-cookbooks/ci_environment/mercurial/recipes/default.rb +26 -0
- data/chef/travis-cookbooks/ci_environment/mercurial/recipes/ppa.rb +36 -0
- data/chef/travis-cookbooks/ci_environment/mingw32/README.md +21 -0
- data/chef/travis-cookbooks/ci_environment/mingw32/metadata.rb +10 -0
- data/chef/travis-cookbooks/ci_environment/mingw32/recipes/default.rb +23 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/.gitignore +1 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/README.md +0 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/attributes/mongodb.rb +67 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/files/default/mongodb.list +1 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/files/default/mongodb.sysvinit.sh +261 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/metadata.rb +235 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/recipes/apt.rb +65 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/recipes/default.rb +23 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/recipes/server.rb +44 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongod.upstart.erb +16 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.conf.erb +5 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.init.10gen.erb +74 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.init.erb +268 -0
- data/chef/travis-cookbooks/ci_environment/mongodb/templates/default/mongodb.list.erb +1 -0
- data/chef/travis-cookbooks/ci_environment/mysql/README.md +141 -0
- data/chef/travis-cookbooks/ci_environment/mysql/attributes/default.rb +1 -0
- data/chef/travis-cookbooks/ci_environment/mysql/attributes/server.rb +69 -0
- data/chef/travis-cookbooks/ci_environment/mysql/attributes/server_on_ramfs.rb +1 -0
- data/chef/travis-cookbooks/ci_environment/mysql/libraries/database.rb +19 -0
- data/chef/travis-cookbooks/ci_environment/mysql/libraries/helpers.rb +33 -0
- data/chef/travis-cookbooks/ci_environment/mysql/metadata.rb +77 -0
- data/chef/travis-cookbooks/ci_environment/mysql/providers/database.rb +81 -0
- data/chef/travis-cookbooks/ci_environment/mysql/recipes/client.rb +60 -0
- data/chef/travis-cookbooks/ci_environment/mysql/recipes/default.rb +20 -0
- data/chef/travis-cookbooks/ci_environment/mysql/recipes/server.rb +125 -0
- data/chef/travis-cookbooks/ci_environment/mysql/recipes/server_on_ramfs.rb +88 -0
- data/chef/travis-cookbooks/ci_environment/mysql/resources/database.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/debian.cnf.erb +12 -0
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/grants.sql.erb +33 -0
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/init/mysql.conf.erb +49 -0
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/my.cnf.erb +182 -0
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/mysql-server.seed.erb +10 -0
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/port_mysql.erb +3 -0
- data/chef/travis-cookbooks/ci_environment/mysql/templates/default/ramfs/my.cnf.erb +175 -0
- data/chef/travis-cookbooks/ci_environment/neo4j-server/.gitignore +4 -0
- data/chef/travis-cookbooks/ci_environment/neo4j-server/README.md +47 -0
- data/chef/travis-cookbooks/ci_environment/neo4j-server/attributes/tarball.rb +43 -0
- data/chef/travis-cookbooks/ci_environment/neo4j-server/recipes/tarball.rb +164 -0
- data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-limits.conf.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-server.properties.erb +75 -0
- data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j-wrapper.conf.erb +26 -0
- data/chef/travis-cookbooks/ci_environment/neo4j-server/templates/default/neo4j.init.erb +55 -0
- data/chef/travis-cookbooks/ci_environment/networking_basic/recipes/default.rb +39 -0
- data/chef/travis-cookbooks/ci_environment/nodejs/attributes/multi.rb +3 -0
- data/chef/travis-cookbooks/ci_environment/nodejs/files/default/nvm.sh +281 -0
- data/chef/travis-cookbooks/ci_environment/nodejs/files/default/profile_entry.sh +3 -0
- data/chef/travis-cookbooks/ci_environment/nodejs/recipes/multi.rb +79 -0
- data/chef/travis-cookbooks/ci_environment/nodejs/templates/default/nvm.sh.erb +3 -0
- data/chef/travis-cookbooks/ci_environment/openssh/files/default/ssh_init.sh +181 -0
- data/chef/travis-cookbooks/ci_environment/openssh/files/default/sshd_config +54 -0
- data/chef/travis-cookbooks/ci_environment/openssh/recipes/default.rb +42 -0
- data/chef/travis-cookbooks/ci_environment/openssl/README.md +37 -0
- data/chef/travis-cookbooks/ci_environment/openssl/libraries/secure_password.rb +37 -0
- data/chef/travis-cookbooks/ci_environment/openssl/metadata.rb +8 -0
- data/chef/travis-cookbooks/ci_environment/openssl/recipes/default.rb +19 -0
- data/chef/travis-cookbooks/ci_environment/perlbrew/attributes/default.rb +0 -0
- data/chef/travis-cookbooks/ci_environment/perlbrew/attributes/multi.rb +8 -0
- data/chef/travis-cookbooks/ci_environment/perlbrew/files/default/perlbrew.sh +7 -0
- data/chef/travis-cookbooks/ci_environment/perlbrew/metadata.rb +11 -0
- data/chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb +26 -0
- data/chef/travis-cookbooks/ci_environment/perlbrew/recipes/multi.rb +41 -0
- data/chef/travis-cookbooks/ci_environment/phantomjs/attributes/default.rb +10 -0
- data/chef/travis-cookbooks/ci_environment/phantomjs/files/ubuntu/etc/profile.d/phantomjs.sh +1 -0
- data/chef/travis-cookbooks/ci_environment/phantomjs/metadata.rb +3 -0
- data/chef/travis-cookbooks/ci_environment/phantomjs/recipes/default.rb +26 -0
- data/chef/travis-cookbooks/ci_environment/phantomjs/recipes/tarball.rb +69 -0
- data/chef/travis-cookbooks/ci_environment/php/README.md +5 -0
- data/chef/travis-cookbooks/ci_environment/php/attributes/default.rb +47 -0
- data/chef/travis-cookbooks/ci_environment/php/metadata.rb +10 -0
- data/chef/travis-cookbooks/ci_environment/php/providers/pecl.rb +87 -0
- data/chef/travis-cookbooks/ci_environment/php/recipes/extensions.rb +26 -0
- data/chef/travis-cookbooks/ci_environment/php/recipes/multi.rb +26 -0
- data/chef/travis-cookbooks/ci_environment/php/resources/pecl.rb +11 -0
- data/chef/travis-cookbooks/ci_environment/phpbuild/attributes/default.rb +19 -0
- 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 +18 -0
- data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/definitions/5.3.3 +6 -0
- data/chef/travis-cookbooks/ci_environment/phpbuild/files/default/definitions/5.5.0beta1 +5 -0
- data/chef/travis-cookbooks/ci_environment/phpbuild/metadata.rb +5 -0
- data/chef/travis-cookbooks/ci_environment/phpbuild/providers/build.rb +56 -0
- data/chef/travis-cookbooks/ci_environment/phpbuild/recipes/default.rb +122 -0
- data/chef/travis-cookbooks/ci_environment/phpbuild/resources/build.rb +7 -0
- data/chef/travis-cookbooks/ci_environment/phpbuild/templates/default/default_configure_options.erb +42 -0
- data/chef/travis-cookbooks/ci_environment/phpbuild/templates/default/travis.ini.erb +9 -0
- data/chef/travis-cookbooks/ci_environment/phpenv/attributes/default.rb +6 -0
- data/chef/travis-cookbooks/ci_environment/phpenv/files/default/phpenv.sh +5 -0
- data/chef/travis-cookbooks/ci_environment/phpenv/metadata.rb +5 -0
- data/chef/travis-cookbooks/ci_environment/phpenv/recipes/default.rb +33 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/README.rdoc +49 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/attributes/default.rb +74 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/metadata.rb +15 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/client.rb +28 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/default.rb +20 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server.rb +83 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_debian.rb +73 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_on_ramfs.rb +32 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/recipes/server_redhat.rb +84 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/30-shared-memory.conf.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/debian.pg_hba.conf.erb +83 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/debian.postgresql.conf.erb +234 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/ramfs.init.erb +50 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/redhat.pg_hba.conf.erb +74 -0
- data/chef/travis-cookbooks/ci_environment/postgresql/templates/default/redhat.postgresql.conf.erb +502 -0
- data/chef/travis-cookbooks/ci_environment/pypy/attributes/default.rb +21 -0
- data/chef/travis-cookbooks/ci_environment/pypy/files/default/etc/profile.d/pypy.sh +1 -0
- data/chef/travis-cookbooks/ci_environment/pypy/recipes/ppa.rb +39 -0
- data/chef/travis-cookbooks/ci_environment/pypy/recipes/tarball.rb +54 -0
- data/chef/travis-cookbooks/ci_environment/python/README.md +162 -0
- data/chef/travis-cookbooks/ci_environment/python/attributes/default.rb +22 -0
- data/chef/travis-cookbooks/ci_environment/python/files/default/virtualenv_settings.sh +1 -0
- data/chef/travis-cookbooks/ci_environment/python/metadata.json +52 -0
- data/chef/travis-cookbooks/ci_environment/python/metadata.rb +17 -0
- data/chef/travis-cookbooks/ci_environment/python/providers/pip.rb +146 -0
- data/chef/travis-cookbooks/ci_environment/python/providers/virtualenv.rb +79 -0
- data/chef/travis-cookbooks/ci_environment/python/recipes/default.rb +21 -0
- data/chef/travis-cookbooks/ci_environment/python/recipes/devshm.rb +10 -0
- data/chef/travis-cookbooks/ci_environment/python/recipes/multi.rb +188 -0
- data/chef/travis-cookbooks/ci_environment/python/recipes/package.rb +36 -0
- data/chef/travis-cookbooks/ci_environment/python/recipes/pip.rb +38 -0
- data/chef/travis-cookbooks/ci_environment/python/recipes/virtualenv.rb +32 -0
- data/chef/travis-cookbooks/ci_environment/python/resources/pip.rb +26 -0
- data/chef/travis-cookbooks/ci_environment/python/resources/virtualenv.rb +28 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/README.md +86 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/attributes/default.rb +11 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/metadata.rb +63 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/providers/user.rb +66 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/providers/vhost.rb +34 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/recipes/default.rb +67 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/recipes/with_management_plugin.rb +13 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/resources/user.rb +25 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/resources/vhost.rb +22 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/doterlang.cookie.erb +1 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq-env.conf.erb +10 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq.config.erb +5 -0
- data/chef/travis-cookbooks/ci_environment/rabbitmq/templates/default/rabbitmq_cluster.config.erb +5 -0
- data/chef/travis-cookbooks/ci_environment/ragel/recipes/custom.rb +56 -0
- data/chef/travis-cookbooks/ci_environment/ragel/recipes/default.rb +28 -0
- data/chef/travis-cookbooks/ci_environment/ramfs/attributes/default.rb +1 -0
- data/chef/travis-cookbooks/ci_environment/ramfs/recipes/default.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/rebar/README.md +3 -0
- data/chef/travis-cookbooks/ci_environment/rebar/attributes/default.rb +2 -0
- data/chef/travis-cookbooks/ci_environment/rebar/metadata.rb +7 -0
- data/chef/travis-cookbooks/ci_environment/rebar/recipes/default.rb +26 -0
- data/chef/travis-cookbooks/ci_environment/redis/attributes/default.rb +10 -0
- data/chef/travis-cookbooks/ci_environment/redis/recipes/default.rb +68 -0
- data/chef/travis-cookbooks/ci_environment/redis/recipes/ppa.rb +42 -0
- data/chef/travis-cookbooks/ci_environment/riak/.gitignore +1 -0
- data/chef/travis-cookbooks/ci_environment/riak/README.md +161 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/api.rb +21 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/bitcask.rb +22 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/control.rb +23 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/core.rb +41 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/default.rb +33 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/dets.rb +20 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/eleveldb.rb +6 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/erlang.rb +30 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/err.rb +21 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/innostore.rb +28 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/kernel.rb +22 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/kv.rb +62 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/lager.rb +31 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/merge.rb +22 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/netdev.rb +22 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/package.rb +30 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/sasl.rb +25 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/search.rb +19 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/service.rb +20 -0
- data/chef/travis-cookbooks/ci_environment/riak/attributes/sysmon.rb +25 -0
- data/chef/travis-cookbooks/ci_environment/riak/libraries/riak_template_helper.rb +180 -0
- data/chef/travis-cookbooks/ci_environment/riak/metadata.rb +32 -0
- data/chef/travis-cookbooks/ci_environment/riak/providers/cluster.rb +80 -0
- data/chef/travis-cookbooks/ci_environment/riak/recipes/autoconf.rb +47 -0
- data/chef/travis-cookbooks/ci_environment/riak/recipes/config.rb +70 -0
- data/chef/travis-cookbooks/ci_environment/riak/recipes/default.rb +160 -0
- data/chef/travis-cookbooks/ci_environment/riak/recipes/innostore.rb +74 -0
- data/chef/travis-cookbooks/ci_environment/riak/recipes/iptables.rb +25 -0
- data/chef/travis-cookbooks/ci_environment/riak/resources/cluster.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/riak/templates/default/app.config.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/riak/templates/default/iptables.erb +13 -0
- data/chef/travis-cookbooks/ci_environment/riak/templates/default/vm.args.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/runit/CHANGELOG.md +3 -0
- data/chef/travis-cookbooks/ci_environment/runit/CONTRIBUTING +29 -0
- data/chef/travis-cookbooks/ci_environment/runit/LICENSE +201 -0
- data/chef/travis-cookbooks/ci_environment/runit/README.md +226 -0
- data/chef/travis-cookbooks/ci_environment/runit/attributes/default.rb +31 -0
- data/chef/travis-cookbooks/ci_environment/runit/definitions/runit_service.rb +164 -0
- data/chef/travis-cookbooks/ci_environment/runit/files/default/runit.seed +1 -0
- data/chef/travis-cookbooks/ci_environment/runit/files/default/runsvdir +0 -0
- data/chef/travis-cookbooks/ci_environment/runit/files/ubuntu-6.10/runsvdir +6 -0
- data/chef/travis-cookbooks/ci_environment/runit/files/ubuntu-7.04/runsvdir +7 -0
- data/chef/travis-cookbooks/ci_environment/runit/files/ubuntu-7.10/runsvdir +7 -0
- data/chef/travis-cookbooks/ci_environment/runit/files/ubuntu-8.04/runsvdir +7 -0
- data/chef/travis-cookbooks/ci_environment/runit/metadata.json +102 -0
- data/chef/travis-cookbooks/ci_environment/runit/metadata.rb +37 -0
- data/chef/travis-cookbooks/ci_environment/runit/recipes/default.rb +72 -0
- data/chef/travis-cookbooks/ci_environment/runit/templates/gentoo/runit-start.sh.erb +32 -0
- data/chef/travis-cookbooks/ci_environment/rvm/attributes/default.rb +1 -0
- data/chef/travis-cookbooks/ci_environment/rvm/attributes/multi.rb +6 -0
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/default.gems +1 -0
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/global.gems +2 -0
- data/chef/travis-cookbooks/ci_environment/rvm/files/default/gemsets/jruby/global.gems +4 -0
- 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/files/default/rvm.sh +3 -0
- data/chef/travis-cookbooks/ci_environment/rvm/metadata.json +43 -0
- data/chef/travis-cookbooks/ci_environment/rvm/metadata.rb +25 -0
- data/chef/travis-cookbooks/ci_environment/rvm/recipes/default.rb +98 -0
- data/chef/travis-cookbooks/ci_environment/rvm/recipes/multi.rb +88 -0
- data/chef/travis-cookbooks/ci_environment/rvm/templates/default/bundler_config.yml.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/rvm/templates/default/dot_rvmrc.sh.erb +3 -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 +79 -0
- data/chef/travis-cookbooks/ci_environment/sbt/attributes/default.rb +36 -0
- data/chef/travis-cookbooks/ci_environment/sbt/metadata.json +42 -0
- data/chef/travis-cookbooks/ci_environment/sbt/metadata.rb +15 -0
- data/chef/travis-cookbooks/ci_environment/sbt/recipes/default.rb +119 -0
- 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/scons/recipes/default.rb +3 -0
- data/chef/travis-cookbooks/ci_environment/sphinx/README.md +0 -0
- data/chef/travis-cookbooks/ci_environment/sphinx/attributes/default.rb +8 -0
- data/chef/travis-cookbooks/ci_environment/sphinx/metadata.rb +17 -0
- data/chef/travis-cookbooks/ci_environment/sphinx/recipes/all.rb +64 -0
- data/chef/travis-cookbooks/ci_environment/sphinx/recipes/default.rb +24 -0
- data/chef/travis-cookbooks/ci_environment/sqlite/metadata.rb +11 -0
- data/chef/travis-cookbooks/ci_environment/sqlite/recipes/default.rb +30 -0
- data/chef/travis-cookbooks/ci_environment/sqlite/recipes/ppa.rb +34 -0
- data/chef/travis-cookbooks/ci_environment/subversion/recipes/default.rb +24 -0
- data/chef/travis-cookbooks/ci_environment/sweeper/recipes/default.rb +45 -0
- data/chef/travis-cookbooks/ci_environment/sysctl/attributes/default.rb +5 -0
- data/chef/travis-cookbooks/ci_environment/sysctl/recipes/default.rb +6 -0
- data/chef/travis-cookbooks/ci_environment/sysctl/templates/default/sysctl.conf.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/timezone/attributes/default.rb +1 -0
- data/chef/travis-cookbooks/ci_environment/timezone/metadata.json +35 -0
- data/chef/travis-cookbooks/ci_environment/timezone/metadata.rb +9 -0
- data/chef/travis-cookbooks/ci_environment/timezone/recipes/._default.rb +0 -0
- data/chef/travis-cookbooks/ci_environment/timezone/recipes/default.rb +38 -0
- data/chef/travis-cookbooks/ci_environment/timezone/templates/default/timezone.conf.erb +1 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/attributes/default.rb +20 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/dot_erlang_dot_cookie +1 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/dot_gemrc.yml +1 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/known_hosts +1 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/ci_user/travis_environment.sh +30 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/etc/default/locale.sh +1 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/etc/sudoers/env_keep +1 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/files/default/root/recover_eth0.sh +8 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/ci_user.rb +113 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/default.rb +134 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/recipes/root.rb +44 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/ci_user/ci_environment_metadata.yml.erb +2 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/ci_user/dot_bashrc.sh.erb +111 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/apt/assumeyes.erb +1 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/apt/timeouts.erb +3 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/environment.sh.erb +11 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/hostname.erb +12 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/hosts.erb +30 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/etc/security/limits.conf.erb +62 -0
- data/chef/travis-cookbooks/ci_environment/travis_build_environment/templates/default/root/dot_bashrc.sh.erb +88 -0
- data/chef/travis-cookbooks/ci_environment/unarchivers/recipes/default.rb +29 -0
- data/chef/travis-cookbooks/ci_environment/util-linux/recipes/default.rb +5 -0
- data/chef/travis-cookbooks/ci_environment/vim/README.md +39 -0
- data/chef/travis-cookbooks/ci_environment/vim/attributes/default.rb +20 -0
- data/chef/travis-cookbooks/ci_environment/vim/metadata.rb +6 -0
- data/chef/travis-cookbooks/ci_environment/vim/recipes/default.rb +24 -0
- data/chef/travis-cookbooks/ci_environment/xserver/files/default/etc/init.d/xvfb.sh +24 -0
- data/chef/travis-cookbooks/ci_environment/xserver/metadata.rb +3 -0
- data/chef/travis-cookbooks/ci_environment/xserver/recipes/default.rb +37 -0
- data/chef/travis-cookbooks/ci_environment/zeromq/recipes/default.rb +27 -0
- data/chef/travis-cookbooks/ci_environment/zeromq/recipes/ppa.rb +33 -0
- data/chef/travis-cookbooks/ci_environment/zookeeper/recipes/cdh4.rb +51 -0
- data/chef/travis-cookbooks/worker_host/.gitignore +1 -0
- data/chef/travis-cookbooks/worker_host/ant/README.md +51 -0
- data/chef/travis-cookbooks/worker_host/ant/metadata.rb +12 -0
- data/chef/travis-cookbooks/worker_host/ant/recipes/default.rb +36 -0
- data/chef/travis-cookbooks/worker_host/apt/README.md +109 -0
- data/chef/travis-cookbooks/worker_host/apt/files/default/apt-cacher +9 -0
- data/chef/travis-cookbooks/worker_host/apt/files/default/apt-cacher.conf +144 -0
- data/chef/travis-cookbooks/worker_host/apt/files/default/apt-proxy-v2.conf +50 -0
- data/chef/travis-cookbooks/worker_host/apt/metadata.json +34 -0
- data/chef/travis-cookbooks/worker_host/apt/metadata.rb +13 -0
- data/chef/travis-cookbooks/worker_host/apt/providers/repository.rb +72 -0
- data/chef/travis-cookbooks/worker_host/apt/recipes/cacher-client.rb +37 -0
- data/chef/travis-cookbooks/worker_host/apt/recipes/cacher.rb +45 -0
- data/chef/travis-cookbooks/worker_host/apt/recipes/default.rb +33 -0
- data/chef/travis-cookbooks/worker_host/apt/resources/repository.rb +30 -0
- data/chef/travis-cookbooks/worker_host/build-essential/README.md +24 -0
- data/chef/travis-cookbooks/worker_host/build-essential/metadata.rb +10 -0
- data/chef/travis-cookbooks/worker_host/build-essential/recipes/default.rb +45 -0
- data/chef/travis-cookbooks/worker_host/chef-client/CHANGELOG.md +29 -0
- data/chef/travis-cookbooks/worker_host/chef-client/CONTRIBUTING +29 -0
- data/chef/travis-cookbooks/worker_host/chef-client/LICENSE +201 -0
- data/chef/travis-cookbooks/worker_host/chef-client/README.md +265 -0
- data/chef/travis-cookbooks/worker_host/chef-client/attributes/default.rb +70 -0
- data/chef/travis-cookbooks/worker_host/chef-client/metadata.json +44 -0
- data/chef/travis-cookbooks/worker_host/chef-client/metadata.rb +15 -0
- data/chef/travis-cookbooks/worker_host/chef-client/recipes/config.rb +53 -0
- data/chef/travis-cookbooks/worker_host/chef-client/recipes/cron.rb +83 -0
- data/chef/travis-cookbooks/worker_host/chef-client/recipes/default.rb +20 -0
- data/chef/travis-cookbooks/worker_host/chef-client/recipes/delete_validation.rb +26 -0
- data/chef/travis-cookbooks/worker_host/chef-client/recipes/service.rb +242 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/arch/conf.d/chef-client.conf.erb +5 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/arch/rc.d/chef-client.erb +76 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/chef-client.pill.erb +14 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/client.rb.erb +36 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/default/chef-client.erb +4 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/init.d/chef-client.erb +185 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/debian/init/chef-client.conf.erb +17 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/redhat/init.d/chef-client.erb +110 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/redhat/sysconfig/chef-client.erb +15 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/solaris/chef-client.erb +78 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/solaris/manifest.xml.erb +103 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/sv-chef-client-log-run.erb +2 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/default/sv-chef-client-run.erb +4 -0
- data/chef/travis-cookbooks/worker_host/chef-client/templates/windows/chef-client.xml.erb +38 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/CHANGELOG.md +12 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/CONTRIBUTING +29 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/LICENSE +201 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/README.md +103 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/attributes/default.rb +21 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/files/default/handlers/README +1 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/files/default/handlers/campfire_handler.rb +61 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/metadata.json +29 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/metadata.rb +6 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/providers/default.rb +83 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/recipes/campfire.rb +15 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/recipes/default.rb +31 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/recipes/json_file.rb +28 -0
- data/chef/travis-cookbooks/worker_host/chef_handler/resources/default.rb +34 -0
- data/chef/travis-cookbooks/worker_host/collectd-librato/.gitignore +1 -0
- data/chef/travis-cookbooks/worker_host/collectd-librato/README.md +22 -0
- data/chef/travis-cookbooks/worker_host/collectd-librato/attributes/collectd_librato.rb +4 -0
- data/chef/travis-cookbooks/worker_host/collectd-librato/metadata.rb +11 -0
- data/chef/travis-cookbooks/worker_host/collectd-librato/recipes/default.rb +41 -0
- data/chef/travis-cookbooks/worker_host/collectd/README.rdoc +85 -0
- data/chef/travis-cookbooks/worker_host/collectd/attributes/default.rb +33 -0
- data/chef/travis-cookbooks/worker_host/collectd/definitions/collectd_plugin.rb +52 -0
- data/chef/travis-cookbooks/worker_host/collectd/libraries/default.rb +47 -0
- data/chef/travis-cookbooks/worker_host/collectd/metadata.rb +15 -0
- data/chef/travis-cookbooks/worker_host/collectd/recipes/client.rb +33 -0
- data/chef/travis-cookbooks/worker_host/collectd/recipes/collectd_web.rb +49 -0
- data/chef/travis-cookbooks/worker_host/collectd/recipes/default.rb +90 -0
- data/chef/travis-cookbooks/worker_host/collectd/recipes/server.rb +24 -0
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/collectd.conf.erb +23 -0
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/collectd_web.conf.erb +32 -0
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/collection.conf.erb +2 -0
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/plugin.conf.erb +15 -0
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/python_plugin.conf.erb +20 -0
- data/chef/travis-cookbooks/worker_host/collectd/templates/default/thresholds.conf.erb +37 -0
- data/chef/travis-cookbooks/worker_host/disks/attributes/default.rb +1 -0
- data/chef/travis-cookbooks/worker_host/disks/recipes/default.rb +15 -0
- data/chef/travis-cookbooks/worker_host/emacs/emacs/metadata.rb +11 -0
- data/chef/travis-cookbooks/worker_host/emacs/emacs/recipes/default.rb +21 -0
- data/chef/travis-cookbooks/worker_host/emacs/metadata.rb +11 -0
- data/chef/travis-cookbooks/worker_host/emacs/recipes/default.rb +21 -0
- data/chef/travis-cookbooks/worker_host/git/README.rdoc +37 -0
- data/chef/travis-cookbooks/worker_host/git/metadata.rb +11 -0
- data/chef/travis-cookbooks/worker_host/git/recipes/default.rb +24 -0
- data/chef/travis-cookbooks/worker_host/git/templates/default/sv-git-daemon-log-run.erb +2 -0
- data/chef/travis-cookbooks/worker_host/git/templates/default/sv-git-daemon-run.erb +3 -0
- data/chef/travis-cookbooks/worker_host/iptables/files/default/iptables_rules +13 -0
- data/chef/travis-cookbooks/worker_host/iptables/metadata.rb +10 -0
- data/chef/travis-cookbooks/worker_host/iptables/recipes/default.rb +48 -0
- data/chef/travis-cookbooks/worker_host/iptables/templates/default/iptables_load.erb +3 -0
- data/chef/travis-cookbooks/worker_host/java/README.md +102 -0
- data/chef/travis-cookbooks/worker_host/java/attributes/default.rb +29 -0
- data/chef/travis-cookbooks/worker_host/java/files/default/java.seed +11 -0
- data/chef/travis-cookbooks/worker_host/java/metadata.rb +16 -0
- data/chef/travis-cookbooks/worker_host/java/recipes/default.rb +61 -0
- data/chef/travis-cookbooks/worker_host/java/recipes/openjdk.rb +54 -0
- data/chef/travis-cookbooks/worker_host/java/recipes/sun.rb +49 -0
- data/chef/travis-cookbooks/worker_host/jruby/attributes/default.rb +5 -0
- data/chef/travis-cookbooks/worker_host/jruby/metadata.rb +8 -0
- data/chef/travis-cookbooks/worker_host/jruby/recipes/default.rb +24 -0
- data/chef/travis-cookbooks/worker_host/monit/attributes/default.rb +3 -0
- data/chef/travis-cookbooks/worker_host/monit/files/default/default.monit +1 -0
- data/chef/travis-cookbooks/worker_host/monit/recipes/default.rb +56 -0
- data/chef/travis-cookbooks/worker_host/monit/templates/default/alerts.erb +12 -0
- data/chef/travis-cookbooks/worker_host/monit/templates/default/filesystems.erb +6 -0
- data/chef/travis-cookbooks/worker_host/monit/templates/default/monitrc.erb +6 -0
- data/chef/travis-cookbooks/worker_host/monit/templates/default/system.erb +4 -0
- data/chef/travis-cookbooks/worker_host/networking_basic/README.rdoc +8 -0
- data/chef/travis-cookbooks/worker_host/networking_basic/metadata.json +35 -0
- data/chef/travis-cookbooks/worker_host/networking_basic/metadata.rb +10 -0
- data/chef/travis-cookbooks/worker_host/networking_basic/recipes/default.rb +32 -0
- 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/worker_host/ntp/attributes/ntpdate.rb +21 -0
- 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/worker_host/ntp/recipes/undo.rb +36 -0
- 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/runit/CHANGELOG.md +3 -0
- data/chef/travis-cookbooks/worker_host/runit/CONTRIBUTING +29 -0
- data/chef/travis-cookbooks/worker_host/runit/LICENSE +201 -0
- data/chef/travis-cookbooks/worker_host/runit/README.md +226 -0
- data/chef/travis-cookbooks/worker_host/runit/attributes/default.rb +31 -0
- data/chef/travis-cookbooks/worker_host/runit/definitions/runit_service.rb +164 -0
- data/chef/travis-cookbooks/worker_host/runit/files/default/runit.seed +1 -0
- data/chef/travis-cookbooks/worker_host/runit/files/default/runsvdir +0 -0
- data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-6.10/runsvdir +6 -0
- data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-7.04/runsvdir +7 -0
- data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-7.10/runsvdir +7 -0
- data/chef/travis-cookbooks/worker_host/runit/files/ubuntu-8.04/runsvdir +7 -0
- data/chef/travis-cookbooks/worker_host/runit/metadata.json +102 -0
- data/chef/travis-cookbooks/worker_host/runit/metadata.rb +37 -0
- data/chef/travis-cookbooks/worker_host/runit/recipes/default.rb +72 -0
- data/chef/travis-cookbooks/worker_host/runit/templates/gentoo/runit-start.sh.erb +32 -0
- data/chef/travis-cookbooks/worker_host/rvm/attributes/default.rb +20 -0
- data/chef/travis-cookbooks/worker_host/rvm/attributes/install.rb +1 -0
- data/chef/travis-cookbooks/worker_host/rvm/attributes/ree.rb +1 -0
- data/chef/travis-cookbooks/worker_host/rvm/attributes/ruby_187.rb +2 -0
- data/chef/travis-cookbooks/worker_host/rvm/attributes/ruby_192.rb +2 -0
- data/chef/travis-cookbooks/worker_host/rvm/files/default/rvm.sh +1 -0
- data/chef/travis-cookbooks/worker_host/rvm/metadata.rb +27 -0
- data/chef/travis-cookbooks/worker_host/rvm/recipes/default.rb +27 -0
- data/chef/travis-cookbooks/worker_host/rvm/recipes/install.rb +36 -0
- data/chef/travis-cookbooks/worker_host/rvm/recipes/multi.rb +48 -0
- data/chef/travis-cookbooks/worker_host/rvm/recipes/ree.rb +6 -0
- data/chef/travis-cookbooks/worker_host/rvm/recipes/ruby_187.rb +7 -0
- data/chef/travis-cookbooks/worker_host/rvm/recipes/ruby_192.rb +7 -0
- data/chef/travis-cookbooks/worker_host/ssh/recipes/sshd.rb +12 -0
- data/chef/travis-cookbooks/worker_host/ssh/templates/default/sshd_config.erb +87 -0
- data/chef/travis-cookbooks/worker_host/sudo/attributes/sudoers.rb +2 -0
- data/chef/travis-cookbooks/worker_host/sudo/recipes/default.rb +14 -0
- data/chef/travis-cookbooks/worker_host/sudo/templates/default/sudoers.erb +19 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/attributes/default.rb +20 -0
- 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 +6 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/recipes/bluebox.rb +98 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/recipes/default.rb +140 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/sv-travis-worker-log-run.erb +2 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/sv-travis-worker-run.erb +4 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/travis-worker-bluebox.monitrc.erb +8 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/travis-worker.monitrc.erb +3 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/worker-bluebox.yml.erb +31 -0
- data/chef/travis-cookbooks/worker_host/travis_worker/templates/default/worker.yml.erb +10 -0
- data/chef/travis-cookbooks/worker_host/travis_worker_collectd/metadata.rb +2 -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 +12 -0
- data/chef/travis-cookbooks/worker_host/users/attributes/default.rb +2 -0
- data/chef/travis-cookbooks/worker_host/users/metadata.rb +9 -0
- data/chef/travis-cookbooks/worker_host/users/recipes/default.rb +88 -0
- data/chef/travis-cookbooks/worker_host/users/templates/default/authorized_keys.pub +4 -0
- data/chef/travis-cookbooks/worker_host/vim/README.md +39 -0
- data/chef/travis-cookbooks/worker_host/vim/attributes/default.rb +20 -0
- data/chef/travis-cookbooks/worker_host/vim/metadata.rb +6 -0
- data/chef/travis-cookbooks/worker_host/vim/recipes/default.rb +24 -0
- data/chef/travis-cookbooks/worker_host/virtualbox/attributes/default.rb +0 -0
- data/chef/travis-cookbooks/worker_host/virtualbox/metadata.rb +11 -0
- data/chef/travis-cookbooks/worker_host/virtualbox/recipes/default.rb +13 -0
- data/ciborg.gemspec +33 -19
- data/config/.gitkeep +0 -0
- data/cookbooks/.gitkeep +3 -0
- data/jenkins_plugin/.travis.yml +5 -0
- data/jenkins_plugin/README.md +8 -0
- data/jenkins_plugin/pom.xml +39 -0
- data/jenkins_plugin/src/main/java/com/pivotallabs/CiborgDecorator.java +22 -0
- data/jenkins_plugin/src/main/resources/com/pivotallabs/CiborgDecorator/header.jelly +3 -0
- data/jenkins_plugin/src/main/resources/index.jelly +6 -0
- data/jenkins_plugin/src/main/webapp/ciborg.css +5 -0
- data/jenkins_plugin/src/main/webapp/ciborg.png +0 -0
- data/lib/ciborg.rb +7 -4
- data/lib/ciborg/amazon.rb +105 -0
- data/lib/ciborg/cli.rb +172 -0
- data/lib/ciborg/config.rb +214 -0
- data/lib/ciborg/configuration_wizard.rb +122 -0
- data/lib/ciborg/keychain.rb +36 -0
- data/lib/ciborg/password.rb +13 -0
- data/lib/ciborg/sobo.rb +79 -0
- data/lib/ciborg/templates/default_rails_build_script.sh +13 -0
- data/lib/ciborg/version.rb +1 -1
- data/script/bootstrap_server.sh +35 -0
- data/script/ci_build.sh +13 -0
- data/spec/assets/test_cert.crt +15 -0
- data/spec/assets/test_cert.csr +12 -0
- data/spec/assets/test_cert.key +15 -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/ciborg/amazon_spec.rb +168 -0
- data/spec/lib/ciborg/cli_spec.rb +292 -0
- data/spec/lib/ciborg/config_spec.rb +299 -0
- data/spec/lib/ciborg/configuration_wizard_spec.rb +364 -0
- data/spec/lib/ciborg/keychain_spec.rb +33 -0
- data/spec/lib/ciborg/password_spec.rb +15 -0
- data/spec/spec_helper.rb +24 -0
- data/templates/Gemfile-remote +4 -0
- metadata +928 -20
@@ -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"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
DESCRIPTION
|
2
|
+
===========
|
3
|
+
|
4
|
+
Installs packages for cross-compiling 32-bit Windows applications in C.
|
5
|
+
|
6
|
+
LICENSE AND AUTHOR
|
7
|
+
==================
|
8
|
+
|
9
|
+
Author:: Scott J. Goldman (<scottjgo@gmail.com>)
|
10
|
+
|
11
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
12
|
+
you may not use this file except in compliance with the License.
|
13
|
+
You may obtain a copy of the License at
|
14
|
+
|
15
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
16
|
+
|
17
|
+
Unless required by applicable law or agreed to in writing, software
|
18
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
19
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
20
|
+
See the License for the specific language governing permissions and
|
21
|
+
limitations under the License.
|
@@ -0,0 +1,10 @@
|
|
1
|
+
maintainer "Scott J. Goldman"
|
2
|
+
maintainer_email "scottjgo@gmail.com"
|
3
|
+
license "Apache 2.0"
|
4
|
+
description "Installs 32-bit MINGW C cross-compiler / build tools"
|
5
|
+
version "1.0.0"
|
6
|
+
recipe "mingw", "Installs 32-bit MINGW C cross-compiler and build tools on Linux"
|
7
|
+
|
8
|
+
%w{ ubuntu debian }.each do |os|
|
9
|
+
supports os
|
10
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: mingw32
|
3
|
+
# Recipe:: default
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
|
18
|
+
case node['platform']
|
19
|
+
when "ubuntu","debian"
|
20
|
+
package 'mingw32' do
|
21
|
+
action :install
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
metadata.json
|
File without changes
|
@@ -0,0 +1,67 @@
|
|
1
|
+
### SOURCE PACKAGES
|
2
|
+
default[:mongodb][:version] = "1.6.5"
|
3
|
+
default[:mongodb][:source] = "http://fastdl.mongodb.org/linux/mongodb-linux-#{node[:kernel][:machine]}-#{mongodb[:version]}.tgz"
|
4
|
+
default[:mongodb][:i686][:checksum] = "e64d9f4ce31d789caef7370b863cf59d"
|
5
|
+
default[:mongodb][:x86_64][:checksum] = "14f89864f3b58fc20f22ec0068325870"
|
6
|
+
|
7
|
+
### GENERAL
|
8
|
+
default[:mongodb][:dir] = "/opt/mongodb-#{mongodb[:version]}" # For install from source
|
9
|
+
default[:mongodb][:datadir] = "/var/db/mongodb"
|
10
|
+
default[:mongodb][:config] = "/etc/mongodb.conf"
|
11
|
+
default[:mongodb][:logfile] = "/var/log/mongodb.log"
|
12
|
+
default[:mongodb][:pidfile] = "/var/run/mongodb.pid"
|
13
|
+
default[:mongodb][:port] = 27017
|
14
|
+
|
15
|
+
default[:mongodb][:bind_ip] = '127.0.0.1'
|
16
|
+
|
17
|
+
|
18
|
+
### EXTRA
|
19
|
+
default[:mongodb][:log_cpu_io] = false
|
20
|
+
default[:mongodb][:auth] = false
|
21
|
+
default[:mongodb][:username] = ""
|
22
|
+
default[:mongodb][:password] = ""
|
23
|
+
default[:mongodb][:verbose] = false
|
24
|
+
default[:mongodb][:objcheck] = false
|
25
|
+
default[:mongodb][:quota] = false
|
26
|
+
default[:mongodb][:diaglog] = false
|
27
|
+
default[:mongodb][:nocursors] = false
|
28
|
+
default[:mongodb][:nohints] = false
|
29
|
+
default[:mongodb][:nohttp] = false
|
30
|
+
default[:mongodb][:noscripting] = false
|
31
|
+
default[:mongodb][:notablescan] = false
|
32
|
+
default[:mongodb][:noprealloc] = false
|
33
|
+
default[:mongodb][:nssize] = false
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
### STARTUP
|
38
|
+
default[:mongodb][:rest] = false
|
39
|
+
default[:mongodb][:syncdelay] = 60
|
40
|
+
|
41
|
+
default[:mongodb][:service][:enabled] = false
|
42
|
+
|
43
|
+
### MMS
|
44
|
+
default[:mongodb][:mms] = false
|
45
|
+
default[:mongodb][:token] = ""
|
46
|
+
default[:mongodb][:name] = ""
|
47
|
+
default[:mongodb][:interval] = ""
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
### REPLICATION
|
52
|
+
default[:mongodb][:replication] = false
|
53
|
+
|
54
|
+
default[:mongodb][:autoresync] = false
|
55
|
+
default[:mongodb][:oplogsize] = 0
|
56
|
+
default[:mongodb][:opidmem] = 0
|
57
|
+
|
58
|
+
default[:mongodb][:replica_set] = "none"
|
59
|
+
|
60
|
+
|
61
|
+
### CONFIG SERVER
|
62
|
+
default[:mongodb][:config_server][:datadir] = "/var/lib/mongodb"
|
63
|
+
default[:mongodb][:config_server][:config] = "/etc/mongodb-config.conf"
|
64
|
+
default[:mongodb][:config_server][:logfile] = "/var/log/mongodb-config.log"
|
65
|
+
default[:mongodb][:config_server][:pidfile] = "/var/run/mongodb-config.pid"
|
66
|
+
default[:mongodb][:config_server][:host] = "localhost"
|
67
|
+
default[:mongodb][:config_server][:port] = 27019
|
@@ -0,0 +1 @@
|
|
1
|
+
deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen
|
@@ -0,0 +1,261 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
#
|
3
|
+
# init.d script with LSB support.
|
4
|
+
#
|
5
|
+
# Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org>
|
6
|
+
#
|
7
|
+
# This is free software; you may redistribute it and/or modify
|
8
|
+
# it under the terms of the GNU General Public License as
|
9
|
+
# published by the Free Software Foundation; either version 2,
|
10
|
+
# or (at your option) any later version.
|
11
|
+
#
|
12
|
+
# This is distributed in the hope that it will be useful, but
|
13
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
# GNU General Public License for more details.
|
16
|
+
#
|
17
|
+
# You should have received a copy of the GNU General Public License with
|
18
|
+
# the Debian operating system, in /usr/share/common-licenses/GPL; if
|
19
|
+
# not, write to the Free Software Foundation, Inc., 59 Temple Place,
|
20
|
+
# Suite 330, Boston, MA 02111-1307 USA
|
21
|
+
#
|
22
|
+
### BEGIN INIT INFO
|
23
|
+
# Provides: mongodb
|
24
|
+
# Required-Start: $network $local_fs $remote_fs
|
25
|
+
# Required-Stop: $network $local_fs $remote_fs
|
26
|
+
# Should-Start: $named
|
27
|
+
# Should-Stop:
|
28
|
+
# Default-Start: 2 3 4 5
|
29
|
+
# Default-Stop: 0 1 6
|
30
|
+
# Short-Description: An object/document-oriented database
|
31
|
+
# Description: MongoDB is a high-performance, open source, schema-free
|
32
|
+
# document-oriented data store that's easy to deploy, manage
|
33
|
+
# and use. It's network accessible, written in C++ and offers
|
34
|
+
# the following features:
|
35
|
+
#
|
36
|
+
# * Collection oriented storage - easy storage of object-
|
37
|
+
# style data
|
38
|
+
# * Full index support, including on inner objects
|
39
|
+
# * Query profiling
|
40
|
+
# * Replication and fail-over support
|
41
|
+
# * Efficient storage of binary data including large
|
42
|
+
# objects (e.g. videos)
|
43
|
+
# * Auto-sharding for cloud-level scalability (Q209)
|
44
|
+
#
|
45
|
+
# High performance, scalability, and reasonable depth of
|
46
|
+
# functionality are the goals for the project.
|
47
|
+
### END INIT INFO
|
48
|
+
|
49
|
+
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
50
|
+
DAEMON=/usr/bin/mongod
|
51
|
+
DESC=database
|
52
|
+
|
53
|
+
# Default defaults. Can be overridden by the /etc/default/$NAME
|
54
|
+
NAME=mongodb
|
55
|
+
CONF=/etc/mongodb.conf
|
56
|
+
DATA=/var/lib/mongodb
|
57
|
+
LOGDIR=/var/log/mongodb
|
58
|
+
PIDFILE=/var/run/$NAME.pid
|
59
|
+
LOGFILE=$LOGDIR/$NAME.log # Server logfile
|
60
|
+
ENABLE_MONGODB=yes
|
61
|
+
LOCKFILE=${DATA}/mongod.lock
|
62
|
+
|
63
|
+
# Include mongodb defaults if available
|
64
|
+
if [ -f /etc/default/$NAME ] ; then
|
65
|
+
. /etc/default/$NAME
|
66
|
+
fi
|
67
|
+
|
68
|
+
if test ! -x $DAEMON; then
|
69
|
+
echo "Could not find $DAEMON"
|
70
|
+
exit 0
|
71
|
+
fi
|
72
|
+
|
73
|
+
if test "x$ENABLE_MONGODB" != "xyes"; then
|
74
|
+
exit 0
|
75
|
+
fi
|
76
|
+
|
77
|
+
if test ! -x $DATA; then
|
78
|
+
mkdir $DATA || exit 0
|
79
|
+
fi
|
80
|
+
|
81
|
+
. /lib/lsb/init-functions
|
82
|
+
|
83
|
+
STARTTIME=1
|
84
|
+
DIETIME=10 # Time to wait for the server to die, in seconds
|
85
|
+
# If this value is set too low you might not
|
86
|
+
# let some servers to die gracefully and
|
87
|
+
# 'restart' will not work
|
88
|
+
|
89
|
+
DAEMONUSER=${DAEMONUSER:-mongodb}
|
90
|
+
DAEMON_OPTS=${DAEMON_OPTS:-"--dbpath $DATA --logpath $LOGFILE run"}
|
91
|
+
DAEMON_OPTS="$DAEMON_OPTS --config $CONF"
|
92
|
+
|
93
|
+
set -e
|
94
|
+
|
95
|
+
|
96
|
+
running_pid() {
|
97
|
+
# Check if a given process pid's cmdline matches a given name
|
98
|
+
pid=$1
|
99
|
+
name=$2
|
100
|
+
[ -z "$pid" ] && return 1
|
101
|
+
[ ! -d /proc/$pid ] && return 1
|
102
|
+
cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1`
|
103
|
+
# Is this the expected server
|
104
|
+
[ "$cmd" != "$name" ] && return 1
|
105
|
+
return 0
|
106
|
+
}
|
107
|
+
|
108
|
+
running() {
|
109
|
+
# Check if the process is running looking at /proc
|
110
|
+
# (works for all users)
|
111
|
+
|
112
|
+
# No pidfile, probably no daemon present
|
113
|
+
[ ! -f "$PIDFILE" ] && return 1
|
114
|
+
pid=`cat $PIDFILE`
|
115
|
+
running_pid $pid $DAEMON || return 1
|
116
|
+
return 0
|
117
|
+
}
|
118
|
+
|
119
|
+
start_server() {
|
120
|
+
# Start the process using the wrapper
|
121
|
+
start-stop-daemon --background --start --quiet --pidfile $PIDFILE \
|
122
|
+
--make-pidfile --chuid $DAEMONUSER \
|
123
|
+
--exec $DAEMON -- $DAEMON_OPTS
|
124
|
+
errcode=$?
|
125
|
+
return $errcode
|
126
|
+
}
|
127
|
+
|
128
|
+
stop_server() {
|
129
|
+
# Stop the process using the wrapper
|
130
|
+
start-stop-daemon --stop --quiet --pidfile $PIDFILE \
|
131
|
+
--retry 300 \
|
132
|
+
--user $DAEMONUSER \
|
133
|
+
--exec $DAEMON
|
134
|
+
errcode=$?
|
135
|
+
return $errcode
|
136
|
+
}
|
137
|
+
|
138
|
+
force_stop() {
|
139
|
+
# Force the process to die killing it manually
|
140
|
+
[ ! -e "$PIDFILE" ] && return
|
141
|
+
if running ; then
|
142
|
+
kill -15 $pid
|
143
|
+
# Is it really dead?
|
144
|
+
sleep "$DIETIME"s
|
145
|
+
if running ; then
|
146
|
+
kill -9 $pid
|
147
|
+
sleep "$DIETIME"s
|
148
|
+
if running ; then
|
149
|
+
echo "Cannot kill $NAME (pid=$pid)!"
|
150
|
+
exit 1
|
151
|
+
fi
|
152
|
+
fi
|
153
|
+
fi
|
154
|
+
rm -f $PIDFILE
|
155
|
+
}
|
156
|
+
|
157
|
+
system_starting() {
|
158
|
+
if [[ $PREVRUNLEVEL -eq 0 ]] || [[ $PREVRUNLEVEL -eq 6 ]]; then
|
159
|
+
return 1
|
160
|
+
else
|
161
|
+
return 0
|
162
|
+
fi
|
163
|
+
}
|
164
|
+
|
165
|
+
break_mongod_lock() {
|
166
|
+
rm -f ${LOCKFILE}
|
167
|
+
}
|
168
|
+
|
169
|
+
case "$1" in
|
170
|
+
start)
|
171
|
+
log_daemon_msg "Starting $DESC" "$NAME"
|
172
|
+
# Check if it's running first
|
173
|
+
if running ; then
|
174
|
+
log_progress_msg "apparently already running"
|
175
|
+
log_end_msg 0
|
176
|
+
exit 0
|
177
|
+
fi
|
178
|
+
|
179
|
+
if system_starting ; then
|
180
|
+
break_mongod_lock
|
181
|
+
fi
|
182
|
+
|
183
|
+
if start_server ; then
|
184
|
+
# NOTE: Some servers might die some time after they start,
|
185
|
+
# this code will detect this issue if STARTTIME is set
|
186
|
+
# to a reasonable value
|
187
|
+
[ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time
|
188
|
+
if running ; then
|
189
|
+
# It's ok, the server started and is running
|
190
|
+
log_end_msg 0
|
191
|
+
else
|
192
|
+
# It is not running after we did start
|
193
|
+
log_end_msg 1
|
194
|
+
fi
|
195
|
+
else
|
196
|
+
# Either we could not start it
|
197
|
+
log_end_msg 1
|
198
|
+
fi
|
199
|
+
;;
|
200
|
+
stop)
|
201
|
+
log_daemon_msg "Stopping $DESC" "$NAME"
|
202
|
+
if running ; then
|
203
|
+
# Only stop the server if we see it running
|
204
|
+
errcode=0
|
205
|
+
stop_server || errcode=$?
|
206
|
+
log_end_msg $errcode
|
207
|
+
else
|
208
|
+
# If it's not running don't do anything
|
209
|
+
log_progress_msg "apparently not running"
|
210
|
+
log_end_msg 0
|
211
|
+
exit 0
|
212
|
+
fi
|
213
|
+
;;
|
214
|
+
force-stop)
|
215
|
+
# First try to stop gracefully the program
|
216
|
+
$0 stop
|
217
|
+
if running; then
|
218
|
+
# If it's still running try to kill it more forcefully
|
219
|
+
log_daemon_msg "Stopping (force) $DESC" "$NAME"
|
220
|
+
errcode=0
|
221
|
+
force_stop || errcode=$?
|
222
|
+
log_end_msg $errcode
|
223
|
+
fi
|
224
|
+
;;
|
225
|
+
restart|force-reload)
|
226
|
+
log_daemon_msg "Restarting $DESC" "$NAME"
|
227
|
+
errcode=0
|
228
|
+
stop_server || errcode=$?
|
229
|
+
# Wait some sensible amount, some server need this
|
230
|
+
[ -n "$DIETIME" ] && sleep $DIETIME
|
231
|
+
start_server || errcode=$?
|
232
|
+
[ -n "$STARTTIME" ] && sleep $STARTTIME
|
233
|
+
running || errcode=$?
|
234
|
+
log_end_msg $errcode
|
235
|
+
;;
|
236
|
+
status)
|
237
|
+
|
238
|
+
log_daemon_msg "Checking status of $DESC" "$NAME"
|
239
|
+
if running ; then
|
240
|
+
log_progress_msg "running"
|
241
|
+
log_end_msg 0
|
242
|
+
else
|
243
|
+
log_progress_msg "apparently not running"
|
244
|
+
log_end_msg 1
|
245
|
+
exit 1
|
246
|
+
fi
|
247
|
+
;;
|
248
|
+
# MongoDB can't reload its configuration.
|
249
|
+
reload)
|
250
|
+
log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon"
|
251
|
+
log_warning_msg "cannot re-read the config file (use restart)."
|
252
|
+
;;
|
253
|
+
|
254
|
+
*)
|
255
|
+
N=/etc/init.d/$NAME
|
256
|
+
echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2
|
257
|
+
exit 1
|
258
|
+
;;
|
259
|
+
esac
|
260
|
+
|
261
|
+
exit 0
|
@@ -0,0 +1,235 @@
|
|
1
|
+
maintainer "Michael Strüder"
|
2
|
+
maintainer_email "mikezter@gmail.com"
|
3
|
+
license "Apache 2.0"
|
4
|
+
description "Installs and configures MongoDB 1.8.1"
|
5
|
+
version "0.3"
|
6
|
+
|
7
|
+
recipe "mongodb::apt", "Installs MongoDB from 10Gen's apt source and includes init.d script"
|
8
|
+
recipe "mongodb::source", "Installs MongoDB from source and includes init.d script"
|
9
|
+
recipe "mongodb::backup", "Sets up MongoDB backup script, taken from http://github.com/micahwedemeyer/automongobackup"
|
10
|
+
|
11
|
+
%w{ ubuntu debian }.each do |os|
|
12
|
+
supports os
|
13
|
+
end
|
14
|
+
|
15
|
+
# Package info
|
16
|
+
attribute "mongodb/version",
|
17
|
+
:display_name => "MongoDB version",
|
18
|
+
:description => "Which MongoDB version will be installed",
|
19
|
+
:default => "1.8.1"
|
20
|
+
|
21
|
+
attribute "mongodb/source",
|
22
|
+
:display_name => "MongoDB source file",
|
23
|
+
:description => "Downloaded location for MongoDB"
|
24
|
+
|
25
|
+
attribute "mongodb/checksum",
|
26
|
+
:display_name => "MongoDB source file checksum",
|
27
|
+
:description => "Will make sure the source file is the real deal",
|
28
|
+
:default => "e75a5cae641a53760df8cb866ad5d929"
|
29
|
+
|
30
|
+
|
31
|
+
# Paths & port
|
32
|
+
attribute "mongodb/dir",
|
33
|
+
:display_name => "MongoDB installation path",
|
34
|
+
:description => "MongoDB will be installed here",
|
35
|
+
:default => "/opt/mongodb"
|
36
|
+
|
37
|
+
attribute "mongodb/datadir",
|
38
|
+
:display_name => "MongoDB data store",
|
39
|
+
:description => "All MongoDB data will be stored here",
|
40
|
+
:default => "/var/lib/mongodb"
|
41
|
+
|
42
|
+
attribute "mongodb/config",
|
43
|
+
:display_name => "MongoDB config",
|
44
|
+
:description => "Path to MongoDB config file",
|
45
|
+
:default => "/etc/mongodb.conf"
|
46
|
+
|
47
|
+
attribute "mongodb/logfile",
|
48
|
+
:display_name => "MongoDB log file",
|
49
|
+
:description => "MongoDB will log into this file",
|
50
|
+
:default => "/var/log/mongodb/mongodb.log"
|
51
|
+
|
52
|
+
attribute "mongodb/pidfile",
|
53
|
+
:display_name => "MongoDB PID file",
|
54
|
+
:description => "Path to MongoDB PID file",
|
55
|
+
:default => "/var/run/mongodb.pid"
|
56
|
+
|
57
|
+
attribute "mongodb/port",
|
58
|
+
:display_name => "MongoDB port",
|
59
|
+
:description => "Accept connections on the specified port",
|
60
|
+
:default => "27017"
|
61
|
+
|
62
|
+
# Logging, access & others
|
63
|
+
attribute "mongodb/log_cpu_io",
|
64
|
+
:display_name => "MongoDB CPU & I/O logging",
|
65
|
+
:description => "Enables periodic logging of CPU utilization and I/O wait",
|
66
|
+
:default => "false"
|
67
|
+
|
68
|
+
attribute "mongodb/auth",
|
69
|
+
:display_name => "MongoDB authentication",
|
70
|
+
:description => "Turn on/off security",
|
71
|
+
:default => "false"
|
72
|
+
|
73
|
+
attribute "mongodb/username",
|
74
|
+
:display_name => "MongoDB useranme",
|
75
|
+
:description => "If authentication is on, you might want to specify this for the db backups"
|
76
|
+
|
77
|
+
attribute "mongodb/password",
|
78
|
+
:display_name => "MongoDB password",
|
79
|
+
:description => "If authentication is on, you might want to specify this for the db backups"
|
80
|
+
|
81
|
+
attribute "mongodb/verbose",
|
82
|
+
:display_name => "MongoDB verbose",
|
83
|
+
:description => "Verbose logging output",
|
84
|
+
:default => "false"
|
85
|
+
|
86
|
+
attribute "mongodb/objcheck",
|
87
|
+
:display_name => "MongoDB objcheck",
|
88
|
+
:description => "Inspect all client data for validity on receipt (useful for developing drivers)",
|
89
|
+
:default => "false"
|
90
|
+
|
91
|
+
attribute "mongodb/quota",
|
92
|
+
:display_name => "MongoDB quota",
|
93
|
+
:description => "Enable db quota management",
|
94
|
+
:default => "false"
|
95
|
+
|
96
|
+
attribute "mongodb/diaglog",
|
97
|
+
:display_name => "MongoDB operations loggins",
|
98
|
+
:description => "Set oplogging level where n is 0=off (default) 1=W 2=R 3=both 7=W+some reads",
|
99
|
+
:default => "false"
|
100
|
+
|
101
|
+
attribute "mongodb/nocursors",
|
102
|
+
:display_name => "MongoDB nocursors",
|
103
|
+
:description => "Diagnostic/debugging option",
|
104
|
+
:default => "false"
|
105
|
+
|
106
|
+
attribute "mongodb/nohints",
|
107
|
+
:display_name => "MongoDB nohints",
|
108
|
+
:description => "Ignore query hints",
|
109
|
+
:default => "false"
|
110
|
+
|
111
|
+
attribute "mongodb/nohttp",
|
112
|
+
:display_name => "MongoDB nohttp",
|
113
|
+
:description => "Disable the HTTP interface (Defaults to localhost:27018)",
|
114
|
+
:default => "false"
|
115
|
+
|
116
|
+
attribute "mongodb/noscripting",
|
117
|
+
:display_name => "MongoDB noscripting",
|
118
|
+
:description => "Turns off server-side scripting. This will result in greatly limited functionality.",
|
119
|
+
:default => "false"
|
120
|
+
|
121
|
+
attribute "mongodb/notablescan",
|
122
|
+
:display_name => "MongoDB notablescan",
|
123
|
+
:description => "Turns off table scans. Any query that would do a table scan fails.",
|
124
|
+
:default => "false"
|
125
|
+
|
126
|
+
attribute "mongodb/noprealloc",
|
127
|
+
:display_name => "MongoDB noprealloc",
|
128
|
+
:description => "Disable data file preallocation",
|
129
|
+
:default => "false"
|
130
|
+
|
131
|
+
attribute "mongodb/nssize",
|
132
|
+
:display_name => "MongoDB nssize",
|
133
|
+
:description => "Specify .ns file size for new databases",
|
134
|
+
:default => "false"
|
135
|
+
|
136
|
+
# Daemon options
|
137
|
+
attribute "mongodb/rest",
|
138
|
+
:display_name => "MongoDB REST",
|
139
|
+
:description => "Enables REST interface for extra info on Http Interface",
|
140
|
+
:default => "false"
|
141
|
+
|
142
|
+
attribute "mongodb/syncdelay",
|
143
|
+
:display_name => "MongoDB syncdelay",
|
144
|
+
:description => "Controls how often changes are flushed to disk",
|
145
|
+
:default => "60"
|
146
|
+
|
147
|
+
# Monitoring
|
148
|
+
attribute "mongodb/mms",
|
149
|
+
:display_name => "MongoDB mms",
|
150
|
+
:description => "Enable when you have a Mongo monitoring server",
|
151
|
+
:default => "false"
|
152
|
+
|
153
|
+
attribute "mongodb/token",
|
154
|
+
:display_name => "MongoDB mms-token",
|
155
|
+
:description => "Accout token for Mongo monitoring server"
|
156
|
+
|
157
|
+
attribute "mongodb/name",
|
158
|
+
:display_name => "MongoDB mms-name",
|
159
|
+
:description => "Server name for Mongo monitoring server"
|
160
|
+
|
161
|
+
attribute "mongodb/interval",
|
162
|
+
:display_name => "MongoDB mms-interval",
|
163
|
+
:description => "Ping interval for Mongo monitoring server"
|
164
|
+
|
165
|
+
# Replication
|
166
|
+
attribute "mongodb/replication",
|
167
|
+
:display_name => "MongoDB replication",
|
168
|
+
:description => "Enable if you want to configure replication",
|
169
|
+
:default => "false"
|
170
|
+
|
171
|
+
attribute "mongodb/arbiter",
|
172
|
+
:display_name => "MongoDB replication arbiter",
|
173
|
+
:description => "Address of arbiter server"
|
174
|
+
|
175
|
+
attribute "mongodb/autoresync",
|
176
|
+
:display_name => "MongoDB replication autoresync",
|
177
|
+
:description => "Automatically resync if slave data is stale",
|
178
|
+
:default => "false"
|
179
|
+
|
180
|
+
attribute "mongodb/oplogsize",
|
181
|
+
:display_name => "MongoDB replication oplogsize",
|
182
|
+
:description => "Custom size for replication operation log (in MB)",
|
183
|
+
:default => "0"
|
184
|
+
|
185
|
+
attribute "mongodb/opidmem",
|
186
|
+
:display_name => "MongoDB replication opidmem",
|
187
|
+
:description => "Custom size limit for in-memory storage of op ids (in MB)",
|
188
|
+
:default => "0"
|
189
|
+
|
190
|
+
# Backups
|
191
|
+
attribute "mongodb/backup/backupdir",
|
192
|
+
:display_name => "MongoDB backup directory",
|
193
|
+
:description => "Backup directory location",
|
194
|
+
:default => "/var/backups/mongodb"
|
195
|
+
|
196
|
+
attribute "mongodb/backup/day",
|
197
|
+
:display_name => "MongoDB backup day",
|
198
|
+
:description => "Which day do you want weekly backups? (1 to 7 where 1 is Monday)",
|
199
|
+
:default => "6"
|
200
|
+
|
201
|
+
attribute "mongodb/backup/compression",
|
202
|
+
:display_name => "MongoDB backup compression",
|
203
|
+
:description => "Choose Compression type. (gzip or bzip2)",
|
204
|
+
:default => "bzip2"
|
205
|
+
|
206
|
+
attribute "mongodb/backup/cleanup",
|
207
|
+
:display_name => "MongoDB backup cleanup",
|
208
|
+
:description => "Choose if the uncompressed folder should be deleted after compression has completed",
|
209
|
+
:default => "yes"
|
210
|
+
|
211
|
+
attribute "mongodb/backup/latest",
|
212
|
+
:display_name => "MongoDB backup latest",
|
213
|
+
:description => "Additionally keep a copy of the most recent backup in a seperate directory",
|
214
|
+
:default => "yes"
|
215
|
+
|
216
|
+
attribute "mongodb/backup/mailaddress",
|
217
|
+
:display_name => "MongoDB backup mail",
|
218
|
+
:description => "Email Address to send mail to after each backup",
|
219
|
+
:default => "false"
|
220
|
+
|
221
|
+
attribute "mongodb/backup/mailcontent",
|
222
|
+
:display_name => "MongoDB backup mailcontent",
|
223
|
+
:description => %{
|
224
|
+
What would you like to be mailed to you?
|
225
|
+
- log : send only log file
|
226
|
+
- files : send log file and sql files as attachments (see docs)
|
227
|
+
- stdout : will simply output the log to the screen if run manually
|
228
|
+
- quiet : Only send logs if an error occurs
|
229
|
+
}.strip,
|
230
|
+
:default => "stdout"
|
231
|
+
|
232
|
+
attribute "mongodb/backup/maxemailsize",
|
233
|
+
:display_name => "MongoDB backup max email size",
|
234
|
+
:description => "Set the maximum allowed email size in k. (4000 = approx 5MB email)",
|
235
|
+
:default => "4000"
|