diff --git a/metadata.rb b/metadata.rb index 6f1d253..9768892 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license "MIT" description "Installs PostgreSQL, The world's most advanced open source database." long_description IO.read(File.join(File.dirname(__FILE__), "README.md")) -version "0.16.1" +version "0.16.3" recipe "postgresql", "Set up the apt repository and install dependent packages" recipe "postgresql::apt_repository", "Internal recipe to setup the apt repository" diff --git a/providers/user.rb b/providers/user.rb index 9c2ed40..f27e558 100644 --- a/providers/user.rb +++ b/providers/user.rb @@ -41,7 +41,7 @@ def whyrun_supported? converge_by "Drop PostgreSQL User #{new_resource.name}" do execute "drop postgresql user #{new_resource.name}" do user "postgres" - command %(psql -c 'DROP ROLE IF EXISTS \\\"#{new_resource.name}\\\"') + command %(psql -c 'DROP ROLE IF EXISTS "#{new_resource.name}"') sensitive true end