X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..5b4f815f6cd8433be1d66b8376b71452f974b225:/cookbooks/postgresql/resources/user.rb diff --git a/cookbooks/postgresql/resources/user.rb b/cookbooks/postgresql/resources/user.rb index f5fefa35a..5cbb94d58 100644 --- a/cookbooks/postgresql/resources/user.rb +++ b/cookbooks/postgresql/resources/user.rb @@ -17,6 +17,8 @@ # limitations under the License. # +default_action :create + actions :create, :drop attribute :user, :kind_of => String, :name_attribute => true @@ -26,8 +28,3 @@ attribute :superuser, :default => false attribute :createdb, :default => false attribute :createrole, :default => false attribute :replication, :default => false - -def initialize(*args) - super - @action = :create -end