X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..7e0c2e2982f696e3d1e57c6ec4889fe1e6038446:/cookbooks/mysql/resources/user.rb?ds=sidebyside diff --git a/cookbooks/mysql/resources/user.rb b/cookbooks/mysql/resources/user.rb index 1cbb0765a..944cfcc6f 100644 --- a/cookbooks/mysql/resources/user.rb +++ b/cookbooks/mysql/resources/user.rb @@ -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. @@ -17,9 +17,11 @@ # 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|