]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/postgresql/metadata.rb
Limit required attributes to the actions that need them
[chef.git] / cookbooks / postgresql / metadata.rb
index feea0132c2cefa550b236cabc2ddc4b14447c6eb..4233b15893b1455069bbc53e712119f2be49ffd3 100644 (file)
@@ -1,19 +1,11 @@
 name              "postgresql"
 maintainer        "OpenStreetMap Administrators"
 maintainer_email  "admins@openstreetmap.org"
-license           "Apache 2.0"
+license           "Apache-2.0"
 description       "Installs and configures postgresql"
-long_description  IO.read(File.join(File.dirname(__FILE__), 'README.md'))
-version           "1.0.0"
-depends           "chef"
-
-attribute "postgresql",
-  :display_name => "PostgreSQL",
-  :description => "Hash of PostgreSQL configuration details",
-  :type => "hash"
 
-attribute "postgresql/versions",
-  :display_name => "Versions",
-  :description => "List of versions to install",
-  :type => "array",
-  :default => []
+version           "1.0.0"
+supports          "ubuntu"
+depends           "apt"
+depends           "munin"
+depends           "ohai"