Permalink
Browse files

Initial Commit

  • Loading branch information...
jfryman committed Nov 13, 2012
0 parents commit f58aa1a3384b4ba4698b9ce7e409d71fb399a02c
Showing with 2,089 additions and 0 deletions.
  1. +9 −0 .gitignore
  2. +7 −0 Gemfile
  3. +108 −0 Gemfile.lock
  4. +58 −0 README.md
  5. +6 −0 Rakefile
  6. +8 −0 TODO.md
  7. +209 −0 VAGRANT.md
  8. +1 −0 Vagrantfile
  9. +2 −0 bootstrap/puppetmaster/README.md
  10. +20 −0 bootstrap/puppetmaster/manifests/site.pp
  11. +54 −0 bootstrap/puppetmaster/modules/puppet/files/auth.conf
  12. +63 −0 bootstrap/puppetmaster/modules/puppet/files/puppetmaster.default
  13. +7 −0 bootstrap/puppetmaster/modules/puppet/manifests/init.pp
  14. +23 −0 bootstrap/puppetmaster/modules/puppet/manifests/params.pp
  15. +19 −0 bootstrap/puppetmaster/modules/puppet/manifests/server.pp
  16. +91 −0 bootstrap/puppetmaster/modules/puppet/manifests/server/config.pp
  17. +17 −0 bootstrap/puppetmaster/modules/puppet/manifests/server/package.pp
  18. +8 −0 bootstrap/puppetmaster/modules/puppet/manifests/server/service.pp
  19. +8 −0 bootstrap/puppetmaster/modules/puppet/templates/agent.conf.erb
  20. +17 −0 bootstrap/puppetmaster/modules/puppet/templates/fileserver.conf.erb
  21. +8 −0 bootstrap/puppetmaster/modules/puppet/templates/main.conf.erb
  22. +9 −0 bootstrap/puppetmaster/modules/puppet/templates/master.conf.erb
  23. +73 −0 bootstrap/puppetmaster/modules/puppet/templates/puppetmaster.init.erb
  24. +7 −0 bootstrap/puppetmaster/modules/puppet/templates/vagrant_ssl_certs.erb
  25. +25 −0 bootstrap/puppetmaster/modules/vagrant/manifests/hitch/load_dns.rb
  26. +3 −0 bootstrap/puppetmaster/modules/vagrant/manifests/hitch/realize_dns.pp
  27. +23 −0 config/autogen_defaults.yml
  28. +6 −0 config/provisioner_chef.yml
  29. +7 −0 config/provisioner_puppet.yml
  30. +12 −0 config/provisioner_puppet_server.yml
  31. +12 −0 definitions/DEFINITIONS.md
  32. +28 −0 definitions/debian-5.0.10-amd64/base.sh
  33. +3 −0 definitions/debian-5.0.10-amd64/chef.sh
  34. +4 −0 definitions/debian-5.0.10-amd64/cleanup-virtualbox.sh
  35. +10 −0 definitions/debian-5.0.10-amd64/cleanup.sh
  36. +48 −0 definitions/debian-5.0.10-amd64/definition.rb
  37. +313 −0 definitions/debian-5.0.10-amd64/preseed.cfg
  38. +6 −0 definitions/debian-5.0.10-amd64/puppet.sh
  39. +11 −0 definitions/debian-5.0.10-amd64/ruby.sh
  40. +20 −0 definitions/debian-5.0.10-amd64/vagrant.sh
  41. +13 −0 definitions/debian-5.0.10-amd64/virtualbox.sh
  42. +28 −0 definitions/debian-6.0.6-amd64/base.sh
  43. +3 −0 definitions/debian-6.0.6-amd64/chef.sh
  44. +4 −0 definitions/debian-6.0.6-amd64/cleanup-virtualbox.sh
  45. +17 −0 definitions/debian-6.0.6-amd64/cleanup.sh
  46. +48 −0 definitions/debian-6.0.6-amd64/definition.rb
  47. +316 −0 definitions/debian-6.0.6-amd64/preseed.cfg
  48. +6 −0 definitions/debian-6.0.6-amd64/puppet.sh
  49. +11 −0 definitions/debian-6.0.6-amd64/ruby.sh
  50. +20 −0 definitions/debian-6.0.6-amd64/vagrant.sh
  51. +11 −0 definitions/debian-6.0.6-amd64/virtualbox.sh
  52. +13 −0 rake/puppet.rb
  53. +236 −0 rake/vagrant.rb
@@ -0,0 +1,9 @@
+.DS_Store
+*.swp
+vendor/gems
+.bundle/
+.tmp/
+*.iso
+.vagrant
+graph
+config/nodes.yml
@@ -0,0 +1,7 @@
+source :rubygems
+
+gem 'rake', '0.8.7'
+gem 'vagrant', '1.0.5'
+gem 'vagrant-hitch', '~> 0.0.9'
+gem 'veewee', '0.3.1'
+gem 'virtualbox', '0.9.2'
@@ -0,0 +1,108 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ CFPropertyList (2.0.17)
+ libxml-ruby (>= 1.1.0)
+ rake (>= 0.7.0)
+ Platform (0.4.0)
+ ansi (1.3.0)
+ archive-tar-minitar (0.5.2)
+ builder (3.1.4)
+ childprocess (0.3.6)
+ ffi (~> 1.0, >= 1.0.6)
+ cucumber (1.2.1)
+ builder (>= 2.1.2)
+ diff-lcs (>= 1.1.3)
+ gherkin (~> 2.11.0)
+ json (>= 1.4.6)
+ diff-lcs (1.1.3)
+ erubis (2.7.0)
+ excon (0.16.8)
+ ffi (1.0.11)
+ fission (0.4.0)
+ CFPropertyList (~> 2.0.17)
+ fog (1.7.0)
+ builder
+ excon (~> 0.14)
+ formatador (~> 0.2.0)
+ mime-types
+ multi_json (~> 1.0)
+ net-scp (~> 1.0.4)
+ net-ssh (>= 2.1.3)
+ nokogiri (~> 1.5.0)
+ ruby-hmac
+ formatador (0.2.4)
+ gherkin (2.11.5)
+ json (>= 1.4.6)
+ grit (2.5.0)
+ diff-lcs (~> 1.1)
+ mime-types (~> 1.15)
+ posix-spawn (~> 0.3.6)
+ highline (1.6.15)
+ i18n (0.6.1)
+ json (1.5.4)
+ libxml-ruby (2.3.3)
+ log4r (1.1.10)
+ mime-types (1.19)
+ multi_json (1.3.7)
+ net-scp (1.0.4)
+ net-ssh (>= 1.99.1)
+ net-ssh (2.2.2)
+ nokogiri (1.5.5)
+ open4 (1.3.0)
+ popen4 (0.1.2)
+ Platform (>= 0.4.0)
+ open4 (>= 0.4.0)
+ posix-spawn (0.3.6)
+ progressbar (0.11.0)
+ rake (0.8.7)
+ rspec (2.12.0)
+ rspec-core (~> 2.12.0)
+ rspec-expectations (~> 2.12.0)
+ rspec-mocks (~> 2.12.0)
+ rspec-core (2.12.0)
+ rspec-expectations (2.12.0)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.12.0)
+ ruby-hmac (0.4.0)
+ ruby-vnc (1.0.1)
+ thor (0.16.0)
+ vagrant (1.0.5)
+ archive-tar-minitar (= 0.5.2)
+ childprocess (~> 0.3.1)
+ erubis (~> 2.7.0)
+ i18n (~> 0.6.0)
+ json (~> 1.5.1)
+ log4r (~> 1.1.9)
+ net-scp (~> 1.0.4)
+ net-ssh (~> 2.2.2)
+ vagrant-hitch (0.0.9)
+ vagrant
+ veewee (0.3.1)
+ ansi (~> 1.3.0)
+ childprocess
+ cucumber (>= 1.0.0)
+ fission (= 0.4.0)
+ fog (~> 1.4)
+ grit
+ highline
+ i18n
+ net-ssh (~> 2.2.0)
+ popen4 (~> 0.1.2)
+ progressbar
+ rspec (~> 2.5)
+ ruby-vnc (~> 1.0.0)
+ thor (> 0.14)
+ vagrant (>= 0.9)
+ virtualbox (0.9.2)
+ ffi (~> 1.0.9)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ rake (= 0.8.7)
+ vagrant (= 1.0.5)
+ vagrant-hitch (~> 0.0.9)
+ veewee (= 0.3.1)
+ virtualbox (= 0.9.2)
@@ -0,0 +1,58 @@
+Vagabond
+--------
+The ultimate companion to Vagrant.
+
+## What is it?
+Vagabond is simply a series of automation tasks to automate the
+boostrap/setup/usage/sharing of a complete Infrastructure Development
+Environment with Configuration Management[1].
+
+## Goals
+The goal of this project is simple: provide a common mechanism for
+Developers and Administrators to develop applications and
+Infrastructure. This includes workflow to integrate one of those awesome
+CM tools we talked about earlier (or is down in the references, if you
+like to save those for last).
+
+## Getting Started
+You need to hook up to your existing CM database. Edit the provisioner
+of your choice located in the `config` directory to the path where your
+manifests/cookbooks/bundles are, and then go and start developing! You
+may alternatively clone this repository and setup your own configuration
+for your environment.
+
+### Puppet
+This provisioner allows support for running Puppet on a node without a
+Puppet Master.
+
+```
+manifest_file: the file used to define nodes for your puppet env.
+manifests_path: location to where your puppet manifest is stored.
+modules: array of values where your puppet modules live.
+options: array of any options to be passed to puppet
+```
+
+### Puppet Server
+This provisioner allows support for running Puppet on a node connected
+to a Puppet Master. Should be configured for testing out a Puppet Master
+
+```
+server: the Puppet Master server agent should connect to
+options: array of options to be passed to puppet agent
+```
+
+### Chef-Solo
+This provisioner allows support for running Chef-solo on a node.
+
+```
+log_level: logging level passed to chef-solo
+environment: string to define the chef environment
+roles: array of roles applied by chef-solo
+```
+
+Read up on the VAGRANT.md file. It'll tell you what you need to know
+about using this set of helper scripts.
+
+References
+----------
+[1] You know, like Puppet, or Chef, or CFengine
@@ -0,0 +1,6 @@
+require 'rake'
+require 'fileutils'
+
+Dir.chdir File.dirname(__FILE__)
+
+Dir['rake/*.rb'].each {|f| load f }
@@ -0,0 +1,8 @@
+TODO List
+---------
+
+* Add support for Chef Server
+* Add the ability to change Puppet Stack Version (hardcoded at 2.7.18)
+* Add Puppet Dashboard
+* Add PuppetDB
+* Refactor PuppetMaster build to use Packages
Oops, something went wrong.

0 comments on commit f58aa1a

Please sign in to comment.