Permalink
Browse files

submoduled and symlinked the cookbooks and roles

  • Loading branch information...
1 parent e6cee28 commit d8ee6f6f34b52bc9aedf4116989066eb113251b1 Philip (flip) Kromer committed Feb 15, 2012
Showing with 146 additions and 54 deletions.
  1. +6 −0 .gitmodules
  2. +9 −0 TODO.md
  3. 0 certificates/.gitkeep
  4. 0 config/.gitkeep
  5. +0 −54 cookbooks/README.md
  6. +1 −0 cookbooks/README.md
  7. +1 −0 cookbooks/ant
  8. +1 −0 cookbooks/apache2
  9. +1 −0 cookbooks/apt
  10. +1 −0 cookbooks/aws
  11. +1 −0 cookbooks/bluepill
  12. +1 −0 cookbooks/boost
  13. +1 −0 cookbooks/build-essential
  14. +1 −0 cookbooks/cassandra
  15. +1 −0 cookbooks/chef-client
  16. +1 −0 cookbooks/chef-server
  17. +1 −0 cookbooks/cloud_utils
  18. +1 −0 cookbooks/couchdb
  19. +1 −0 cookbooks/cron
  20. +1 −0 cookbooks/daemontools
  21. +1 −0 cookbooks/dashpot
  22. +1 −0 cookbooks/database
  23. +1 −0 cookbooks/dmg
  24. +1 −0 cookbooks/elasticsearch
  25. +1 −0 cookbooks/emacs
  26. +1 −0 cookbooks/erlang
  27. +1 −0 cookbooks/firewall
  28. +1 −0 cookbooks/flume
  29. +1 −0 cookbooks/ganglia
  30. +1 −0 cookbooks/gecode
  31. +1 −0 cookbooks/git
  32. +1 −0 cookbooks/graphite
  33. +1 −0 cookbooks/hadoop_cluster
  34. +1 −0 cookbooks/hbase
  35. +1 −0 cookbooks/hive
  36. +1 −0 cookbooks/install_from
  37. +1 −0 cookbooks/iptables
  38. +1 −0 cookbooks/ironfan-ci
  39. +1 −0 cookbooks/java
  40. +1 −0 cookbooks/jenkins
  41. +1 −0 cookbooks/jpackage
  42. +1 −0 cookbooks/jruby
  43. +1 −0 cookbooks/metachef
  44. +1 −0 cookbooks/mongodb
  45. +1 −0 cookbooks/motd
  46. +1 −0 cookbooks/mysql
  47. +1 −0 cookbooks/nfs
  48. +1 −0 cookbooks/nginx
  49. +1 −0 cookbooks/nodejs
  50. +1 −0 cookbooks/ntp
  51. +1 −0 cookbooks/openssh
  52. +1 −0 cookbooks/openssl
  53. +1 −0 cookbooks/package_set
  54. +1 −0 cookbooks/papertrail
  55. +1 −0 cookbooks/pig
  56. +1 −0 cookbooks/postgresql
  57. +1 −0 cookbooks/python
  58. +1 −0 cookbooks/rabbitmq
  59. +1 −0 cookbooks/redis
  60. +1 −0 cookbooks/resque
  61. +1 −0 cookbooks/route53
  62. +1 −0 cookbooks/rstats
  63. +1 −0 cookbooks/rsyslog
  64. +1 −0 cookbooks/runit
  65. +1 −0 cookbooks/rvm
  66. +1 −0 cookbooks/snappy
  67. +1 −0 cookbooks/statsd
  68. +1 −0 cookbooks/thrift
  69. +1 −0 cookbooks/tuning
  70. +1 −0 cookbooks/ubuntu
  71. +1 −0 cookbooks/ucspi-tcp
  72. +1 −0 cookbooks/ufw
  73. +1 −0 cookbooks/volumes
  74. +1 −0 cookbooks/volumes_ebs
  75. +1 −0 cookbooks/xfs
  76. +1 −0 cookbooks/xml
  77. +1 −0 cookbooks/yum
  78. +1 −0 cookbooks/zabbix
  79. +1 −0 cookbooks/zlib
  80. +1 −0 cookbooks/zookeeper
  81. +1 −0 cookbooks/zsh
  82. 0 data_bags/.gitkeep
  83. 0 environments/.gitkeep
  84. 0 roles/.gitkeep
  85. +1 −0 roles/README.md
  86. +1 −0 roles/cassandra_client.rb
  87. +1 −0 roles/cassandra_server.rb
  88. +1 −0 roles/chef_client.rb
  89. +1 −0 roles/chef_server.rb
  90. +1 −0 roles/dashboard.rb
  91. +1 −0 roles/elasticsearch_client.rb
  92. +1 −0 roles/elasticsearch_data_esnode.rb
  93. +1 −0 roles/elasticsearch_http_esnode.rb
  94. +1 −0 roles/flume_agent.rb
  95. +1 −0 roles/flume_master.rb
  96. +1 −0 roles/ganglia_agent.rb
  97. +1 −0 roles/ganglia_master.rb
  98. +1 −0 roles/graphite_server.rb
  99. +1 −0 roles/hadoop.rb
  100. +1 −0 roles/hadoop_datanode.rb
  101. +1 −0 roles/hadoop_jobtracker.rb
  102. +1 −0 roles/hadoop_namenode.rb
  103. +1 −0 roles/hadoop_s3_keys.rb
  104. +1 −0 roles/hadoop_secondarynn.rb
  105. +1 −0 roles/hadoop_tasktracker.rb
  106. +1 −0 roles/hbase_backup_tables.rb
  107. +1 −0 roles/hbase_client.rb
  108. +1 −0 roles/hbase_master.rb
  109. +1 −0 roles/hbase_regionserver.rb
  110. +1 −0 roles/hbase_stargate.rb
  111. +1 −0 roles/hbase_thrift.rb
  112. +1 −0 roles/jenkins_master.rb
  113. +1 −0 roles/jruby.rb
  114. +1 −0 roles/mongodb_server.rb
  115. +1 −0 roles/mysql_client.rb
  116. +1 −0 roles/mysql_server.rb
  117. +1 −0 roles/nfs_client.rb
  118. +1 −0 roles/nfs_server.rb
  119. +1 −0 roles/org_base.rb
  120. +1 −0 roles/org_final.rb
  121. +1 −0 roles/org_users.rb
  122. +1 −0 roles/package_set.rb
  123. +1 −0 roles/pig.rb
  124. +1 −0 roles/redis_client.rb
  125. +1 −0 roles/redis_server.rb
  126. +1 −0 roles/resque_server.rb
  127. +1 −0 roles/set_domain_name.rb
  128. +1 −0 roles/ssh.rb
  129. +1 −0 roles/statsd_server.rb
  130. +1 −0 roles/systemwide.rb
  131. +1 −0 roles/tuning.rb
  132. +1 −0 roles/volumes.rb
  133. +1 −0 roles/web_server.rb
  134. +1 −0 roles/zabbix_agent.rb
  135. +1 −0 roles/zabbix_server.rb
  136. +1 −0 roles/zookeeper_client.rb
  137. +1 −0 roles/zookeeper_server.rb
  138. 0 tasks/.gitkeep
  139. +1 −0 vendor/ironfan-pantry
  140. +1 −0 vendor/opscode/cookbooks
View
@@ -0,0 +1,6 @@
+[submodule "vendor/ironfan-pantry"]
+ path = vendor/ironfan-pantry
+ url = https://github.com/infochimps-labs/ironfan-pantry
+[submodule "vendor/opscode/cookbooks"]
+ path = vendor/opscode/cookbooks
+ url = https://github.com/infochimps-labs/opscode_cookbooks
View
@@ -149,3 +149,12 @@ Yikes! It's long. Luckily we are badasses. Comments and assitance welcome.
* https://github.com/imeyer/chef-handler-graphite/wiki
* https://github.com/jtimberman/chef-handler-updated-resources/blob/master/lib/chef/handler/updated_resources.rb
* http://wiki.opscode.com/display/chef/Distributing+Chef+Handlers
+
+
+## CentOS
+
+runit is awesome but not available on CentOS 6
+
+better off using start/stop daemon than the lsb
+
+* abstract away the start/stop
View
No changes.
View
No changes.
View
@@ -1,54 +0,0 @@
-This directory contains the cookbooks used to configure systems in your infrastructure with Chef.
-
-Knife needs to be configured to know where the cookbooks are located with the `cookbook_path` setting. If this is not set, then several cookbook operations will fail to work properly.
-
- cookbook_path ["./cookbooks"]
-
-This setting tells knife to look for the cookbooks directory in the present working directory. This means the knife cookbook subcommands need to be run in the `chef-repo` directory itself. To make sure that the cookbooks can be found elsewhere inside the repository, use an absolute path. This is a Ruby file, so something like the following can be used:
-
- current_dir = File.dirname(__FILE__)
- cookbook_path ["#{current_dir}/../cookbooks"]
-
-Which will set `current_dir` to the location of the knife.rb file itself (e.g. `~/chef-repo/.chef/knife.rb`).
-
-Configure knife to use your preferred copyright holder, email contact and license. Add the following lines to `.chef/knife.rb`.
-
- cookbook_copyright "Example, Com."
- cookbook_email "cookbooks@example.com"
- cookbook_license "apachev2"
-
-Supported values for `cookbook_license` are "apachev2", "mit","gplv2","gplv3", or "none". These settings are used to prefill comments in the default recipe, and the corresponding values in the metadata.rb. You are free to change the the comments in those files.
-
-Create new cookbooks in this directory with Knife.
-
- knife cookbook create COOKBOOK
-
-This will create all the cookbook directory components. You don't need to use them all, and can delete the ones you don't need. It also creates a README file, metadata.rb and default recipe.
-
-You can also download cookbooks directly from the Opscode Cookbook Site. There are two subcommands to help with this depending on what your preference is.
-
-The first and recommended method is to use a vendor branch if you're using Git. This is automatically handled with Knife.
-
- knife cookbook site install COOKBOOK
-
-This will:
-
-* Download the cookbook tarball from cookbooks.opscode.com.
-* Ensure its on the git master branch.
-* Checks for an existing vendor branch, and creates if it doesn't.
-* Checks out the vendor branch (chef-vendor-COOKBOOK).
-* Removes the existing (old) version.
-* Untars the cookbook tarball it downloaded in the first step.
-* Adds the cookbook files to the git index and commits.
-* Creates a tag for the version downloaded.
-* Checks out the master branch again.
-* Merges the cookbook into master.
-* Repeats the above for all the cookbooks dependencies, downloading them from the community site
-
-The last step will ensure that any local changes or modifications you have made to the cookbook are preserved, so you can keep your changes through upstream updates.
-
-If you're not using Git, use the site download subcommand to download the tarball.
-
- knife cookbook site download COOKBOOK
-
-This creates the COOKBOOK.tar.gz from in the current directory (e.g., `~/chef-repo`). We recommend following a workflow similar to the above for your version control tool.
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
No changes.
View
No changes.
View
No changes.
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
View
Oops, something went wrong.

0 comments on commit d8ee6f6

Please sign in to comment.