X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..614474a50b36944856024c28d28530c3f61755ef:/cookbooks/mysql/resources/database.rb?ds=sidebyside diff --git a/cookbooks/mysql/resources/database.rb b/cookbooks/mysql/resources/database.rb index bda8ebe05..69e4e795f 100644 --- a/cookbooks/mysql/resources/database.rb +++ b/cookbooks/mysql/resources/database.rb @@ -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. @@ -17,9 +17,11 @@ # 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