]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mysql/resources/user.rb
Merge remote-tracking branch 'tigerfell/pr257'
[chef.git] / cookbooks / mysql / resources / user.rb
index 1cbb0765a86b13605a0609747062cc574bf81ed9..944cfcc6f3ef5c2a570b7708ad9e2f6267008c79 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: mysql
+# Cookbook:: mysql
 # Resource:: mysql_user
 #
-# Copyright 2012, OpenStreetMap Foundation
+# Copyright:: 2012, 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 :user, :kind_of => String, :name_attribute => true
+property :user, :kind_of => String, :name_property => true
 property :password, :kind_of => String
 
 OpenStreetMap::MySQL::USER_PRIVILEGES.each do |privilege|