]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dev/metadata.rb
Add a load more cookbooks to the public repository
[chef.git] / cookbooks / dev / metadata.rb
diff --git a/cookbooks/dev/metadata.rb b/cookbooks/dev/metadata.rb
new file mode 100644 (file)
index 0000000..2f273b7
--- /dev/null
@@ -0,0 +1,37 @@
+maintainer        "OpenStreetMap Administrators"
+maintainer_email  "admins@openstreetmap.org"
+license           "Apache 2.0"
+description       "Installs and configures dev services"
+long_description  IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
+version           "1.0.0"
+depends           "apache"
+depends           "git"
+depends           "mysql"
+depends           "postgresql"
+depends           "tools"
+depends           "web"
+
+attribute "rails",
+  :display_name => "Rails Configuration",
+  :description => "Hash of rails port configuration information",
+  :type => "hash"
+
+attribute "rails/sites",
+  :display_name => "Rails Installations",
+  :description => "Hash of rails port installations to configure",
+  :type => "hash"
+
+attribute "rails/sites/repository",
+  :display_name => "Repository",
+  :description => "Git repository to use",
+  :default => "git://git.openstreetmap.org/rails.git"
+
+attribute "rails/sites/revision",
+  :display_name => "Revision",
+  :description => "Revision to use",
+  :default => "live"
+
+attribute "rails/sites/database",
+  :display_name => "Database",
+  :description => "Database to use",
+  :default => nil