From eac7f364438cc3e1aad382b2b895b84e0b3b16e3 Mon Sep 17 00:00:00 2001 From: Niran Babalola Date: Tue, 14 Aug 2012 21:18:32 -0500 Subject: [PATCH 01/13] Remove Vagrantfile --- README.md | 5 ++++- Vagrantfile | 25 ------------------------- 2 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 Vagrantfile diff --git a/README.md b/README.md index 756ca2e..c123cdc 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ instance, or with [Vagrant](http://vagrantup.com/) Make sure you customize `cookbooks/database/attributes/default.rb` to use your actual database user and database name. + \ No newline at end of file diff --git a/Vagrantfile b/Vagrantfile deleted file mode 100644 index 3087cc8..0000000 --- a/Vagrantfile +++ /dev/null @@ -1,25 +0,0 @@ -Vagrant::Config.run do |config| - config.vm.box = "base" - - config.vm.forward_port "http", 80, 8080 - config.vm.forward_port "runserver", 8000, 8000 - - # Share an additional folder to the guest VM. The first argument is - # an identifier, the second is the path on the guest to mount the - # folder, and the third is the path on the host to the actual folder. - # config.vm.share_folder "v-data", "/vagrant_data", "../data" - - - # Enable provisioning with chef solo, specifying a cookbooks path (relative - # to this Vagrantfile), and adding some recipes and/or roles. - config.vm.provision :chef_solo do |chef| - chef.provisioning_path = "/var/vagrant-chef" - chef.cookbooks_path = "cookbooks" - chef.log_level = 'debug' - chef.add_recipe "geos" - chef.add_recipe "proj4" - chef.add_recipe "postgis" - chef.add_recipe "database" - end - -end From c276d64c30df131eba81b51379c5208225901daf Mon Sep 17 00:00:00 2001 From: Niran Babalola Date: Tue, 14 Aug 2012 21:21:16 -0500 Subject: [PATCH 02/13] Remove external cookbooks --- README.md | 6 + cookbooks/build-essential/README.md | 24 - cookbooks/build-essential/metadata.rb | 10 - cookbooks/build-essential/recipes/default.rb | 45 -- cookbooks/database/attributes/default.rb | 2 - cookbooks/database/recipes/default.rb | 15 - cookbooks/postgresql/README.rdoc | 69 --- cookbooks/postgresql/attributes/default.rb | 78 --- .../definitions/postgresql_database.rb | 105 ---- .../postgresql/definitions/postgresql_user.rb | 33 -- cookbooks/postgresql/metadata.json | 51 -- cookbooks/postgresql/metadata.rb | 51 -- cookbooks/postgresql/recipes/client.rb | 28 - cookbooks/postgresql/recipes/default.rb | 20 - cookbooks/postgresql/recipes/postgis.rb | 23 - cookbooks/postgresql/recipes/server.rb | 29 - cookbooks/postgresql/recipes/server_debian.rb | 47 -- cookbooks/postgresql/recipes/server_redhat.rb | 85 --- .../templates/default/debian.pg_hba.conf.erb | 84 --- .../default/debian.postgresql.conf.erb | 495 ----------------- .../templates/default/redhat.pg_hba.conf.erb | 74 --- .../default/redhat.postgresql.conf.erb | 501 ------------------ 22 files changed, 6 insertions(+), 1869 deletions(-) delete mode 100644 cookbooks/build-essential/README.md delete mode 100644 cookbooks/build-essential/metadata.rb delete mode 100644 cookbooks/build-essential/recipes/default.rb delete mode 100644 cookbooks/database/attributes/default.rb delete mode 100644 cookbooks/database/recipes/default.rb delete mode 100644 cookbooks/postgresql/README.rdoc delete mode 100644 cookbooks/postgresql/attributes/default.rb delete mode 100644 cookbooks/postgresql/definitions/postgresql_database.rb delete mode 100644 cookbooks/postgresql/definitions/postgresql_user.rb delete mode 100644 cookbooks/postgresql/metadata.json delete mode 100644 cookbooks/postgresql/metadata.rb delete mode 100644 cookbooks/postgresql/recipes/client.rb delete mode 100644 cookbooks/postgresql/recipes/default.rb delete mode 100644 cookbooks/postgresql/recipes/postgis.rb delete mode 100644 cookbooks/postgresql/recipes/server.rb delete mode 100644 cookbooks/postgresql/recipes/server_debian.rb delete mode 100644 cookbooks/postgresql/recipes/server_redhat.rb delete mode 100644 cookbooks/postgresql/templates/default/debian.pg_hba.conf.erb delete mode 100644 cookbooks/postgresql/templates/default/debian.postgresql.conf.erb delete mode 100644 cookbooks/postgresql/templates/default/redhat.pg_hba.conf.erb delete mode 100644 cookbooks/postgresql/templates/default/redhat.postgresql.conf.erb diff --git a/README.md b/README.md index c123cdc..621ba9b 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,12 @@ instance, or with [Vagrant](http://vagrantup.com/) Make sure you customize `cookbooks/database/attributes/default.rb` to use your actual database user and database name. +This cookbook depends on the following cookbooks: + + * build-essential + * database + * postgresql +