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,70 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Joshua Timberman (<joshua@opscode.com>)
|
3
|
-
# Author:: Seth Chisamore (<schisamo@opscode.com>)
|
4
|
-
# Cookbook Name:: chef
|
5
|
-
# Attributes:: default
|
6
|
-
#
|
7
|
-
# Copyright 2008-2011, Opscode, Inc
|
8
|
-
#
|
9
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
10
|
-
# you may not use this file except in compliance with the License.
|
11
|
-
# You may obtain a copy of the License at
|
12
|
-
#
|
13
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
14
|
-
#
|
15
|
-
# Unless required by applicable law or agreed to in writing, software
|
16
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
17
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
18
|
-
# See the License for the specific language governing permissions and
|
19
|
-
# limitations under the License.
|
20
|
-
|
21
|
-
require 'rbconfig'
|
22
|
-
|
23
|
-
default["chef_client"]["interval"] = "1800"
|
24
|
-
default["chef_client"]["splay"] = "20"
|
25
|
-
default["chef_client"]["log_dir"] = "/var/log/chef"
|
26
|
-
default["chef_client"]["conf_dir"] = "/etc/chef"
|
27
|
-
default["chef_client"]["bin"] = "/usr/bin/chef-client"
|
28
|
-
default["chef_client"]["server_url"] = "http://localhost:4000"
|
29
|
-
default["chef_client"]["validation_client_name"] = "chef-validator"
|
30
|
-
default["chef_client"]["cron"] = { "minute" => "0", "hour" => "*/4" }
|
31
|
-
|
32
|
-
case platform
|
33
|
-
when "arch"
|
34
|
-
default["chef_client"]["init_style"] = "arch"
|
35
|
-
default["chef_client"]["run_path"] = "/var/run/chef"
|
36
|
-
default["chef_client"]["cache_path"] = "/var/cache/chef"
|
37
|
-
default["chef_client"]["backup_path"] = "/var/lib/chef"
|
38
|
-
when "debian","ubuntu","redhat","centos","fedora"
|
39
|
-
default["chef_client"]["init_style"] = "init"
|
40
|
-
default["chef_client"]["run_path"] = "/var/run/chef"
|
41
|
-
default["chef_client"]["cache_path"] = "/var/cache/chef"
|
42
|
-
default["chef_client"]["backup_path"] = "/var/lib/chef"
|
43
|
-
when "openbsd","freebsd","mac_os_x","mac_os_x_server"
|
44
|
-
default["chef_client"]["init_style"] = "bsd"
|
45
|
-
default["chef_client"]["run_path"] = "/var/run"
|
46
|
-
default["chef_client"]["cache_path"] = "/var/chef/cache"
|
47
|
-
default["chef_client"]["backup_path"] = "/var/chef/backup"
|
48
|
-
when "openindiana","opensolaris","nexentacore","solaris2"
|
49
|
-
default["chef_client"]["init_style"] = "smf"
|
50
|
-
default["chef_client"]["run_path"] = "/var/run/chef"
|
51
|
-
default["chef_client"]["cache_path"] = "/var/chef/cache"
|
52
|
-
default["chef_client"]["backup_path"] = "/var/chef/backup"
|
53
|
-
when "windows"
|
54
|
-
default["chef_client"]["init_style"] = "winsw"
|
55
|
-
default["chef_client"]["run_path"] = "C:/var/run/chef"
|
56
|
-
default["chef_client"]["cache_path"] = "C:/var/chef/cache"
|
57
|
-
default["chef_client"]["backup_path"] = "C:/var/chef/backup"
|
58
|
-
default["chef_client"]["conf_dir"] = "C:/chef"
|
59
|
-
default["chef_client"]["bin"] = File.join(Gem.bindir, "chef-client")
|
60
|
-
#Required for minsw wrapper
|
61
|
-
default["chef_client"]["ruby_bin"] = File.join(RbConfig::CONFIG['bindir'], "ruby.exe")
|
62
|
-
default["chef_client"]["winsw_url"] = "http://maven.dyndns.org/2/com/sun/winsw/winsw/1.8/winsw-1.8-bin.exe"
|
63
|
-
default["chef_client"]["winsw_dir"] = "C:/chef/bin"
|
64
|
-
default["chef_client"]["winsw_exe"] = "chef-client.exe"
|
65
|
-
else
|
66
|
-
default["chef_client"]["init_style"] = "none"
|
67
|
-
default["chef_client"]["run_path"] = "/var/run"
|
68
|
-
default["chef_client"]["cache_path"] = "/var/chef/cache"
|
69
|
-
default["chef_client"]["backup_path"] = "/var/chef/backup"
|
70
|
-
end
|
@@ -1,44 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "chef-client",
|
3
|
-
"description": "Manages aspects of only chef-client",
|
4
|
-
"long_description": "Description\n===========\n\nThis cookbook is used to configure a system as a Chef Client.\n\nRequirements\n============\n\nChef 0.9.12 or higher is required.\n\nPlatforms\n---------\n\nThe following platforms are supported by this cookbook, meaning that the recipes run on these platforms without error.\n\n* Debian\n* Ubuntu\n* Red Hat\n* CentOS\n* Fedora\n* ArchLinux\n* FreeBSD\n* Mac OS X\n* Mac OS X Server\n\nOpscode Cookbooks\n-----------------\n\nOther cookbooks can be used with this cookbook but they are not explicitly required. The default settings in this cookbook do not require their use. The other cookbooks (on community.opsocde.com) are:\n\n* bluepill\n* daemontools\n* runit\n\nSee __USAGE__ below.\n\nAttributes\n==========\n\n* `node[\"chef_client\"][\"interval\"]` - Sets `Chef::Config[:interval]` via command-line option for number of seconds between chef-client daemon runs. Default 1800.\n* `node[\"chef_client\"][\"splay\"]` - Sets `Chef::Config[:splay]` via command-line option for a random amount of seconds to add to interval. Default 20.\n* `node[\"chef_client\"][\"log_dir\"]` - Sets directory used in `Chef::Config[:log_location]` via command-line option to a location where chef-client should log output. Default \"/var/log/chef\".\n* `node[\"chef_client\"][\"conf_dir\"]` - Sets directory used via command-line option to a location where chef-client search for the client config file . Default \"/etc/chef\".\n* `node[\"chef_client\"][\"bin\"]` - Sets the full path to the `chef-client` binary. Mainly used to set a specific path if multiple versions of chef-client exist on a system or the bin has been installed in a non-sane path. Default \"/usr/bin/chef-client\"\n* `node[\"chef_client\"][\"server_url\"]` - Sets `Chef::Config[:chef_server_url]` in the config file to the Chef Server URI. Default \"http://localhost:4000\". See __USAGE__.\n* `node[\"chef_client\"][\"validation_client_name\"]` - Sets `Chef::Config[:validation_client_name]` in the config file to the name of the validation client. Default \"chef-validator\". See __USAGE__.\n* `node[\"chef_client\"][\"init_style\"]` - Sets up the client service based on the style of init system to use. Default is based on platform and falls back to \"none\". See __USAGE__.\n* `node[\"chef_client\"][\"run_path\"]` - Directory location where chef-client should write the PID file. Default based on platform, falls back to \"/var/run\".\n* `node[\"chef_client\"][\"cache_path\"]` - Directory location for `Chef::Config[:file_cache_path]` where chef-client will cache various files. Default is based on platform, falls back to \"/var/chef/cache\".\n* `node[\"chef_client\"][\"backup_path\"]` - Directory location for `Chef::Config[:file_backup_path]` where chef-client will backup templates and cookbook files. Default is based on platform, falls back to \"/var/chef/backup\".\n* node[\"chef_client\"][\"cron\"][\"minute\"] - The hour that chef-client will run as a cron task, only applicable if the you set \"cron\" as the \"init_style\"\n* node[\"chef_client\"][\"cron\"][\"hour\"] - The hour that chef-client will run as a cron task, only applicable if the you set \"cron\" as the \"init_style\"\n\n\n\nRecipes\n=======\n\nThis section describes the recipes in the cookbook and how to use them in your environment.\n\nconfig\n------\n\nSets up the `/etc/chef/client.rb` config file from a template and reloads the configuration for the current chef-client run.\n\nservice\n-------\n\nUse this recipe on systems that should have a `chef-client` daemon running, such as when Knife bootstrap was used to install Chef on a new system.\n\nThis recipe sets up the `chef-client` service depending on the `init_style` attribute (see above). The following init styles are supported:\n\n* init - uses the init script included in the chef gem, supported on debian and redhat family distributions.\n* upstart - uses the upstart job included in the chef gem, supported on ubuntu.\n* arch - uses the init script included in this cookbook for ArchLinux, supported on arch.\n* runit - sets up the service under runit, supported on ubuntu, debian and gentoo.\n* bluepill - sets up the service under bluepill. As bluepill is a pure ruby process monitor, this should work on any platform.\n* daemontools -sets up the service under daemontools, supported on debian, ubuntu and arch\n* bsd - prints a message about how to update BSD systems to enable the chef-client service, supported on Free/OpenBSD and OSX.\n\ndefault\n-------\n\nIncludes the `chef-client::service` recipe by default.\n\ndelete_validation\n-----------------\n\nUse this recipe to delete the validation certificate (default `/etc/chef/validation.pem`) when using a `chef-client` after the client has been validated and authorized to connect to the server.\n\nBeware if using this on your Chef Server. First copy the validation.pem certificate file to another location, such as your knife configuration directory (`~/.chef`) or [Chef Repository](http://wiki.opscode.com/display/chef/Chef+Repository).\n\ncron\n----\n\nUse this recipe to run chef-client as a cron job rather than as a\nservice. The cron job runs after random delay that is between 0 and 90\nseconds to ensure that the chef-clients don't attempt to connect to\nthe chef-server at the exact same time. You should set\nnode[\"chef_client\"][\"init_style\"] = \"none\" when you use this mode but\nit is not required.\n\n\n\nUSAGE\n=====\n\nCreate a `base` role that will represent the base configuration for any system that includes managing aspects of the chef-client. Add recipes to the run list of the role, customize the attributes, and apply the role to nodes. For example, the following role (Ruby DSL) will set the init style to `init`, delete the validation certificate (as the client would already be authenticated) and set up the chef-client as a service using the init style.\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"init\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[chef-client::config]\",\n \"recipe[chef-client::service]\"\n )\n\nThe `chef-client::config` recipe is only required with init style `init` (default setting for the attribute on debian/redhat family platforms, because the init script doesn't include the `pid_file` option which is set in the config.\n\nThe default Chef Server will be `http://localhost:4000` which is the `Chef::Config[:chef_server_url]` default value. To use the config recipe with the Opscode Platform, for example, add the following to the `override_attributes`\n\n override_attributes(\n \"chef_client\" => {\n \"server_url\" => \"https://api.opscode.com/organizations/ORGNAME\",\n \"validation_client_name\" => \"ORGNAME-validator\"\n }\n )\n\nWhere ORGNAME is your Opscode Platform organization name. Be sure to add these attributes to the role if modifying per the section below.\n\nYou can also set all of the `Chef::Config` http proxy related settings. By default Chef will not use a proxy.\n\n override_attributes(\n \"chef_client\" => {\n \"http_proxy\" => \"http://proxy.vmware.com:3128\",\n \"https_proxy\" => \"http://proxy.vmware.com:3128\",\n \"http_proxy_user\" => \"my_username\",\n \"http_proxy_pass\" => \"Awe_some_Pass_Word!\",\n \"no_proxy\" => \"*.vmware.com,10.*\"\n }\n )\n\nAlternate Init Styles\n---------------------\n\nThe alternate init styles available are:\n\n* runit\n* bluepill\n* daemontools\n* none -- should be specified if you are running chef-client as cron job\n\nFor usage, see below.\n\n# Runit\n\nTo use runit, download the cookbook from the cookbook site.\n\n knife cookbook site vendor runit -d\n\nChange the `init_style` to runit in the base role and add the runit recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"runit\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[runit]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-client service configured with runit. The runit run script will be located in `/etc/sv/chef-client/run`. The output log will be in the runit service directory, `/etc/sv/chef-client/log/main/current`.\n\n# Bluepill\n\nTo use bluepill, download the cookbook from the cookbook site.\n\n knife cookbook site vendor bluepill -d\n\nChange the `init_style` to runit in the base role and add the bluepill recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"bluepill\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[bluepill]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-client service configured with bluepill. The bluepill \"pill\" will be located in `/etc/bluepill/chef-client.pill`. The output log will be to client.log file in the `node[\"chef_client\"][\"log_dir\"]` location, `/var/log/chef/client` by default.\n\n# Daemontools\n\nTo use daemontools, download the cookbook from the cookbook site.\n\n knife cookbook site vendor daemontools -d\n\nChange the `init_style` to runit in the base role and add the daemontools recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"daemontools\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[daemontools]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-cilent service configured under daemontools. It uses the same sv run scripts as the runit recipe. The run script will be located in `/etc/sv/chef-client/run`. The output log will be in the daemontools service directory, `/etc/sv/chef-client/log/main/current`.\n\nTemplates\n=========\n\nchef-client.pill.erb\n--------------------\n\nBluepill configuration for the chef-client service.\n\nclient.rb.erb\n-------------\n\nConfiguration for the client, lands in directory specified by `node[\"chef_client\"][\"conf_dir\"]` (`/etc/chef/client.rb` by default).\n\n`sv-chef-client-*run.erb`\n-------------------------\n\nRunit and Daemontools run script for chef-client service and logs.\n\nLogs will be located in the `node[\"chef_client\"][\"log_dir\"]`.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\nAuthor:: Seth Chisamore (<schisamo@opscode.com>)\nCopyright:: 2010-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\n",
|
5
|
-
"maintainer": "Opscode, Inc.",
|
6
|
-
"maintainer_email": "cookbooks@opscode.com",
|
7
|
-
"license": "Apache 2.0",
|
8
|
-
"platforms": {
|
9
|
-
"ubuntu": ">= 0.0.0",
|
10
|
-
"debian": ">= 0.0.0",
|
11
|
-
"redhat": ">= 0.0.0",
|
12
|
-
"centos": ">= 0.0.0",
|
13
|
-
"fedora": ">= 0.0.0",
|
14
|
-
"freebsd": ">= 0.0.0",
|
15
|
-
"openbsd": ">= 0.0.0",
|
16
|
-
"mac_os_x": ">= 0.0.0",
|
17
|
-
"mac_os_x_server": ">= 0.0.0",
|
18
|
-
"windows": ">= 0.0.0"
|
19
|
-
},
|
20
|
-
"dependencies": {
|
21
|
-
},
|
22
|
-
"recommendations": {
|
23
|
-
},
|
24
|
-
"suggestions": {
|
25
|
-
},
|
26
|
-
"conflicting": {
|
27
|
-
},
|
28
|
-
"providing": {
|
29
|
-
},
|
30
|
-
"replacing": {
|
31
|
-
},
|
32
|
-
"attributes": {
|
33
|
-
},
|
34
|
-
"groupings": {
|
35
|
-
},
|
36
|
-
"recipes": {
|
37
|
-
"chef-client": "Includes the service recipe by default.",
|
38
|
-
"chef-client::config": "Configures the client.rb from a template.",
|
39
|
-
"chef-client::service": "Sets up a client daemon to run periodically",
|
40
|
-
"chef-client::delete_validation": "Deletes validation.pem after client registers",
|
41
|
-
"chef-client::cron": "Runs chef-client as a cron job rather than as a service"
|
42
|
-
},
|
43
|
-
"version": "1.1.2"
|
44
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
maintainer "Opscode, Inc."
|
2
|
-
maintainer_email "cookbooks@opscode.com"
|
3
|
-
license "Apache 2.0"
|
4
|
-
description "Manages aspects of only chef-client"
|
5
|
-
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
6
|
-
version "1.1.2"
|
7
|
-
recipe "chef-client", "Includes the service recipe by default."
|
8
|
-
recipe "chef-client::config", "Configures the client.rb from a template."
|
9
|
-
recipe "chef-client::service", "Sets up a client daemon to run periodically"
|
10
|
-
recipe "chef-client::delete_validation", "Deletes validation.pem after client registers"
|
11
|
-
recipe "chef-client::cron", "Runs chef-client as a cron job rather than as a service"
|
12
|
-
|
13
|
-
%w{ ubuntu debian redhat centos fedora freebsd openbsd mac_os_x mac_os_x_server windows }.each do |os|
|
14
|
-
supports os
|
15
|
-
end
|
@@ -1,53 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Joshua Timberman (<joshua@opscode.com>)
|
3
|
-
# Author:: Joshua Sierles (<joshua@37signals.com>)
|
4
|
-
# Author:: Seth Chisamore (<schisamo@opscode.com>)
|
5
|
-
# Cookbook Name:: chef
|
6
|
-
# Recipe:: client
|
7
|
-
#
|
8
|
-
# Copyright 2008-2011, Opscode, Inc
|
9
|
-
# Copyright 2009, 37signals
|
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.
|
22
|
-
|
23
|
-
root_group = value_for_platform(
|
24
|
-
["openbsd", "freebsd", "mac_os_x", "mac_os_x_server"] => { "default" => "wheel" },
|
25
|
-
"default" => "root"
|
26
|
-
)
|
27
|
-
|
28
|
-
chef_node_name = Chef::Config[:node_name] == node["fqdn"] ? false : Chef::Config[:node_name]
|
29
|
-
|
30
|
-
%w{run_path cache_path backup_path log_dir}.each do |key|
|
31
|
-
directory node['chef_client'][key] do
|
32
|
-
recursive true
|
33
|
-
owner "root"
|
34
|
-
group root_group
|
35
|
-
mode 0755
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
template "#{node["chef_client"]["conf_dir"]}/client.rb" do
|
40
|
-
source "client.rb.erb"
|
41
|
-
owner "root"
|
42
|
-
group root_group
|
43
|
-
mode 0644
|
44
|
-
variables :chef_node_name => chef_node_name
|
45
|
-
notifies :create, "ruby_block[reload_client_config]"
|
46
|
-
end
|
47
|
-
|
48
|
-
ruby_block "reload_client_config" do
|
49
|
-
block do
|
50
|
-
Chef::Config.from_file("#{node["chef_client"]["conf_dir"]}/client.rb")
|
51
|
-
end
|
52
|
-
action :nothing
|
53
|
-
end
|
@@ -1,83 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Joshua Timberman (<joshua@opscode.com>)
|
3
|
-
# Author:: Seth Chisamore (<schisamo@opscode.com>)
|
4
|
-
# Author:: Bryan Berry (<bryan.berry@gmail.com>)
|
5
|
-
# Cookbook Name:: chef-client
|
6
|
-
# Recipe:: cron
|
7
|
-
#
|
8
|
-
# Copyright 2009-2011, Opscode, Inc.
|
9
|
-
#
|
10
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
# you may not use this file except in compliance with the License.
|
12
|
-
# You may obtain a copy of the License at
|
13
|
-
#
|
14
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
#
|
16
|
-
# Unless required by applicable law or agreed to in writing, software
|
17
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
# See the License for the specific language governing permissions and
|
20
|
-
# limitations under the License.
|
21
|
-
#
|
22
|
-
|
23
|
-
root_group = value_for_platform(
|
24
|
-
["openbsd", "freebsd", "mac_os_x"] => { "default" => "wheel" },
|
25
|
-
"default" => "root"
|
26
|
-
)
|
27
|
-
|
28
|
-
# COOK-635 account for alternate gem paths
|
29
|
-
# try to use the bin provided by the node attribute
|
30
|
-
if ::File.executable?(node["chef_client"]["bin"])
|
31
|
-
client_bin = node["chef_client"]["bin"]
|
32
|
-
# search for the bin in some sane paths
|
33
|
-
elsif (chef_in_sane_path=Chef::Client::SANE_PATHS.map{|p| p="#{p}/chef-client";p if ::File.executable?(p)}.compact.first) && chef_in_sane_path
|
34
|
-
client_bin = chef_in_sane_path
|
35
|
-
# last ditch search for a bin in PATH
|
36
|
-
elsif (chef_in_path=%x{which chef-client}.chomp) && ::File.executable?(chef_in_path)
|
37
|
-
client_bin = chef_in_path
|
38
|
-
else
|
39
|
-
raise "Could not locate the chef-client bin in any known path. Please set the proper path by overriding node['chef_client']['bin'] in a role."
|
40
|
-
end
|
41
|
-
|
42
|
-
%w{run_path cache_path backup_path log_dir}.each do |key|
|
43
|
-
directory node["chef_client"][key] do
|
44
|
-
recursive true
|
45
|
-
owner "root"
|
46
|
-
group root_group
|
47
|
-
mode 0755
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
|
-
dist_dir, conf_dir = value_for_platform(
|
52
|
-
["ubuntu", "debian"] => { "default" => ["debian", "default"] },
|
53
|
-
["redhat", "centos", "fedora", "scientific", "amazon"] => { "default" => ["redhat", "sysconfig"]}
|
54
|
-
)
|
55
|
-
|
56
|
-
# let's create the service file so the :disable action doesn't fail
|
57
|
-
template "/etc/init.d/chef-client" do
|
58
|
-
source "#{dist_dir}/init.d/chef-client.erb"
|
59
|
-
mode 0755
|
60
|
-
variables(
|
61
|
-
:client_bin => client_bin
|
62
|
-
)
|
63
|
-
end
|
64
|
-
|
65
|
-
template "/etc/#{conf_dir}/chef-client" do
|
66
|
-
source "#{dist_dir}/#{conf_dir}/chef-client.erb"
|
67
|
-
mode 0644
|
68
|
-
end
|
69
|
-
|
70
|
-
service "chef-client" do
|
71
|
-
supports :status => true, :restart => true
|
72
|
-
action [:disable, :stop]
|
73
|
-
end
|
74
|
-
|
75
|
-
cron "chef-client" do
|
76
|
-
minute node['chef_client']['cron']['minute']
|
77
|
-
hour node['chef_client']['cron']['hour']
|
78
|
-
user "root"
|
79
|
-
shell "/bin/bash"
|
80
|
-
command "/bin/sleep `/usr/bin/expr $RANDOM \\% 90` &> /dev/null ; #{client_bin} &> /dev/null "
|
81
|
-
end
|
82
|
-
|
83
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Cookbook Name:: chef-client
|
3
|
-
# Recipe:: default
|
4
|
-
#
|
5
|
-
# Copyright 2010, Opscode, Inc.
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
|
-
|
20
|
-
include_recipe "chef-client::service"
|
@@ -1,26 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Joshua Timberman <joshua@opscode.com>
|
3
|
-
# Cookbook Name:: chef
|
4
|
-
# Recipe:: delete_validation
|
5
|
-
#
|
6
|
-
# Copyright 2010, 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
|
-
unless node[:recipes].include?("chef-server")
|
21
|
-
file Chef::Config[:validation_key] do
|
22
|
-
action :delete
|
23
|
-
backup false
|
24
|
-
only_if { ::File.exists?(Chef::Config[:client_key]) }
|
25
|
-
end
|
26
|
-
end
|
@@ -1,242 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Joshua Timberman (<joshua@opscode.com>)
|
3
|
-
# Author:: Seth Chisamore (<schisamo@opscode.com>)
|
4
|
-
# Cookbook Name:: chef
|
5
|
-
# Recipe:: bootstrap_client
|
6
|
-
#
|
7
|
-
# Copyright 2009-2011, Opscode, Inc.
|
8
|
-
#
|
9
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
10
|
-
# you may not use this file except in compliance with the License.
|
11
|
-
# You may obtain a copy of the License at
|
12
|
-
#
|
13
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
14
|
-
#
|
15
|
-
# Unless required by applicable law or agreed to in writing, software
|
16
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
17
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
18
|
-
# See the License for the specific language governing permissions and
|
19
|
-
# limitations under the License.
|
20
|
-
#
|
21
|
-
|
22
|
-
root_group = value_for_platform(
|
23
|
-
["openbsd", "freebsd", "mac_os_x", "mac_os_x_server"] => { "default" => "wheel" },
|
24
|
-
"default" => "root"
|
25
|
-
)
|
26
|
-
|
27
|
-
# COOK-635 account for alternate gem paths
|
28
|
-
# try to use the bin provided by the node attribute
|
29
|
-
if ::File.executable?(node["chef_client"]["bin"])
|
30
|
-
client_bin = node["chef_client"]["bin"]
|
31
|
-
# search for the bin in some sane paths
|
32
|
-
elsif Chef::Client.const_defined?('SANE_PATHS') && (chef_in_sane_path=Chef::Client::SANE_PATHS.map{|p| p="#{p}/chef-client";p if ::File.executable?(p)}.compact.first) && chef_in_sane_path
|
33
|
-
client_bin = chef_in_sane_path
|
34
|
-
# last ditch search for a bin in PATH
|
35
|
-
elsif (chef_in_path=%x{which chef-client}.chomp) && ::File.executable?(chef_in_path)
|
36
|
-
client_bin = chef_in_path
|
37
|
-
else
|
38
|
-
raise "Could not locate the chef-client bin in any known path. Please set the proper path by overriding node['chef_client']['bin'] in a role."
|
39
|
-
end
|
40
|
-
|
41
|
-
%w{run_path cache_path backup_path log_dir}.each do |key|
|
42
|
-
directory node["chef_client"][key] do
|
43
|
-
recursive true
|
44
|
-
# Work-around for CHEF-2633
|
45
|
-
unless node["platform"] == "windows"
|
46
|
-
owner "root"
|
47
|
-
group root_group
|
48
|
-
end
|
49
|
-
mode 0755
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
case node["chef_client"]["init_style"]
|
54
|
-
when "init"
|
55
|
-
|
56
|
-
dist_dir, conf_dir = value_for_platform(
|
57
|
-
["ubuntu", "debian"] => { "default" => ["debian", "default"] },
|
58
|
-
["redhat", "centos", "fedora", "scientific", "amazon"] => { "default" => ["redhat", "sysconfig"]}
|
59
|
-
)
|
60
|
-
|
61
|
-
template "/etc/init.d/chef-client" do
|
62
|
-
source "#{dist_dir}/init.d/chef-client.erb"
|
63
|
-
mode 0755
|
64
|
-
variables(
|
65
|
-
:client_bin => client_bin
|
66
|
-
)
|
67
|
-
notifies :restart, "service[chef-client]", :delayed
|
68
|
-
end
|
69
|
-
|
70
|
-
template "/etc/#{conf_dir}/chef-client" do
|
71
|
-
source "#{dist_dir}/#{conf_dir}/chef-client.erb"
|
72
|
-
mode 0644
|
73
|
-
notifies :restart, "service[chef-client]", :delayed
|
74
|
-
end
|
75
|
-
|
76
|
-
service "chef-client" do
|
77
|
-
supports :status => true, :restart => true
|
78
|
-
action :enable
|
79
|
-
end
|
80
|
-
|
81
|
-
when "smf"
|
82
|
-
local_path = ::File.join(Chef::Config[:file_cache_path], "/")
|
83
|
-
template "/lib/svc/method/chef-client" do
|
84
|
-
source "solaris/chef-client.erb"
|
85
|
-
owner "root"
|
86
|
-
group "root"
|
87
|
-
mode "0777"
|
88
|
-
notifies :restart, "service[chef-client]"
|
89
|
-
end
|
90
|
-
|
91
|
-
template (local_path + "chef-client.xml") do
|
92
|
-
source "solaris/manifest.xml.erb"
|
93
|
-
owner "root"
|
94
|
-
group "root"
|
95
|
-
mode "0644"
|
96
|
-
notifies :run, "execute[load chef-client manifest]", :immediately
|
97
|
-
end
|
98
|
-
|
99
|
-
execute "load chef-client manifest" do
|
100
|
-
action :nothing
|
101
|
-
command "svccfg import #{local_path}chef-client.xml"
|
102
|
-
notifies :restart, "service[chef-client]"
|
103
|
-
end
|
104
|
-
|
105
|
-
service "chef-client" do
|
106
|
-
action [:enable, :start]
|
107
|
-
provider Chef::Provider::Service::Solaris
|
108
|
-
end
|
109
|
-
|
110
|
-
when "upstart"
|
111
|
-
|
112
|
-
case node["platform"]
|
113
|
-
when "ubuntu"
|
114
|
-
if (8.04..9.04).include?(node["platform_version"].to_f)
|
115
|
-
upstart_job_dir = "/etc/event.d"
|
116
|
-
upstart_job_suffix = ""
|
117
|
-
else
|
118
|
-
upstart_job_dir = "/etc/init"
|
119
|
-
upstart_job_suffix = ".conf"
|
120
|
-
end
|
121
|
-
end
|
122
|
-
|
123
|
-
template "#{upstart_job_dir}/chef-client#{upstart_job_suffix}" do
|
124
|
-
source "debian/init/chef-client.conf.erb"
|
125
|
-
mode 0644
|
126
|
-
variables(
|
127
|
-
:client_bin => client_bin
|
128
|
-
)
|
129
|
-
notifies :restart, "service[chef-client]", :delayed
|
130
|
-
end
|
131
|
-
|
132
|
-
service "chef-client" do
|
133
|
-
provider Chef::Provider::Service::Upstart
|
134
|
-
action [:enable,:start]
|
135
|
-
end
|
136
|
-
|
137
|
-
when "arch"
|
138
|
-
|
139
|
-
template "/etc/rc.d/chef-client" do
|
140
|
-
source "rc.d/chef-client.erb"
|
141
|
-
mode 0755
|
142
|
-
variables(
|
143
|
-
:client_bin => client_bin
|
144
|
-
)
|
145
|
-
notifies :restart, "service[chef-client]", :delayed
|
146
|
-
end
|
147
|
-
|
148
|
-
template "/etc/conf.d/chef-client.conf" do
|
149
|
-
source "conf.d/chef-client.conf.erb"
|
150
|
-
mode 0644
|
151
|
-
notifies :restart, "service[chef-client]", :delayed
|
152
|
-
end
|
153
|
-
|
154
|
-
service "chef-client" do
|
155
|
-
action [:enable, :start]
|
156
|
-
end
|
157
|
-
|
158
|
-
when "runit"
|
159
|
-
|
160
|
-
include_recipe "runit"
|
161
|
-
runit_service "chef-client"
|
162
|
-
|
163
|
-
when "bluepill"
|
164
|
-
|
165
|
-
directory node["chef_client"]["run_path"] do
|
166
|
-
recursive true
|
167
|
-
owner "root"
|
168
|
-
group root_group
|
169
|
-
mode 0755
|
170
|
-
end
|
171
|
-
|
172
|
-
include_recipe "bluepill"
|
173
|
-
|
174
|
-
template "#{node["bluepill"]["conf_dir"]}/chef-client.pill" do
|
175
|
-
source "chef-client.pill.erb"
|
176
|
-
mode 0644
|
177
|
-
notifies :restart, "bluepill_service[chef-client]", :delayed
|
178
|
-
end
|
179
|
-
|
180
|
-
bluepill_service "chef-client" do
|
181
|
-
action [:enable,:load,:start]
|
182
|
-
end
|
183
|
-
|
184
|
-
when "daemontools"
|
185
|
-
|
186
|
-
include_recipe "daemontools"
|
187
|
-
|
188
|
-
directory "/etc/sv/chef-client" do
|
189
|
-
recursive true
|
190
|
-
owner "root"
|
191
|
-
group root_group
|
192
|
-
mode 0755
|
193
|
-
end
|
194
|
-
|
195
|
-
daemontools_service "chef-client" do
|
196
|
-
directory "/etc/sv/chef-client"
|
197
|
-
template "chef-client"
|
198
|
-
action [:enable,:start]
|
199
|
-
log true
|
200
|
-
end
|
201
|
-
|
202
|
-
when "winsw"
|
203
|
-
|
204
|
-
directory node["chef_client"]["winsw_dir"] do
|
205
|
-
action :create
|
206
|
-
end
|
207
|
-
|
208
|
-
template "#{node["chef_client"]["winsw_dir"]}/chef-client.xml" do
|
209
|
-
source "chef-client.xml.erb"
|
210
|
-
notifies :run, "execute[restart chef-client using winsw wrapper]", :delayed
|
211
|
-
end
|
212
|
-
|
213
|
-
winsw_path = File.join(node["chef_client"]["winsw_dir"], node["chef_client"]["winsw_exe"])
|
214
|
-
remote_file winsw_path do
|
215
|
-
source node["chef_client"]["winsw_url"]
|
216
|
-
not_if { File.exists?(winsw_path) }
|
217
|
-
end
|
218
|
-
|
219
|
-
# Work-around for CHEF-2541
|
220
|
-
# Should be replaced by a service :restart action
|
221
|
-
# in Chef 0.10.6
|
222
|
-
execute "restart chef-client using winsw wrapper" do
|
223
|
-
command "#{winsw_path} restart"
|
224
|
-
not_if { WMI::Win32_Service.find(:first, :conditions => {:name => "chef-client"}).nil? }
|
225
|
-
action :nothing
|
226
|
-
end
|
227
|
-
|
228
|
-
execute "Install chef-client service using winsw" do
|
229
|
-
command "#{winsw_path} install"
|
230
|
-
only_if { WMI::Win32_Service.find(:first, :conditions => {:name => "chef-client"}).nil? }
|
231
|
-
end
|
232
|
-
|
233
|
-
service "chef-client" do
|
234
|
-
action :start
|
235
|
-
end
|
236
|
-
|
237
|
-
when "bsd"
|
238
|
-
log "You specified service style 'bsd'. You will need to set up your rc.local file."
|
239
|
-
log "Hint: chef-client -i #{node["chef_client"]["client_interval"]} -s #{node["chef_client"]["client_splay"]}"
|
240
|
-
else
|
241
|
-
log "Could not determine service init style, manual intervention required to start up the chef-client service."
|
242
|
-
end
|