]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mysql/resources/database.rb
Enable unified mode for custom resources
[chef.git] / cookbooks / mysql / resources / database.rb
index bda8ebe050bfa2f0484202da79a4a178697cc641..69e4e795fe9d038cd97f78a8682b8aee943ca12f 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: mysql
+# Cookbook:: mysql
 # Resource:: mysql_database
 #
-# Copyright 2013, OpenStreetMap Foundation
+# Copyright:: 2013, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # limitations under the License.
 #
 
+unified_mode true
+
 default_action :create
 
-property :database, :kind_of => String, :name_attribute => true
+property :database, :kind_of => String, :name_property => true
 property :permissions, :kind_of => Hash, :default => {}
 
 action :create do